httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garzon Maldonado, Jesus Javier" <jgar...@indra.es>
Subject RE: [users@httpd] Apache 2.0.35 spawns too many processes when using IPv6 adresses (bug?)
Date Tue, 22 Oct 2002 09:57:21 GMT
Hello,

Ok, I've got a web site where I can query a database using some html pages built with PHP.
These pages are located into a Directory secured with SSL (SSLRequire yes).

This is the output when I type ps -waux | grep httpd

nobody    449  0.0  0.9  5428 4428  ??  I    10:31AM   0:00.03 /usr/local/apache2/bin/httpd
-DSSL
nobody    450  0.0  0.8  5364 4200  ??  I    10:31AM   0:00.01 /usr/local/apache2/bin/httpd
-DSSL
nobody    451  0.0  0.8  5284 4108  ??  I    10:31AM   0:00.01 /usr/local/apache2/bin/httpd
-DSSL
nobody    564  0.0  0.8  5392 4220  ??  I    10:33AM   0:00.01 /usr/local/apache2/bin/httpd
-DSSL
nobody    566  0.0  0.8  5372 4200  ??  I    10:33AM   0:00.01 /usr/local/apache2/bin/httpd
-DSSL

After somebody browses through some pages using IPv4 address (e.g. client: 192.168.8.116 -
server: 192.168.8.230) this is the output when I type ps...:

root      417  0.0  0.8  5212 4040  ??  Ss   10:31AM   0:00.50 /usr/local/apache2/bin/httpd
-DSSL
nobody    449  0.0  0.9  5428 4428  ??  S    10:31AM   0:00.03 /usr/local/apache2/bin/httpd
-DSSL
nobody    450  0.0  0.9  5632 4688  ??  S    10:31AM   0:00.06 /usr/local/apache2/bin/httpd
-DSSL
nobody    451  0.0  0.9  5772 4808  ??  S    10:31AM   0:00.07 /usr/local/apache2/bin/httpd
-DSSL
nobody    564  0.0  0.8  5392 4220  ??  S    10:33AM   0:00.01 /usr/local/apache2/bin/httpd
-DSSL
nobody    566  0.0  0.8  5372 4200  ??  S    10:33AM   0:00.01 /usr/local/apache2/bin/httpd
-DSSL

However, if I folow the same steps using IPv6 addresses (e.g client: 2001:618:10:3001::1 server:
2001:618:10:10::2) this is the output when I type ps...:

