[users@httpd] Apache access issue on high "traffic" web site

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello

I've high "traffic" web site. I've access issue.

I use Apache version 2 on Debian.

This is my prefork configuration :

<IfModule prefork.c>
StartServers        10
MinSpareServers      5
MaxSpareServers     10
MaxClients          250
MaxRequestsPerChild  0
</IfModule>

I've set MaxClient on 250, then I think than my Apache server can
process 250 request at same time.

This is my "top" result :

top - 15:44:50 up 86 days, 23:28,  4 users,  load average: 0.29, 0.40, 0.37
Tasks: 371 total,   2 running, 368 sleeping,   1 stopped,   0 zombie
Cpu(s): 14.0% us, 17.0% sy,  0.0% ni, 68.4% id,  0.0% wa,  0.0% hi,  0.6% si
Mem:   1018404k total,   929408k used,    88996k free,    70672k buffers
Swap:  2096472k total,     2640k used,  2093832k free,   426756k cached

PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
30884 root      17   0  2488 1328  848 S  7.4  0.1  15:51.88 top
32394 root      16   0  2496 1304  844 R  7.1  0.1   0:00.27 top
15505 www-data  15   0 25956 7160 3248 S  0.6  0.7   0:00.30 apache2
7440 www-data  15   0 25984 7180 3244 S  0.6  0.7   0:00.30 apache2
10545 www-data  15   0 25984 7156 3216 S  0.6  0.7   0:00.30 apache2
6274 mysql     16   0  211m  31m 4680 S  0.3  3.1   0:15.44 mysqld
15951 root      17   0 11628 6856 2696 S  0.3  0.7   0:14.60 mtop
22421 www-data  16   0 25812 6364 2584 S  0.3  0.6   0:00.23 apache2
5541 www-data  16   0 25864 6416 2596 S  0.3  0.6   0:00.22 apache2
30711 www-data  16   0 25984 7156 3220 S  0.3  0.7   0:00.30 apache2
16657 www-data  16   0 25812 6372 2592 S  0.3  0.6   0:00.23 apache2
295 www-data  16   0 25988 7148 3228 S  0.3  0.7   0:00.24 apache2
11511 www-data  16   0 25804 6356 2584 S  0.3  0.6   0:00.25 apache2
16548 www-data  16   0 26016 7240 3300 S  0.3  0.7   0:00.27 apache2
432 www-data  16   0 25800 6360 2592 S  0.3  0.6   0:00.24 apache2
3610 www-data  16   0 25804 6352 2584 S  0.3  0.6   0:00.23 apache2
8419 www-data  16   0 25804 6356 2584 S  0.3  0.6   0:00.24 apache2
26346 www-data  16   0 25804 6356 2584 S  0.3  0.6   0:00.24 apache2
5613 www-data  16   0 25800 6352 2584 S  0.3  0.6   0:00.23 apache2
14834 www-data  16   0 25960 7116 3216 S  0.3  0.7   0:00.24 apache2
19961 www-data  16   0 25968 7272 3336 S  0.3  0.7   0:00.26 apache2
20012 www-data  16   0 26008 7164 3212 S  0.3  0.7   0:00.32 apache2
5037 www-data  15   0 25916 7148 3248 S  0.3  0.7   0:00.27 apache2
22730 www-data  16   0 25800 6352 2584 S  0.3  0.6   0:00.23 apache2
3148 www-data  16   0 25844 6360 2584 S  0.3  0.6   0:00.22 apache2
5191 www-data  16   0 25804 6436 2648 S  0.3  0.6   0:00.24 apache2
6272 www-data  16   0 25844 6368 2584 S  0.3  0.6   0:00.24 apache2
30583 www-data  16   0 25840 6456 2624 S  0.3  0.6   0:00.22 apache2
  1 root      16   0  1604  524  456 S  0.0  0.1   0:22.22 init
  2 root      34  19     0    0    0 S  0.0  0.0   0:00.99 ksoftirqd/0
  3 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 events/0
  4 root      10  -5     0    0    0 S  0.0  0.0   0:03.14 khelper
  5 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kthread
  7 root      10  -5     0    0    0 S  0.0  0.0   0:00.00 kblockd/0
 61 root      20  -5     0    0    0 S  0.0  0.0   0:00.00 aio/0
 60 root      15   0     0    0    0 S  0.0  0.0   2:24.51 kswapd0
 62 root      25   0     0    0    0 S  0.0  0.0   0:00.00 jfsIO
 63 root      25   0     0    0    0 S  0.0  0.0   0:00.00 jfsCommit
 64 root      25   0     0    0    0 S  0.0  0.0   0:00.00 jfsSync

As you can see, I've many apache 2 process which running but number is
less than 250.

My cpu level is always around 15% and I use very few swap memory.

My network traffic is low.

I've make some test with simple html file without script and I've same issue.

All pages are fetch in one or ten minutes !

Someone are one idea about my issue ?

Thanks for your help,
Stephane

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux