One more attempt: stuck processes

Ken Murchison murch at andrew.cmu.edu
Thu Nov 15 11:00:39 EST 2007


Sebastian Hagedorn 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 ...>
> 
> # 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?


Not at the moment.  I don't understand how SSL_accept() gets called from 
shut_down().  Are you running a Murder?


-- 
Kenneth Murchison
Systems Programmer
Project Cyrus Developer/Maintainer
Carnegie Mellon University


More information about the Info-cyrus mailing list