Hi,
I am having a terrible time with one of my ecommerce stores with over 10,000 customers and has downloadable products.
One of my ecommerce (prestashop) stores has a sale and the server is hit all at once it seems and mysql spikes and server crashes.
I have checked the logs and ran mysqltuner.
When I run mysqltuner it wants me to keep on increasing all the values it recommends in /etc/my.cnf and the problem persists.
This is my.cnf file now after removing the other listings:
[mysqld]
# add skip-innodb to disable InnoDB
skip-innodb
#open_files_limit=26520
local-infile=0
default-storage-engine=MyISAM
After the crash I get several of these emails:
/etc/cron.hourly/modsecparse.pl:
DBI connect('modsec:localhost','modsec',...) failed: Too many connections at /etc/cron.hourly/modsecparse.pl line 19
Unable to connect to mysql database at /etc/cron.hourly/modsecparse.pl line 19.
Server specs are:
Base System - Intel Dual Clovertown (5310) System 1.60GHz
Two Intel Xeon 5310 "Clovertown" Quad Core processors (8-core)
/dev/sda - 250GB HDD - 64-bit
CentOS release 6.4 (Final)
Server information: Linux #1 SMP Tue Apr 23 18:13:20 UTC 2013 i686 64-bit
Server software version: Apache 2.2.24
PHP version: 5.5
MySQL 5.5
Memory limit: 4GB
Max execution time: 120
I have 20 ecommerce stores all using prestashop for the store.
Please help ...
I am having a terrible time with one of my ecommerce stores with over 10,000 customers and has downloadable products.
One of my ecommerce (prestashop) stores has a sale and the server is hit all at once it seems and mysql spikes and server crashes.
I have checked the logs and ran mysqltuner.
When I run mysqltuner it wants me to keep on increasing all the values it recommends in /etc/my.cnf and the problem persists.
This is my.cnf file now after removing the other listings:
[mysqld]
# add skip-innodb to disable InnoDB
skip-innodb
#open_files_limit=26520
local-infile=0
default-storage-engine=MyISAM
After the crash I get several of these emails:
/etc/cron.hourly/modsecparse.pl:
DBI connect('modsec:localhost','modsec',...) failed: Too many connections at /etc/cron.hourly/modsecparse.pl line 19
Unable to connect to mysql database at /etc/cron.hourly/modsecparse.pl line 19.
Server specs are:
Base System - Intel Dual Clovertown (5310) System 1.60GHz
Two Intel Xeon 5310 "Clovertown" Quad Core processors (8-core)
/dev/sda - 250GB HDD - 64-bit
CentOS release 6.4 (Final)
Server information: Linux #1 SMP Tue Apr 23 18:13:20 UTC 2013 i686 64-bit
Server software version: Apache 2.2.24
PHP version: 5.5
MySQL 5.5
Memory limit: 4GB
Max execution time: 120
I have 20 ecommerce stores all using prestashop for the store.
Please help ...
Last edited: