[Dovecot] More msync issues...

Doug Luce doug at dovecot.con.com
Wed Dec 8 12:12:47 EET 2004


>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





More information about the dovecot mailing list