Re: mod_ssl, block-on-read problem?

2005-01-25 Thread Anders Ringaby


Hello Bob.


> #4  0x08072d00 in ap_hook_call (
> hook=0xfe00 ) at ap_hook.c:382
>   ^^^ problem here too?


I don't know about this one 


> Using strace -p  I get:
> read(3,
>
> Using lsof -n -p  I get and looking for FD 3, I see this:
>
> apache.db 21547 www-data3u  IPv4 16364769 TCP
> xx.xxx.xxx.xxx:www->xxx.xxx.xxx.xxx:51923 (ESTABLISHED)


 but when it comes to this one, I would say that the main reason
why a read() keeps hanging on a TCP socket is that the client or peer
has not shut down the connection, that is, the client or peer has not
performed a shutdown(), close() or exit().

Of course, you could argue that mod_ssl should have implemented a
timeout for conditions like that.

Maybe there is some kind of protocol problem here, in that mod_ssl is
still expecting data, while the client thinks there is no more data
to send, or maybe the client too is hanging in a read().


Regards

Anders



__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Manager[EMAIL PROTECTED]


Re: mod_ssl, block-on-read problem?

2005-01-24 Thread Bob Tanner
On Monday 24 January 2005 11:53 pm, Bob Tanner wrote:
> Have the folling:
>
> apache-1.3.33
> libapache-mod-ssl-2.8.22
> kernel-2.4.26-1-686-smp
>
> Having a problem where https connections just won't die. Over time the
>  process table files and box crawls or falls to its knees.
>
> Installed debugging version of apache, here is gdb's backtrace showing the
> block on read() called from mod_ssl's ssl_io_unregister() function.

This url sounds like the problem I'm having.

http://www.issociate.de/board/post/44974/

Any solution to the above?


-- 
Bob Tanner <[EMAIL PROTECTED]>  | Phone : (952)943-8700
http://www.mn-linux.org, Minnesota, Linux | Fax   : (952)943-8500
Key fingerprint = AB15 0BDF BCDE 4369 5B42  1973 7CF1 A709 2CC1 B288
__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Manager[EMAIL PROTECTED]