…. As it turned out the systems were slowing down because lighttpd process grew to a few gigabytes eating the entire memory… even though Apache and PHP handled it without much hassle, Lighttpd kept allocating memory to fit the entire response into the… problems will appear with much smaller data being sent through Lighttpd proxy. For example with a PHP script for handling larger file…
Post: Lighttpd as reverse proxy
… lines in lighttpd.conf server.modules = ( … “mod_auth”, “mod_status”, “mod_proxy“, … ) mod_status is useful to show additional information from lighttpd mod_auth to protect mod_status from unauthorized access
and mod_proxy is proxy by itself to enable status uncomment or add status.status-url = “/server-status” to lighttpd.conf to protect…
Post: Speedup your LAMP stack with LigHTTPD
… like you expect it to work. Use other server, ie lighttpd with FastCGI. Honestly I like this solution more – it allows…. Use Reverse proxy in front. You may configure other Apache server to use as reverse proxy, you may also use Squid, Lighttpd, Nginx… them to be directly services by reverse proxy servers could be enough. The note about LigHTTPD – I like this one in particular…
Comment: Pitfall of proxying HTTP requests through Lighttpd
… correct setup is to avoid any larger objects sent through Lighttpd proxy, but to serve them with Lighty directly. But this, obviously…
Comment: Lighttpd as reverse proxy
To all. Regarding lighttpd vs ngnix. Lighttpd is used by youtube.com and wikipedia, so it is … to work in high load environment. When we started use lighttpd it seemed more advanced than ngnix, but currently ngnix is still begin active developed, while author of lighttpd is more interested in mysql-proxy development and lighttpd looks frozen, so I even agree…
Comment: Pitfall of proxying HTTP requests through Lighttpd
Julian & Maciej, Considering your input, I will change my server setup and see how it behaves over a period of week. Dieselstation serves high res wallpapers, so probably it makes sense to serve images directly through lighttpd instead of proxying the request from apache to lighttpd.
Comment: Pitfall of proxying HTTP requests through Lighttpd
Do you think this problem would exists if the setup was reversed? Meaning, let Apache be your prime server and do the proxy forward for the static content to the lighttpd! In that case, lighttpd will not consume as much memory and will do its job efficiently.
Comment: Why do you need many apache children ?
… great idea. I use lighttpd in many cases – it works well and extremely easy to configure as proxy. There are some things I do not like in lighttpd running in such mode. The…
Comment: Pitfall of proxying HTTP requests through Lighttpd
@Dieseelstation: Such a setup would be nonsense, because you would have to start a ‘big’ apache process just to proxy your static content which is served by lighttpd. Just run both on different ports and do no proxying.
Comment: Pitfall of proxying HTTP requests through Lighttpd
The store-and-forward nature of lighttpd is good for getting data away from the backends as … can happen. It’s surprised me before, when I was proxying large files off a backend squid server. I know two reverse proxies that have hybrid S&F and cut-through forwarding with…

