How to set quota on /tmp/eaccelerator as its fiiling up /tmp partition :
99.99% of the time I See /tmp full on cpanel servers because of Eaccelator.
If you have eaccelerator on your server, heres how to fix the problem.
nano /usr/lib/php.ini
Look for the eaccelerator cache directory and change it from /tmp/eaccelerator to /var/cache/eaccelerator and save the file
mkdir /var/cache/eaccelerator
service httpd stop
rm -rf /tmp/eaccelerator
service httpd start
99.99% of the time I See /tmp full on cpanel servers because of Eaccelator.
If you have eaccelerator on your server, heres how to fix the problem.
Login as root :
# vi /usr/lib/php.ini
Find :
eaccelerator.cache_dir=”/tmp/eaccelerator
and change it from /tmp/eaccelerator to /var/cache/eaccelerator and save the file.
# mkdir /var/cache/eaccelerator
#service httpd stop
#rm -rf /tmp/eaccelerator
#service httpd start
This will be the easiest solution. !!! 🙂
Leave a Reply