Pantheon site crashing every few hours
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DEPRECATED Pantheon |
Triaged
|
Low
|
Unassigned |
Bug Description
Hi,
I have installed pantheon on Ubuntu (lucid). But please note I have downgraded the php to 5.2.10 (karmic version) since the site was giving some errors with drupal 6.13.
Server softwares
Ubuntu Lucid
Apache/2.2.14
PHP 5.2.13 (cli)
Mysql 5.1.41-3ubuntu12.3
Varnish-2.1
Mercury 1.1
The site is working good.. but from time to time load increases tremendously and server just hangs. Seems like php connections are not getting closed.
This is from error.log
[Mon Jul 12 20:47:16 2010] [error] child died with signal 9
[Mon Jul 12 20:47:24 2010] [error] child died with signal 9
[Mon Jul 12 20:47:24 2010] [error] child died with signal 9
[Mon Jul 12 20:47:36 2010] [error] child died with signal 9
My server tuneables
/etc/apache2/
export APACHE_
/etc/apparmor.
export APPARMOR_MYSQLD=""
/etc/default/
export TOMCAT_MEMORY="128"
/etc/default/
export VARNISH_MEMORY="64"
/etc/memcached.conf
export MEMCACHED_
/etc/mysql/my.cnf
export INNODB_
in bytes (ie, 1Gb = 1073741824 bytes)
export INNODB_
export KEY_BUFFER_SIZE="8"
export MYSQL_MAX_
/etc/php5/
export PHP_MEMORY="96"
/etc/php5/
export APC_MEMORY="128"
Could anyone tell me how i can make sure client connections are closed correctly. Due to this server load my site and even my server is going down. I think this happens after around 3-4 hours of running.
Regards
I don't know what we can do to support this since you are altering the configuration and there are many many places things could be going wrong (including within your Drupal application). You should also not be using Drupal 6.13.
If you can get onto a normal stack with the latest version of Pressflow, we may be able to begin isolating the problem. However, it's likely related to whatever is causing the load spike, which likely isn't the system stack. Possibly cron could be causing lockups.