[Dovecot] More msync issues...

Andrew Hutchings mail at a-wing.co.uk
Wed Dec 8 16:05:30 EET 2004


Hi Doug,

I think this might be because there is a space between /home
and /doug/Maildir/dovecot.index
It would then see the /doug/Maildir/dovecot.index as a second argument.

Regards
Andrew

On Wed, 2004-12-08 at 05:12 -0500, Doug Luce wrote:
> >From /var/log/maillog:
> 
> Dec 8 01:51:46 aurora dovecot: IMAP(doug): msync() failed with index file /home /doug/Maildir/dovecot.index: Invalid argument
> 
> >From the ktrace that was running on that process:
> 
>   22124 imap     NAMI  "/home/doug/Maildir/dovecot.index"
>   22124 imap     RET   stat 0
>   22124 imap     CALL  fcntl(0x4,0x8,0x11ffe7b8)
>   22124 imap     RET   fcntl 0
>   22124 imap     CALL  msync(0x130960000,0x1aff4,0)
>   22124 imap     RET   msync -1 errno 22 Invalid argument
> 
> >From man msync:
> 
> ERRORS
>       The msync() system call will fail if:
> 
>       ...
> 
>       [EINVAL]           The addr argument is not a multiple of the hardware
>                          page size.
> 
> >From the command line:
> 
>   % pagesize
>   8192
> 
> Calculating:
> 
>   0x1AFF4 = 110580 = 13*8192+4084
> 
> Not sure if this is relevant...
> 
> Doug
> 
> 
> 
-- 
Andrew Hutchings
Systems Operator / Developer / Linux Guru
Netserve Consultants Ltd.
http://www.domaincity.co.uk/




More information about the dovecot mailing list