PHP error: Unable to allocate memory for pool

php logo

Share with all..If you are getting below error Warning: Unable to allocate memory for pool then you may think it is PHP memory issue and update memory size in php.in file.. But the error occurs due to Alternative PHP Cache (APC). The APC directives need to be updated in this case. To resolve the issue, open apc.ini or php.ini file in editor …

Read More »

[How To] Automatically start Tomcat Service on boot in RHEL/CentOS/Ubuntu

tomcat

Share with all..The Apache Tomcat is widely use in the Application servers. Sometimes, naive users are not aware of starting/stopping tomcat service. Also, Apache Tomcat service auto start is required in case of server reboot. To achieve this, Apache Tomcat should be added in the desired runlevel with a script, as explained in the below steps. 1) Create script name …

Read More »

LFD Excessive Resource Usage Alerts

Linux logo

Share with all..The LFD service sometimes send excessive resource usage alerts as below: Time: Tue Nov 19 09:41:10 2013 +0530 Account: xxxxxx Resource: Virtual Memory Size Exceeded: 205 > 200 (MB) Executable: /usr/bin/php Command Line: /usr/bin/php /home/xxxxxx/public_html/index.php PID: 24933 (Parent PID:22578) Killed: No The above alerts are received when a process utilizes more than the memory defined in the CSF …

Read More »

MySQL Got error 28 from storage engine [Resolved]

mysql logo

Share with all..The MySQL database backup can be taken using mysqldump command from command line in a Linux server. Sometimes, the following error may occur while taking database backup "'Got error 28 from storage engine' when trying to dump tablespaces" Though the error does not provide much information, the issue is related with the disk space on the server. In …

Read More »

How to install PHP pear mail on CentOS & RedHat

php logo

Share with all..The PHP mail() function is use inside PHP scripts to send emails. This is the simplest way to send emails but not secure. Sometimes, the PHP mail() function might be missing and scripts migh start displaying warning/error messages. In this case, install PHP Mail extension using PEAR. This is simple and east way. 1) Make sure PHP PEAR …

Read More »