Cyrus imapd dying on me
Nils Vogels
nivo at yuckfou.org
Mon Jan 26 16:05:17 EST 2004
Rob Siemborski wrote:
>We really need more information to begin to help.
>
>
Sure thing :)
>What version of cyrus?
>
>
2.2.3 on FreeBSD 4.9-RELEASE
>What does the backtrace of the core dump reveal?
>
>
Well, I'm not that experienced at this ;)
Here's the backtrace from gdb, it doenst give me much info:
imhotep# gdb -core=/disk/3/cyrus/imap/user/xxx/lists/aaa/imapd.core
/usr/local/cyrus/bin/imapd
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...(no debugging
symbols found)...
Core was generated by `imapd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libsasl2.so.2...(no debugging
symbols found)...done.
Reading symbols from /usr/local/lib/libdb3.so.3...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/libssl.so.3...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/libcrypto.so.3...(no debugging
symbols found)...done.
Reading symbols from /usr/lib/libmd.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libwrap.so.3...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/sasl2/libsasldb.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/lib/sasl2/libcrammd5.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/lib/sasl2/libdigestmd5.so...(no
debugging symbols found)...done.
Reading symbols from /usr/lib/libcrypto.so.3...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/sasl2/libotp.so...(no debugging
symbols found)...done.
Reading symbols from /usr/lib/libopie.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/sasl2/libplain.so...(no debugging
symbols found)...done.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/sasl2/libanonymous.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/lib/sasl2/liblogin.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/lib/sasl2/libntlm.so...(no debugging
symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols
found)...done.
#0 0x805fc02 in index_fetchreply ()
(gdb) bt
#0 0x805fc02 in index_fetchreply ()
Cannot access memory at address 0xbfbfdbd0.
(gdb)
>Is the machine running out of resources? Perhaps filesystem corruption?
>
>
No, I've checked all this, there is enough memory available, enough
diskspace and inodes free. I've checked the filesystem and this does not
report any errors.
>etc...
>
>
Hope this helps!
>-Rob
>
>On Mon, 26 Jan 2004, Nils Vogels wrote:
>
>
>
>>Hi list!
>>
>>In the last few days, I'm seeing more and more crashing imapd's, such as:
>>
>>Jan 26 21:39:55 imhotep /kernel: Jan 26 21:39:55 imhotep /kernel: pid
>>1194 (imapd), uid 60: exited on signal 11
>>
>>Which leaves me with a corrupted mailbox. When I next reconstruct the
>>mailbox, everything seems to run smoothly.
>>
>>Is there anything I can do to prevent these crashes, or anyway I can
>>further determine the cause and possibly the remedy ?
>>
>>Telemetry logs show:
>>
>><1075149971<10 UID fetch 1:* (FLAGS)^M
>> >1075149971>* 1 FETCH (FLAGS () UID 1)^M
>>...
>>* 3189 FETCH (FLAGS () UID 3189)^M
>>10 OK Completed (0.094 sec)^M
>><1075149971<11 UID fetch 2889:3189 (UID RFC822.SIZE FLAGS
>>BODY.PEEK[HEADER.FIELDS (From To Cc Subject Date Message-ID Priority
>>X-Priority References Newsgroups In-Reply-To)])^M
>>
>>and here it stops.
>>
>>imapd core dumps, leaving me a core in the mailbox:
>>
>>-rw------- 1 cyrus cyrus 18309120 Jan 26 21:46
>>/disk/3/cyrus/imap/user/xxx/lists/aaa/imapd.core
>>
>>Gr,
>>
>>Nils.
>>
>>--
>>Simple guidelines to happiness:
>>Work like you don't need the money,
>>love like your heart has never been broken and
>>dance like no one can see you.
>>
>>
>>
>>
>>
>
>-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
>Research Systems Programmer * /usr/contributed Gatekeeper
>
>
>
--
Simple guidelines to happiness:
Work like you don't need the money,
love like your heart has never been broken and
dance like no one can see you.
More information about the Info-cyrus
mailing list