05-15-07 12:11 AM
Hi,
I was thinking of using perbal to forward requests for static content to=20
lighttpd and all php requests to Apache. Can the perbal I am using for=20
loadbalancing do the serving for static content? Is this advisable? Is th=
ere=20
some special configuration?
Thanks
Ashish
----- Original Message -----=20
From: "Ask Bj=F8rn Hansen" <ask@develooper.com>
To: "Ashish Padave" <ashishpadave@gmail.com>
Cc: <perlbal@lists.danga.com>
Sent: Friday, May 11, 2007 11:10 PM
Subject: Re: LAMP - perbal and wackamole - suggestions pls.
>
> On May 11, 2007, at 2:42 PM, Ashish Padave wrote:
>
>
> You could do that. However, since you only have two servers there's n=
o=20
> practical reason to distribute the perlbal load anyway. I would setup=
=20
> perlbal on both boxes and just have wackamole move your public IP betw=
een=20
> the two.
>
> If you need to bind to specific IPs (rather than just *:80) you can on=
=20
> Linux allow processes to bind to not-local IP addresses with
>
> echo 1 > /proc/sys/net/ipv4/ip_nonlocal_bind
>
> or the similar sysctl switch.
>
> http://www.apsis.ch/pound/pound_lis...2/1165619148000
> http://develooper.com/talks/Real-Wo...2007-r12.pdf=20
> (page ~77)
>
> - ask
>
>
> --=20
> http://develooper.com/ - http://askask.com/
>
>=20
[ Post a follow-up to this message ]
|