Archive for the tag 'high'

Apache crash during high load in Ensim Pro Control Panel

Apache crash on high load with the following error in the error log: “(28) No space left on device: mod_python: Failed to create global mutex 1 of 4 exclog: signal received 15″

The problem may be caused by small number of semaphores in system.

Resolution is to increase number of semaphores.

To increase the number of semaphores please take the following steps, Login to your PPCPL server as root. Open the /etc/sysctl.conf file using a text editor

vi /etc/sysctl.conf

Locate the kernel.sem parameter and double current values

If the parameter is not defined in the /etc/sysctl.conf file you can obtain current values by executing the following command:

cat /proc/sys/kernel/sem

After obtaining current values, double them and add to the /etc/sysctl.conf file so that the line looks like.

kernel.sem = 512 32000 100 512

Execute sysctl in order the changes to take effect

sysctl –p

MailScanner + ClamAV causing high load on Ensim Pro for Linux

Ensim Control Panel by default has the clamavmodule setting in MailScanner configuration, this was causing high loads on the server. This was also due to the MailScanner + ClamAV versions installed on the server not being compatible with each other.

To address this we are providing the rpms for the latest compatible versions of these two softwares with clamav setting which is less resource hungry as compared to the clamavmodule.

Downloads From::

32bit OS
http://download.pro.parallels.com/download/pro/linux/kb/2505/i386/

64bit OS
http://download.pro.parallels.com/download/pro/linux/kb/2505/x86_64/

Installation Procedure:

1. Get the RPMs from the locations mentioned above.
2. Upgrade the RPMs (rpm -Uvh *.rpm)
3. sh upgrade.sh

Reference: http://parallels.com

SBDavid

Resolving high MySQL memory usage.

On RHEL uses a memory efficient /etc/my.cnf file. If you install MySQL on a Debian server, edit the key_buffer_size setting in /etc/mysql/my.cnf. A small value like 2M often works well. For an ultra-tiny setup add or change the follow entries to the mysqld section:

# if your are not using the innodb table manager, then just skip it to save some memory
#skip-innodb
innodb_buffer_pool_size = 16k
key_buffer_size = 16k
myisam_sort_buffer_size = 16k
query_cache_size = 1M