Getting internal server error after updating server config via WHM?
I am running a server with CentOS and Apache2. I use Web Host Manager (WHM) for management.
I was changing Apache configuration from WHM. I updated the max child processes from 150 to 100 and saved and restarted the server. Now I keep getting internal server error everywhere on my server.
I also made an automatic memory configuration which set each process memory limit to 64MB.
In my error log I can see following unusual errors after update:
[Fri Jun 29 16:39:18 2012] [error] [client 41.239.56.253] /usr/bin/php: error while loading shared libraries: libmysqlclient.so.16: failed to map segment from shared object: Cannot allocate memory, referer: http://apps.facebook.com/froiden-male-female/...[Fri Jun 29 16:45:50 2012] [error] [client 122.164.189.14] Premature end of script headers: index.php, referer: http://apps.facebook.com/froiden-male-female/
Please help.
It might be not enough memory for the library. Open your /usr/local/apache/conf/httpd.conf and remove the following lines from there:
RLimitMEM 651048618
RLimitCPU 240
They are usually on the top of the file. Then restart your web server:
/etc/init.d/httpd restart
Check more discussion of this question.
Related posts:
- one of two test sites only loads in chrome, not in IE or FF (internal server error)
- How do I trouble shoot an Apache 500 Internal Server Error? (restart, status, tail… then what?)
- CentOS apache startup config file security error
- Identifying Service Error in Fedora 16
- LAMP server error Unable to initialize module
Leave a comment
Recent Posts
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?
Tags
active-directory
amazon-ec2
apache
apache2
backup
bash
centos
cisco
command-line
debian
dns
email
exchange
firewall
iis
iis7
iptables
linux
macosx
monitoring
mysql
networking
nginx
performance
permissions
php
postfix
raid
security
sql-server
sql-server-2005
sql-server-2008
ssh
ssl
ubuntu
unix
virtualization
vpn
webserver
windows
windows-7
windows-server-2003
windows-server-2008
windows-server-2008-r2
windows-xp





