Tuning for 64MB Virtual Private Server

Zein: Making the most out of a 64MB VPS — how Ahmed tuned his 64MB Xen VPS from VPS Village to run Lighttpd, PHP/FastCGI and MySQL. He was also trying to get a Ruby on Rails app running but OOM seems inevitable. Great article on getting PHP applications like WordPress running on a minimal VPS.

I am taking a similar approach tuning my 64MB VPS from Virtual-Dedicated.net, except:

  • PHP 5.2 does not need a parent monitoring process if PHP_FCGI_CHILDREN => 0. Therefore I am running 2x PHP/FastCGI processes with maxprocs => 2 and PHP_FCGI_CHILDREN => 0.
  • I haven’t bothered to run any query cache on MySQL. Or maybe I should :)
  • SSHD is replaced with Dropbear running off Xinetd, which saves me 1MB idle, and 1MB for every SSH connection.

Post a Comment

Your email is never published nor shared. Required fields are marked *