On Wed, Apr 23, 2008 at 11:13 PM, Sir June <[EMAIL PROTECTED]> 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 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.
> _________________________________________________
>  Philippine Linux Users' Group (PLUG) Mailing List
>  http://lists.linux.org.ph/mailman/listinfo/plug
>  Searchable Archives: http://archives.free.net.ph
>

Hi Sir June,

I would recommend using OpenBSD-4.2 and hoststated as your web load-balancer:

http://www.openbsd.org/cgi-bin/man.cgi?query=hoststated&apropos=0&sektion=0&manpath=OpenBSD+4.2&arch=i386&format=html
http://www.openbsd.org/cgi-bin/man.cgi?query=hoststated.conf&sektion=5&arch=i386&apropos=0&manpath=OpenBSD+4.2

Caveats:

Your web application (e.g. PHP) must have a distributed session across
your web servers, otherwise session will break if the user move from
one webserver to another.

HTH,


-- 
Jimmy B. Lim
j i m m y b l i m @ g m a i l . c o m
_________________________________________________
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