One more attempt: stuck processes

Sebastian Hagedorn Hagedorn at uni-koeln.de
Fri Nov 16 09:20:57 EST 2007


--On 16. November 2007 08:00:07 -0600 Gary Mills <mills at cc.umanitoba.ca> 
wrote:

> This timeout doesn't work in some cases.  We have lots of POP sessions
> that never terminate.

That's interesting to hear! Especially since you are using Solaris.

>  About 30 out of 40 are in that state now.
> Here's an example:
>
>    cyrus 13075   708  0   Oct 14 ?        0:05 pop3d -s
>    cyrus 20023   708  0   Oct 29 ?        0:00 pop3d
>    cyrus 24560   708  1 07:38:03 ?        0:03 pop3d
>    cyrus   631   708  0   Oct 03 ?        0:10 pop3d -s
>    cyrus  6786   708  0   Oct 20 ?        0:00 pop3d -s
>    cyrus 29777   708  0 07:45:03 ?        0:00 pop3d
>    cyrus 19175   708  0   Oct 04 ?        0:04 pop3d -s
>
> One I just checked is stuck in a read():
>
>   # truss -p 19175
>   read(0, 0x002316F0, 5)          (sleeping...)
>   ^?# pfiles 19175
>   19175:  pop3d -s
>     Current rlimit: 256 file descriptors
>      0: S_IFSOCK mode:0666 dev:271,0 ino:25813 uid:0 gid:0 size:0
>         O_RDWR
>           sockname: AF_INET 130.179.16.23  port: 995
>           peername: AF_INET 130.179.188.184  port: 51771

Could you get a stack trace? If you have gdb you just call it with "gdb -p 
19175". Then you can do "bt" at the prompt. I forget how to do it with 
Sun's debugger.
-- 
     .:.Sebastian Hagedorn - RZKR-R1 (Gebäude 52), Zimmer 18.:.
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
.:.Universität zu Köln / Cologne University - ✆ +49-221-478-5587.:.
                   .:.:.:.Skype: shagedorn.:.:.:.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20071116/5bb5fe53/attachment-0001.bin 


More information about the Info-cyrus mailing list