Date: Fri, 22 Apr 2005 11:10:52 +0200 From: "Kipp Holger" <h.kipp@eurowings.com> To: "peceka" <peceka@gmail.com> Cc: freebsd-stable@freebsd.org Subject: RE: FreeBSD and very heavy web server Message-ID: <BA84A761ED41C54893BED691A4A574CF977324@EXCH5.eurowings.com>
next in thread | raw e-mail | index | archive | help
peceka wrote on Fri 22.04.2005 10:40 > On 4/21/05, Kipp Holger <h.kipp@eurowings.com> wrote:=20 > > peceka wrote on Thu 21.04.2005 11:02 > Yes, I expect many parallel connections...=20 > 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 :\ You don't have any static requests for .gif/.jpg/.css-files etc.? lighttpd does support php4, CGI, FastCGI and load-balanced FastCGI, and also php-code caching. Just go to http://www.lighttpd.net/=20 I haven't tried it myself, though, as we have slightly more complicated requirements here ;-) > > - Make sure you don't run out of mbufs, open file descriptors etc. > Ok, I'll have an eye open on this. If you have a lot of parallel connections you might also want to monitor tcp connections and tune corresponding sysctls, so you don't have any useless entries in your tables. But I'm not an expert in this field (especially with10k+ open sockets...) - the default settings have worked for me most of the time. Regards, Holger
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA84A761ED41C54893BED691A4A574CF977324>