Low End Box

Hosting Websites on Bare Minimum VPS/Dedicated Servers

Tuning for 64MB Virtual Private Server

Tuning — Tags: — February 12, 2008 @ 11:38 pm

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.

1 Comment

  1. xisxon wrote:

    I have one VPS from Datarealm bought yesterday, 1 Mbit connection is slow when yum upgrade, VPS setups approx 1 hours, i have asked about adding more RAM, tech support? they seems don’t care about my ticket…

    May 22, 2009 @ 2:19 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment