Current time: 11-25-2024, 01:40 PM Hello There, Guest! (LoginRegister)


Post Reply 
memory consumption of php5+fastcgi
Author Message
ispcomm Offline
Junior Member
*

Posts: 93
Joined: Apr 2008
Reputation: 3
Post: #1
memory consumption of php5+fastcgi
I'm wondering what the memory requirements would be for a real server hosting domains with ispcp.

Using fastcgi+php5 (debian etch, default install) each php5 process is using 5900KB of memory (that is... almost 6megabytes).
Every site has 3 stand-by processes.

Allocating 100 domains (as a minimum requirement per physical server) would mean that 100x3x6 = 1800MB or RAM would be needed just to host the idle processes for all domains. This is on a 32bit machine (64 bit could be double this numbers).

If you add a few connections and the other daemons (primarily mysql) you'll end up with a minimum requirement of 4Gbytes that is too much IMHO.

My fear is that adding other stuff to php would get this number higher (currently my php5 has only the gd, idn, mcrypt, mhash and mysql extentions).

My question is: is there a way to reduce this number, other than reducing the number of idle processes that fastcgi spans ?
05-05-2008 07:31 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
memory consumption of php5+fastcgi - ispcomm - 05-05-2008 07:31 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)