You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Liu, James" <Ja...@broadvision.com> on 2002/04/16 02:20:04 UTC

RE: apache 2.0.35 /SSL will hang when send many requests at the s ame time

p.s.: When the server is hanging, I can see the httpd's cpu load is also very high.

-----Original Message-----
From: Andreas Hasenack [mailto:andreas@conectiva.com.br]
Sent: Monday, April 15, 2002 2:38 PM
To: users@httpd.apache.org
Subject: Re: apache 2.0.35 /SSL will hang when send many requests at the same time


Em Mon, Apr 15, 2002 at 01:48:37PM -0700, Liu, James escreveu:
> Hi,
> 
> After compiling 2.0.35/worker MPM/SSL, I can run the https://xxx.xxx.xxx/. However, if I try to repeat to send the request many times at the same time, it will hang. Does anyone have the same problem like me? It is OK when I run 2.0.35/worker MPM without SSL.
> 

I have the same build over here, and ran this simple command on another machine:

curl https://apacheservermachine > bla

It ran without problems, but something funny happened. The load on the apache
machine sky-rocketed. Even *after* the request were done, httpd was still
using "all" my CPU, load jumped from 0.x to 6 and is still climbing. There is not a 
single connection to port 443 here (or 80, for that matter) now, but:

17245 www       18   0  5084 5084  3408 R     9,8  4,0   0:24 httpd
17248 www       19   0  5084 5084  3408 R     9,8  4,0   0:24 httpd
17244 www       17   0  5084 5084  3408 R     9,6  4,0   0:24 httpd
17249 www       18   0  5084 5084  3408 R     9,6  4,0   0:24 httpd
17252 www       18   0  5084 5084  3408 R     9,6  4,0   0:24 httpd
(...)
all 69 processes/threads/whatever

I'm running it with the default configuration as supplied with httpd-std.conf, but I
removed all index.html.* files and only left one index.html there to be fetched (the
index.html.en renamed to index.html actually).

*But*, using:
lynx -dump https://apacheservermachine > bla

doesn't trigger this behaviour, as well as running curl with http:// instead of
https://.


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Re: apache 2.0.35 /SSL will hang when send many requests at the s ame time

Posted by Andreas Hasenack <an...@conectiva.com.br>.
I opened a bugzilla ticket for this, and Cliff Woolley showed me a fix that
has already been commited to CVS, it worked here.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8165

Em Mon, Apr 15, 2002 at 05:20:04PM -0700, Liu, James escreveu:
> p.s.: When the server is hanging, I can see the httpd's cpu load is also very high.
> 

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Re: apache 2.0.35 /SSL will hang when send many requests at the s ame time

Posted by Andreas Hasenack <an...@conectiva.com.br>.
Em Mon, Apr 15, 2002 at 05:20:04PM -0700, Liu, James escreveu:
> p.s.: When the server is hanging, I can see the httpd's cpu load is also very high.

Can you try it with lynx and curl as I did to see if there is any difference?


---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org