nobody    986 21.6  0.5  5372 2832  ??  R    11:46AM   0:01.10 /usr/local/apache2/bin/httpd
-DSSL
nobody    985 19.9  0.5  5372 2828  ??  R    11:46AM   0:01.25 /usr/local/apache2/bin/httpd
-DSSL
nobody    970 10.1  0.5  5372 2840  ??  R    11:45AM   0:05.07 /usr/local/apache2/bin/httpd
-DSSL
nobody    971  9.6  0.5  5372 2828  ??  R    11:45AM   0:04.64 /usr/local/apache2/bin/httpd
-DSSL
nobody    973  9.6  0.5  5372 2828  ??  R    11:45AM   0:04.64 /usr/local/apache2/bin/httpd
-DSSL
nobody    974  9.7  0.5  5372 2828  ??  R    11:45AM   0:04.36 /usr/local/apache2/bin/httpd
-DSSL
nobody    975  9.6  0.8  5744 4196  ??  R    11:45AM   0:03.88 /usr/local/apache2/bin/httpd
-DSSL
nobody    976  9.6  0.5  5372 2840  ??  R    11:45AM   0:03.91 /usr/local/apache2/bin/httpd
-DSSL
nobody    977  9.3  0.5  5372 2828  ??  R    11:45AM   0:03.57 /usr/local/apache2/bin/httpd
-DSSL
nobody    978  9.2  0.5  5372 2828  ??  R    11:45AM   0:03.51 /usr/local/apache2/bin/httpd
-DSSL
nobody    979  9.2  0.5  5372 2828  ??  R    11:45AM   0:03.53 /usr/local/apache2/bin/httpd
-DSSL
nobody    566  9.5  0.5  5392 2560  ??  R    10:33AM   0:06.57 /usr/local/apache2/bin/httpd
-DSSL
nobody    969  9.9  0.8  5616 4044  ??  R    11:45AM   0:05.31 /usr/local/apache2/bin/httpd
-DSSL
nobody    449  9.8  0.5  5428 2748  ??  R    10:31AM   0:06.20 /usr/local/apache2/bin/httpd
-DSSL
nobody    450  9.7  0.5  5632 2800  ??  R    10:31AM   0:06.40 /usr/local/apache2/bin/httpd
-DSSL
nobody    451 10.2  0.7  5772 3492  ??  R    10:31AM   0:07.03 /usr/local/apache2/bin/httpd
-DSSL
nobody    564 10.3  0.5  5400 2764  ??  R    10:33AM   0:07.37 /usr/local/apache2/bin/httpd
-DSSL
nobody    947  9.9  0.5  5388 2732  ??  R    11:44AM   0:06.23 /usr/local/apache2/bin/httpd
-DSSL
nobody    983  6.8  0.5  5372 2828  ??  R    11:45AM   0:01.34 /usr/local/apache2/bin/httpd
-DSSL
nobody    982  6.2  0.5  5372 2840  ??  R    11:45AM   0:01.25 /usr/local/apache2/bin/httpd
-DSSL
nobody    981  6.3  0.8  5624 4056  ??  R    11:45AM   0:01.31 /usr/local/apache2/bin/httpd
-DSSL
root      417  0.0  0.1  5212  452  ??  Ss   10:31AM   0:00.51 /usr/local/apache2/bin/httpd
-DSSL
nobody    987  0.0  0.3  5236 1556  ??  S    11:46AM   0:00.00 /usr/local/apache2/bin/httpd
-DSSL
nobody    988  0.0  0.3  5236 1556  ??  S    11:46AM   0:00.00 /usr/local/apache2/bin/httpd
-DSSL
nobody    989  0.0  0.3  5236 1556  ??  S    11:46AM   0:00.00 /usr/local/apache2/bin/httpd
-DSSL
nobody    990  0.0  0.3  5236 1556  ??  S    11:46AM   0:00.00 /usr/local/apache2/bin/httpd
-DSSL
nobody    991  0.0  0.3  5236 1556  ??  S    11:46AM   0:00.00 /usr/local/apache2/bin/httpd
-DSSL

As you can see there are a lot of child processes, (with only 4 or 5 pages visited!!!)

Maybe I should try the latest Apache version....

-----Mensaje original-----
De: Koen Vingerhoets [mailto:koen.vingerhoets@ubench.com]
Enviado el: martes, 22 de octubre de 2002 10:52
Para: users@httpd.apache.org
Asunto: RE: [users@httpd] Apache 2.0.35 spawns too many processes when
using IPv6 adresses (bug?)


Hi,

please explain what you mean with the IPv6 versus IPv4 adresses.  I have a
red hat with apache that spawns a multitude of processes as well, using PHP.

Thanks,

Koen


-----Original Message-----
From: Garzon Maldonado, Jesus Javier [mailto:jgarzon@indra.es]
Sent: 22 October 2002 10:46
To: users@httpd.apache.org
Cc: modssl-users@modssl.org
Subject: RV: [users@httpd] Apache 2.0.35 spawns too many processes when
using IPv6 adresses (bug?)


Hello again:

I've realized that the problem described bellow only happens when IPv6
addresses are employed, if I follow the same steps with IPv4 addresses
Apache works fine.

Somebody else has tried this configuration?,

maybe this problem was solved in later versions... does anybody know?

Thanks.

-----Mensaje original-----
De: Garzon Maldonado, Jesus Javier
Enviado el: viernes, 18 de octubre de 2002 10:58
Para: users@httpd.apache.org
Asunto: [users@httpd] Apache spawns too many processes


Hello all:

I have running Apache 2.0.35+mod_ssl+mod_rewrite+mod_php in a FreeBSD 4.4
box.

Though the number of spare servers and threads is restricted in the
httpd.conf file, when users browses across the web site the number off httpd
processes running (as nobody user) grows continously consuming all the CPU
time.

This doesn't happen if I launch Apache with /apachectl start.

How can I solve this problem?.

Thanks in advance.

Javi Garzon

---------------------------------------------------------------------
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


---------------------------------------------------------------------
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




---------------------------------------------------------------------
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


---------------------------------------------------------------------
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