Re: Images-only webserver, lighttpd vs NginX
Francis Dubé wrote: As a part of the solution, I decided to build a jail with a light webserver dedicated to images requests, the biggest part of the requests the server have to process. Most of the websites hosted on the server have approximately 200 small images with a size between 1k and 32k each. I'm currently hesitating between NginX and lighttpd, which both seems to offer similar benchmarks for this job. The questions : Is someone doing something similar to this with one of the two ? I've had very good results with nginx for doing this sort of thing. Which one do you suggest and why ? I originally chose nginx because it did what I wanted and it didn't conflict with Apache (ie. by installinga binary called 'httpd') on the same machine. However I wasn't aware of lighttpd at that point. By the time I did find out about lighttpd, there was no compelling reason to change from nginx. I think you'll find either is adequate to your needs. Unless you're trying to squeeze the absolute last drop of performance out of your hardware, consider other things than raw speed. Do you find the configuration files easy to understand and deal with? Can you strip down the server to the absolute minimum necessary to serve your needs, and if so which of the two is smaller? Which server name do you find easier to type? I've read about a memory leak in lighttpd, is anyone is having issues with this under FreeBSD ? H... That would disqualify it from serious contention straight away. But http://www.lighttpd.net/security/lighttpd_sa_2008_07.txt shows the memleak bug fixed in the latest version 1.4.20, which is in ports. Haven't had any stability problems ever with nginx. Any ideas regarding our situation is appreciated, I think either of these packages will probably serve you well. If you really can't choose between them, then toss a coin. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Images-only webserver, lighttpd vs NginX
Francis Dubé wrote: Hi everyone, I posted last week about my webserver hitting the kernel's max process allowed (error : collecting pv entries -- suggest increasing PMAP_SHPGPERPROC). As a part of the solution, I decided to build a jail with a light webserver dedicated to images requests, the biggest part of the requests the server have to process. Most of the websites hosted on the server have approximately 200 small images with a size between 1k and 32k each. I'm currently hesitating between NginX and lighttpd, which both seems to offer similar benchmarks for this job. The questions : Is someone doing something similar to this with one of the two ? Which one do you suggest and why ? I've read about a memory leak in lighttpd, is anyone is having issues with this under FreeBSD ? Any ideas regarding our situation is appreciated, Thanks ! Francis Dube R D Optik Securite www.optiksecurite.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] They are both good static content servers. You can easily max out a GiGe link using either. We use lighttpd more extensively than nginx, however we do use both. Quite frankly, it's truthfully up to you. Performance wise, they are on par with once another. ~Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Images-only webserver, lighttpd vs NginX
Sam Fourman Jr. wrote: They are both good static content servers. You can easily max out a GiGe link using either. We use lighttpd more extensively than nginx, however we do use both. Quite frankly, it's truthfully up to you. Performance wise, they are on par with once another. ~Paul at the risk of being slightly OT is there a recent toutorial that anyone knows of for lighthttpd on FreeBSD 7, I have used Google and I can't turn up anything recent Sam Fourman Jr. Fourman Networks What kind of tutorial are you looking for? Their documentation is quite extensive. ~Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Images-only webserver, lighttpd vs NginX
Matthew Seaman([EMAIL PROTECTED])@2008.11.03 19:59:56 +: Francis Dub? wrote: Which one do you suggest and why ? nginx. Lighttpd has remote security holes once in a while. nginx has better security design and is more modular and faster. It happens to also be feature-rich, which is not easy to do in a fast and secure server. Lighttpd had one recent remote hole as of .18. IIRC nginx had none. -- But oftentimes I'm asked: Why? Why do you care what happens outside of America? Washington, D.C., June 26, 2008 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Images-only webserver, lighttpd vs NginX
They are both good static content servers. You can easily max out a GiGe link using either. We use lighttpd more extensively than nginx, however we do use both. Quite frankly, it's truthfully up to you. Performance wise, they are on par with once another. ~Paul at the risk of being slightly OT is there a recent toutorial that anyone knows of for lighthttpd on FreeBSD 7, I have used Google and I can't turn up anything recent Sam Fourman Jr. Fourman Networks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]