setup DNS to do round-robin, this might help you.
http://www.zytrax.com/books/dns/ch9/rr.html


Sir June wrote:
Hi,
in my previous thread x509, i mentioned i have 3 linux boxes with a load balancer in their front-end. They all serve www.mydomain.com <http://www.mydomain.com> through the VIP interface of the load balancer switch. My impression is that the load balancer should distribute the load traffic among the 3 servers, right?

checking the daily apache/error_log file of each server showed me these logs at a certain point in time.

linux1:
[info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 32 children, there are 0 idle, and 179 total children

linux2:
[info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 32 children, there are 0 idle, and 1429 total children

linux3:
[info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 32 children, there are 0 idle, and 78 total children


for newbie like me, linux2 is taking so much load compare to linux1 and linux3. Is the load balancer not distributing the load across the servers? I mean, the numbers may not be equal to all servers but at least just differ by a couple of tens of processes not hundreds.

All servers have MaxSpareServers 10 and StartServers 5. Any ideas, why linux2 has so much?


thanks,
Sir june


------------------------------------------------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20>
------------------------------------------------------------------------

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to