(I think this has been mentioned before.)
Do these hurt?:
May 2 13:41:30 sysname dovecot: POP3(xxxx): madvise() failed with file /users/xx/xxxx/Maildir/dovecot.index.log: Operation not supported
I think not, since I've been seeing them forever. But they do muddy the logs. This is on an old BSD/OS server, where the man page for madvise ends with:
BUGS This call is not yet supported.
The messages are *only* about index.log files.
Would it be possible to either suppress the log message if the error is specifically "not supported" or, better yet, detect it at configure time?
Completely understandable if it's not worth the effort, though.
mm
On Tue, 2006-05-02 at 13:47 -0400, Mark E. Mallett wrote:
(I think this has been mentioned before.)
Do these hurt?:
May 2 13:41:30 sysname dovecot: POP3(xxxx): madvise() failed with file /users/xx/xxxx/Maildir/dovecot.index.log: Operation not supported
Nope.
Would it be possible to either suppress the log message if the error is specifically "not supported" or, better yet, detect it at configure time?
Completely understandable if it's not worth the effort, though.
Maybe just remember to remove #define HAVE_MADVISE from config.h after configure? :)
On Tue, May 02, 2006 at 10:36:23PM +0300, Timo Sirainen wrote:
On Tue, 2006-05-02 at 13:47 -0400, Mark E. Mallett wrote:
Would it be possible to either suppress the log message if the error is specifically "not supported" or, better yet, detect it at configure time?
Completely understandable if it's not worth the effort, though.
Maybe just remember to remove #define HAVE_MADVISE from config.h after configure? :)
Ah. I did glance at the source code before sending the message, and didn't notice any madvise-related conditional near the code that was generating the error. I see now that you have a my_madvise function elsewhere that gets included if needed.
Sure, I suppose I could engage my brain for that chore (with a reminder in the configure wrapper script that I keep around). Things are usually better when I don't have to think, though :)
mm
participants (2)
-
Mark E. Mallett
-
Timo Sirainen