One more attempt: stuck processes
Sebastian Hagedorn
Hagedorn at uni-koeln.de
Thu Nov 15 12:22:41 EST 2007
--On 15. November 2007 18:14:05 +0100 Alain Spineux <aspineux at gmail.com>
wrote:
>> # strace -p 25038
>> Process 25038 attached - interrupt to quit
>> read(0, <unfinished ...>
>
> Do you know what is 0, if it was a socket it should timeout, isn't it ?
It should, I guess, but it doesn't.
># ls -l /proc/25038/fd
>
> should answer the question
I did not know that. Usually I just use lsof. Interestingly, there's this:
# ls -l /proc/25038/fd
insgesamt 0
lrwx------ 1 cyrus mail 64 15. Nov 18:15 0 ->
socket:[4230164633]
...
It's blinking red, which normally means a broken link. I'm not sure how
reliable that is in this case. Anyway, lsof reports:
pop3d 25038 cyrus 0u IPv4 -64802663 TCP
cyrus.rrz.uni-koeln.de:pop3s->p50865F5D.dip.t-dialin.net:1064 (ESTABLISHED)
It *thinks* the connections is still open. So does netstat:
# LANG=C netstat -a|grep p50865F5D
tcp 0 0 cyrus.rrz.uni-koeln.d:pop3s p50865F5D.dip.t-dialin:1064
ESTABLISHED
But obviously that connection is dead. I don't know what conclusions to
draw from that ...
--
.:.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/20071115/0368a8b1/attachment.bin
More information about the Info-cyrus
mailing list