Cyrus IMAPd 2.2.7 Released

Ken Murchison ken at oceana.com
Wed Jul 28 11:58:18 EDT 2004


Simon Matter wrote:

>>On Wed, 28 Jul 2004, Simon Matter wrote:
>>
>>
>>>And now, the stage dir looks like this
>>>
>>>[root at imap01 log]# ll /var/spool/imap/stage./
>>>total 23856
>>>-rw-------    1 cyrus    mail         4938 Jul 28 00:59
>>>10010-1090969170-0
>>>-rw-------    1 cyrus    mail         3021 Jul 28 10:34
>>>10597-1091003682-0
>>>-rw-------    1 cyrus    mail         4464 Jul 28 10:29
>>>10603-1091003396-0
>>>-rw-------    1 cyrus    mail            0 Jul 28 01:17
>>>10783-1090970257-0
>>>-rw-------    1 cyrus    mail         3505 Jul 28 08:46
>>>10815-1090997170-0
>>>...
>>>...
>>>
>>>My question is, what do the files in the stage. dir mean? Are those
>>>mails
>>>lost, I mean not delivered to mailboxes? I should I deal with them?
>>
>>It means LMTPd crashed in the middle of an APPEND (the segfaults you're
>>seeing).  If your MTA is sane, it will redeliver.
>>
>>The patch that avoids dropping these won't necessarally work in this case,
>>it only works if an unexpected fatal() happens.
>>
>>Can you get a backtrace of one of the core files?
> 
> 
> I don't have any core files.
> I have now stopped cyrus-imapd and did
> 
> [root at imap01 root]# ulimit -a
> core file size        (blocks, -c) unlimited
> data seg size         (kbytes, -d) unlimited
> file size             (blocks, -f) unlimited
> max locked memory     (kbytes, -l) unlimited
> max memory size       (kbytes, -m) unlimited
> open files                    (-n) 1024
> pipe size          (512 bytes, -p) 8
> stack size            (kbytes, -s) 8192
> cpu time             (seconds, -t) unlimited
> max user processes            (-u) 7168
> virtual memory        (kbytes, -v) unlimited
> [root at imap01 root]# /usr/lib/cyrus-imapd/cyrus-master -d
> 
> but now core files anywhere.
> 
> How again do I get them?

Does the cyrus user have write access to whatever directory you started 
master in?  You may also find cores in user mailbox directories.


-- 
Kenneth Murchison     Oceana Matrix Ltd.
Software Engineer     21 Princeton Place
716-662-8973 x26      Orchard Park, NY 14127
--PGP Public Key--    http://www.oceana.com/~ken/ksm.pgp
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list