One more attempt: stuck processes

Alain Spineux aspineux at gmail.com
Thu Nov 15 12:14:05 EST 2007


On Nov 15, 2007 4:54 PM, Sebastian Hagedorn <Hagedorn at uni-koeln.de> wrote:
> --On 15. November 2007 08:32:18 -0500 Ken Murchison <murch at andrew.cmu.edu>
> wrote:
>
> >>> Since it looks like things are hanging when a process is being used, I'd
> >>> like to see if the problem goes away if we don't reuse the processes.
> >>> I'm just trying to do a bsearch() on the problem.
> >>
> >> OK. I've made the change and HUP'ed master. I can see the first
> >> processes with -U 1. So I guess I'll have to wait a while to see if any
> >> of those get stuck as well.
> >
> > OK, let me know.
>
> Didn't work :-(
>
> # ps -aef| grep U
> UID        PID  PPID  C STIME TTY          TIME CMD
> ...
> cyrus    25038 32385  0 15:44 ?        00:00:00 pop3d -s -U 1
> ...
>
> That's more than an hour ago. So:
>
> # 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 ?

# ls -l /proc/25038/fd

should answer the question

>
> # gdb -p 25038
> GNU gdb Red Hat Linux (6.3.0.0-1.138.el3rh)
> ...
> (gdb) bt
> #0  0x0079f41e in __read_nocancel () from /lib/tls/libc.so.6
> #1  0x00d0b2f7 in BIO_new_socket () from /lib/libcrypto.so.4
> #2  0x00d092b2 in BIO_read () from /lib/libcrypto.so.4
> #3  0x005dae13 in ssl23_read_bytes () from /lib/libssl.so.4
> #4  0x005d9c51 in ssl23_get_client_hello () from /lib/libssl.so.4
> #5  0x005d9712 in ssl23_accept () from /lib/libssl.so.4
> #6  0x005ddc9a in SSL_accept () from /lib/libssl.so.4
> #7  0x08052cb3 in shut_down ()
> #8  0x0804e513 in shut_down ()
> #9  0x0804d58c in ?? ()
> #10 0x00000001 in ?? ()
> #11 0x082ee848 in ?? ()
> #12 0x00000000 in ?? ()
>
> Any other ideas?
>
> --
>      .:.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.:.:.:.
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
>



-- 
Alain Spineux
aspineux gmail com
May the sources be with you


More information about the Info-cyrus mailing list