Hi,
I love your Software and it works great but now I have to optimize it
for my low-resource VPS with 512MB Memory.
I think for mySql I did the right thing with the following values:
Code:
#
# * Fine Tuning
#
key_buffer = 1M
max_allowed_packet = 8M
thread_stack = 64K
thread_cache_size = 8
#max_connections = 100
#table_cache = 64
#thread_concurrency = 10
#
# * Query Cache Configuration
#
query_cache_limit = 1M
query_cache_size = 8M
i disabled also the myDNS and removed it from the startup scripts as I dont need it.
With this modifications my system uses 360 MB memory (without apache started).
When I start apache it uses 433 MB, which is also fine for me.
But when I go to the loginpage of roundcube on my host it uses already 558MB, which is way to much for a single user accessing a single php script.
When I log in it gets wors and the system uses 630MB Ram.
How is this behaviour possible?
The website in ISPC is set to use fast-cgi for php. I already
tried to tweak apache2 to use less memory by setting
Code:
<IfModule mpm_prefork_module>
StartServers 12
MinSpareServers 12
MaxSpareServers 24
MaxClients 100
MaxRequestsPerChild 0
</IfModule>
But I think there is something strange here.
If I use apachebench to simulate 25 requests, I have to reboot the system because it can't allocate more memory. Even top on the shell gives a fork exception.
The VPS is done with OpenVZ with 512Ram and 700 burstable, bt I can't use Swap space.
Anybody an idea on how to configure apache so that it can handle actually more than one person?
schildhans
Recent comments
13 hours 28 min ago
22 hours 56 min ago
23 hours 46 min ago
1 day 3 hours ago
1 day 7 hours ago
1 day 8 hours ago
1 day 10 hours ago
1 day 20 hours ago
2 days 1 hour ago
2 days 2 hours ago