A
antxx
Guest
I am getting a lot of "Cannot Allocate memory", Apache dies, Plesk panel becomes blank. And that's when DNS server Bind doesn't die on me...Quite frankly i am in despair...
Let me show you some thing that was changed:
httpd.conf
Timeout 60
KeepAlive On
MaxKeepAliveRequests 90
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
MaxClients 150
MaxRequestsPerChild 800
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
4352: kmemsize 13867881 13871418 16384000 18022400 219285
this is an error i see with psa status:
/etc/init.d/psa: fork: Cannot allocate memory
/etc/init.d/psa: line 1: /bin/basename: Too many open files in system
/etc/init.d/psa: pipe error: Too many open files in system
/etc/init.d/psa: fork: Cannot allocate memory
Let me show you some thing that was changed:
httpd.conf
Timeout 60
KeepAlive On
MaxKeepAliveRequests 90
KeepAliveTimeout 15
<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
MaxClients 150
MaxRequestsPerChild 800
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
# cat /proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
4352: kmemsize 13867881 13871418 16384000 18022400 219285
this is an error i see with psa status:
/etc/init.d/psa: fork: Cannot allocate memory
/etc/init.d/psa: line 1: /bin/basename: Too many open files in system
/etc/init.d/psa: pipe error: Too many open files in system
/etc/init.d/psa: fork: Cannot allocate memory