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


Post Reply 
Running ISPCP on a low resources system
Author Message
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #11
RE: Running ISPCP on a low resources system
Here are some more suggestions to reduce your memory usage.

1. Fastcgi-configuration
In /etc/apache2/mods-available/fastcgi_ispcp.conf change this
Code:
-idle-timeout 300
# -singleThreshold 100
to this
Code:
-idle-timeout 300 \
-singleThreshold 100
This causes that the the last fastcgi-processes for a website terminates when it is not used.

2. Apache-prefork
Change apache to use prefork:
Code:
apt-get install apache2-mpm-prefork
You can also modify apache2.conf:
Code:
<IfModule mpm_prefork_module>
    StartServers         12
    MinSpareServers      12
    MaxSpareServers      24
    MaxClients          100
    MaxRequestsPerChild   0
</IfModule>
02-07-2008 10:08 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Running ISPCP on a low resources system - Cube - 02-07-2008 10:08 AM

Forum Jump:


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