Posts Tagged ‘Varnish’

Use varnishlog to find hosts which cause most hits

If your Varnish powered server is under constant load and you are wondering who causes that varnishlog is a helpful tool. Start off by logging IP addresses for a while. 1 varnishlog -c -i RxHeader -I X-Forwarded-For > varnish.log After you have collected enough information use the following line to find out which IP caused [...]


Apache and lighttpd replaced by nginx for PHP application

A while back I wrote an article Switching from Apache HTTP Server to Lighttpd – Installing Lighttpd. Back then I migrated static stuff to lighttpd but left the dynamic stuff (PHP) with Apache. I was never really satisfied with the speed of our system under load. I tried and tried. I optimized a lot of [...]