FreeBSD and very heavy web server

peceka peceka at gmail.com
Fri Apr 22 01:40:12 PDT 2005


On 4/21/05, Kipp Holger <h.kipp at eurowings.com> wrote:
> 
> peceka wrote on Thu 21.04.2005 11:02
> 
> > i must set up a web server. I want to do this on FreeBSD 5.X. and
> > Apache 1.3 for this and php4.
> 
> What do you mean by 'very heavy web server'? Please be more specific.
> 
> - Do you expect many parallel connections? Default configuration
>  allows for 512 child processes with apache, so you might want
>  to set this higher during compilation (eg set to 1024).

Yes, I expect many parallel connections... 
I've got two machines for that, so traffic will be divided by DNS
round robin. But 1024 child processes will be good thing too, thanks.

> - Does it make sense to separate static and dynamic requests?
>  You might want to use separate servers(*) for static and
>  dynamic requests, using a quick low-footprint webserver for
>  static requests that allows for many parallel requests. Maybe
>  lighttpd is all you need (ymmv)

Unfortunately, all pages will be dynamic :\

> - Make sure you don't run out of mbufs, open file descriptors etc.

Ok, I'll have an eye open on this.

Thanks.

Best Regards,
p.


More information about the freebsd-stable mailing list