I'm not exactly sure what's going on, but the symptoms are as follows.

# ps lxU *****
UID   PID PPID CPU PRI NI  VSZ  RSS WCHAN STAT TTY    TIME COMMAND
302  7152  552   0  18  0 1132 1692 lockf IW   ?   0:00.43 imapd
302  8927  552   0  18  0 1132 1692 lockf IW   ?   0:00.43 imapd
302 11950  552   0  18  0 1132 1716 lockf IW   ?   0:01.20 imapd
302 14314  552   0  18  0 1132 1716 lockf IW   ?   0:00.93 imapd
302 15453  552   0  18  0 1132 1692 lockf IW   ?   0:00.43 imapd
302 15506  552   0  18  0 2760 1724 lockf IW   ?   0:01.98 imapd
302 17203  552   1  18  0 1132 1692 lockf IW   ?   0:00.45 imapd
302 23487  552   1  18  0 1132 1692 lockf IW   ?   0:00.41 imapd

They've been like that for about 20 hours now. (PID 552 is inetd)

# gdb /usr/local/libexec/imapd 11950
GNU gdb 5.3nb1
Copyright 2002 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 "sparc--netbsdelf"...
Attaching to program: /usr/local/libexec/imapd, process 11950
Reading symbols from /usr/lib/libcrypt.so.0...done.
Loaded symbols for /usr/lib/libcrypt.so.0
Reading symbols from /usr/lib/libssl.so.3...done.
Loaded symbols for /usr/lib/libssl.so.3
Reading symbols from /usr/lib/libcrypto.so.2...done.
Loaded symbols for /usr/lib/libcrypto.so.2
Reading symbols from /usr/lib/libc.so.12...done.
Loaded symbols for /usr/lib/libc.so.12
Reading symbols from /usr/libexec/ld.elf_so...done.
Loaded symbols for /usr/libexec/ld.elf_so
0x1033daa4 in flock () from /usr/lib/libc.so.12
(gdb) where
#0  0x1033daa4 in flock () from /usr/lib/libc.so.12
#1  0x000240a4 in lock_work (lock=0xefffd030 "/tmp/.708.25204", sb=0xefffcf60,
    op=2, pid=0x0) at env_unix.c:1345
#2  0x00023e98 in lockfd (fd=4, lock=0xefffd030 "/tmp/.708.25204", op=2)
    at env_unix.c:1287
#3  0x0006b230 in mbx_open (stream=0x123200) at mbx.c:591
#4  0x0002d9d4 in mail_open_work (d=0x106cdc, stream=0x123200,
    name=0x11d700 "Drafts", options=18) at mail.c:1326
#5  0x0002d208 in mail_open (stream=0x0, name=0x1091f9 "Drafts", options=18)
    at mail.c:1248
#6  0x0006b0fc in mbx_status (stream=0x0, mbx=0x1091f9 "Drafts", flags=9)
    at mbx.c:528
#7  0x0002d084 in mail_status (stream=0x0, mbx=0x1091f9 "Drafts", flags=9)
    at mail.c:1135
#8  0x00016784 in main (argc=1, argv=0xefffef4c) at imapd.c:1152
#9  0x00012678 in ___start ()
(gdb)

I can investigate further if I have some idea what to look for.

Thanks,

        - Joel
_______________________________________________
Imap-uw mailing list
Imap-uw@u.washington.edu
https://mailman1.u.washington.edu/mailman/listinfo/imap-uw

Reply via email to