httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Ganault <gilles.gana...@free.fr>
Subject [users@httpd] [A2/Load balancing] mod_proxy vs. dedicated box?
Date Tue, 02 Sep 2008 21:53:02 GMT
Hello

I'd like some feedback about using Apache's mod_proxy to provide load
balancing with other Apache2 servers vs. using a dedicated device.

At this point, our first Apache2 server, acting as load balancer, is
50% idle, while the other Apache2 server is 0% idle:

--- Apache #1 (includes load balancer to forward connections to Apache
#2)
top - 19:35:21 up 26 days,  2:21,  3 users,  load average: 165.76,
163.97, 200.46
Tasks: 829 total, 155 running, 673 sleeping,   1 stopped,   0 zombie
Cpu(s): 36.3%us, 10.2%sy,  0.0%ni, 47.2%id,  5.1%wa,  0.1%hi,  1.0%si,
0.0%st
Mem:   2070172k total,  1978392k used,    91780k free,    48016k
buffers
Swap:   998376k total,   244336k used,   754040k free,   518996k
cached

--- Apache #2
top - 19:33:46 up 21 days,  3:23,  3 users,  load average: 511.90,
468.51, 351.50
Tasks: 1325 total, 105 running, 1219 sleeping,   1 stopped,   0 zombie
Cpu(s): 28.5%us, 65.1%sy,  0.0%ni,  0.0%id,  0.0%wa,  1.1%hi,  5.4%si,
0.0%st
Mem:   2061660k total,  2012144k used,    49516k free,     2084k
buffers
Swap:   922600k total,   430876k used,   491724k free,   104796k
cached

Any idea to explain this imbalance? Should we get better performance
with a dedicated box?

Thank you.


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