Comments on: optimizing ispconfig3 for a low end vps https://www.akamaras.com/linux/optimizing-ispconfig3-for-low-end-vps/ Yet another blog Wed, 29 May 2013 13:44:38 +0000 hourly 1 https://wordpress.org/?v=5.4.10 By: Martin Adiyono https://www.akamaras.com/linux/optimizing-ispconfig3-for-low-end-vps/#comment-24281 Wed, 29 May 2013 13:44:38 +0000 http://www.akamaras.com/?p=432#comment-24281 thanks for your tutorial,
i thing you neet to change
if (!($min == 0 && $hour == 03 && $day == Wed)) return;
to
if (!($min == 0 && $hour == 03 && $day == ‘Wed’)) return;

]]>
By: akamaras https://www.akamaras.com/linux/optimizing-ispconfig3-for-low-end-vps/#comment-17012 Fri, 01 Mar 2013 10:58:02 +0000 http://www.akamaras.com/?p=432#comment-17012 In reply to Bơ Bay.

Hello Bo,

While mod_php will be faster, I suggest you setup suphp as the php handler, it will be cheaper on ram and more secure as the php scripts run under the owner of the file while mod_php executes every php script under the same user.

Nginx as a reverse proxy works great and doesn’t consume much ram

]]>
By: Bơ Bay https://www.akamaras.com/linux/optimizing-ispconfig3-for-low-end-vps/#comment-16997 Fri, 01 Mar 2013 03:53:05 +0000 http://www.akamaras.com/?p=432#comment-16997 Hi, my server is running out of memory. There’re so many php-cgi processes and they’re still there for a long while after serving requests. I’m consider using mod_php instead of mod_fcgi and nginx in front of apache as a reverse proxy to handle static files. Is that a good idea?

]]>
By: residential sun power https://www.akamaras.com/linux/optimizing-ispconfig3-for-low-end-vps/#comment-39 Wed, 20 Apr 2011 16:13:33 +0000 http://www.akamaras.com/?p=432#comment-39 I have recently started a website, the information you provide on this site has helped me greatly.Thank you for all of your time & work

]]>
By: akamaras https://www.akamaras.com/linux/optimizing-ispconfig3-for-low-end-vps/#comment-20 Wed, 30 Mar 2011 16:18:39 +0000 http://www.akamaras.com/?p=432#comment-20 180MB is more than enough
you can configure the allocation size

]]>
By: Kespers https://www.akamaras.com/linux/optimizing-ispconfig3-for-low-end-vps/#comment-19 Wed, 30 Mar 2011 15:35:26 +0000 http://www.akamaras.com/?p=432#comment-19 The site was running over Fast-CGI, yesterday I install apc extension and it helps a lot, with an apache max threads reduction and a mysql connections little optimization now I’ve good load, about 0.6 average and about 180 MB free ram.

I’ve memcache installation on the TODO list. Is it consume a lot of ram? will be enough to 180 MB free RAM I have left?

Next month i will install a new wordpress site.

Thanks for everything.

]]>
By: akamaras https://www.akamaras.com/linux/optimizing-ispconfig3-for-low-end-vps/#comment-18 Wed, 30 Mar 2011 15:08:52 +0000 http://www.akamaras.com/?p=432#comment-18 since you’re running only one site on your server caching is the solution as cracklight mentioned and with 512mb of ram you can cache a lot

  • no need to run your site through suphp, switch to Fast-CGI instead
  • optimize mysql to cache more (I believe this will lower your load significantly)
  • reinstall eaccelerator(if you unistalled it) or apc
  • also have a look at memcached
]]>
By: Cracklight https://www.akamaras.com/linux/optimizing-ispconfig3-for-low-end-vps/#comment-17 Wed, 30 Mar 2011 06:59:35 +0000 http://www.akamaras.com/?p=432#comment-17 I suggest to use page caching. Try apc or something like this. Personally I run nginx + fcgi with 512M and 1/2 Core and seems ok.

]]>
By: Kespers https://www.akamaras.com/linux/optimizing-ispconfig3-for-low-end-vps/#comment-16 Tue, 29 Mar 2011 22:39:04 +0000 http://www.akamaras.com/?p=432#comment-16 I’m running on a vps with 512MB RAM, only 600 MHz processor, it’s a very low end vps.

Only one domain with php and mysql but with a lot of traffic, 4-6k page views average per day.

Now I disable postfix, amavis, clamav and spamassassing completly, at the moment I don’t need mail server.

]]>
By: akamaras https://www.akamaras.com/linux/optimizing-ispconfig3-for-low-end-vps/#comment-15 Tue, 29 Mar 2011 22:25:29 +0000 http://www.akamaras.com/?p=432#comment-15 In reply to Kespers.

issue “top” and watch for any processes stuck at the top.
how many domains r u hosting?

also give us the results of

cat /proc/cpuinfo | grep MHz
free
dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync

]]>