httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Kokkonen <t...@cc.jyu.fi>
Subject [users@httpd] portscan "hanging" 2.0.43 w/mod_ssl (openssl-0.9.6h)
Date Thu, 26 Dec 2002 00:42:51 GMT

Has anyone else noticed that Apache 2.0.43 with it's built in mod_ssl
seem to hang when you run portscan using nmap (ie. just 'nmap <host>')
against the machine running the server? Curiously
apache stops completely answering reuqests in _http_ port and won't
resume operations until one connects to https port again. Seems like
that when portscan hits https port it triggers the "freeze", which lasts
until proper SSL connection is formed into https port.

Tracing the httpd processes didn't reveal much info, except that when the
apache freezes, one of the worker processes won't return to sleep on
lwp_mutex_lock() call like they seem to do usually, but instead it sleeps on
accept().

...
lwp_mutex_lock(0xFEF40000)      (sleeping...)
lwp_mutex_lock(0xFEF40000)                      = 0
poll(0xFFBFF7D0, 2, -1)                         = 1
accept(5, 0x0021C664, 0x0021C684, 1)            Err#130 ECONNABORTED
accept(5, 0x0021C724, 0x0021C744, 1) (sleeping...)


Btw, I'm using:
Apache 2.0.43 (./configure --enable-ssl)
OpenSSL 0.9.6h
(compiled with gcc 3.2 on Solaris 9)

-- 
Timo <tjko@jyu.fi>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message