Varnish is Running out of Control!

A slug walking across a keyboardMy servers now a days run Varnish simply for the speed. On my main site Varnish was getting out of control with the RAM / Memory usage. Varnish would slowly creep up and eat all the memory, even though I was trying to hack Varnish to only use 128MB of ram, especially since the site is hosted on a lowendbox by Frantech (Buyvm.net). The answer, which I am not really sure WHY it works, but inside of vcl_fetch in the /etc/varnish/*.vcl file, I had set beresp.grace to be 30M, I tried this with 2M as well, but ultimately I took out the grace period setting and now my box is running Varnish with Lighttpd and PHP-FPM getting around 15k-30k unique hits a day and not going over 156MB of RAM usage.… Read More

VirtualBox on Windows 7 as a Development Server

A lady clicking on a virtual graph image.Virtualization has a ton of uses in today’s programming and development world, from being able to test on many different operating systems without having to format or partition your host computer to running server setups with ease. I have recently converted over to Windows 7 from Ubuntu with the purchase of a new laptop, given how many hacks it took to get my new laptop working on Ubuntu. This had me thinking, since I really do not care for the WAMP install set, and prefer a LAMP stack for my development server, how can I get the LAMP inside of Windows 7.… Read More

↑ BACK TO THE TOP ↑