Trick for Apache2 and MySQL Crashing on High Load / Apache Benchmark

In the past, I have given some thought to a high load but not very much. For the most part having Lighttpd and Varnish in front of my Web servers alleviates most problems. That is until the other day when I decided to do an Apache benchmark test on my system and was able to bring down the server. The load made MySQL go insane by inflating it to 200% CPU usage! To make my servers available again I had to basically restart MySQL. This is not a huge issue, mainly because we do not have a high load but it was concerning.… Read More

Free JuiceSSH Pro License until March 18th 2014

Free License for JuiceSSH Pro on AndroidNow until Tuesday March 18th 11:00 GMT, 2014 you can get a free upgrade to JuiceSSH Pro, a $6.98 value. Due to the number of downloads the developers of JuiceSSH want to say thank you by offing Pro Versions for free during this time period. JuiceSSH Pro is a very well written and nice SSH Client for the Android Operating System. I personally use JuiceSSH Pro on my phone all the time. So whether you use it or may use it, I would suggest going to and get your free license copy! There are no catches and I received the license email within minutes.… Read More

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 ( 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

Setting up Mosh (Mobile Shell) Server on Debian Squeeze

A key with a browser behind it.My curiosity takes me to a bunch a different programs that I like to hack around with. Today it took me to setting up a Mosh Server. Mosh is a short term for Mobile Shell, which is attempting to act as an SSH (Secure Shell) replacement for a connection-less state. With Mosh, you are able to roam around on a 3G / 4G / Wifi / Work / Home and not have the need to always reconnect your SSH sessions or have a dedicated server setup with screen, which if that server goes down then you will have to reconnect all the sessions again!… 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

Hacking NGINX and PHP-FPM Running Debian

A guy trying to get NGINX / PHP-FPM working

Keeping logs is a part of system administration. For me, I keep my logs of items I have installed in my articles. This way I always have the instructions to reference when I need to look back and do other installs. Today I am writing about how to setup NGINX that uses PHP-FPM on Debian. This can be a faster alternative to FastCGI in that you set the number of instances it will always run and the max that PHP-FPM is allowed to run. PHP-FPM allows for more control making a PHP server lighter weight when the extra weight is not necessary.… Read More