September 8th, 2009
A fix for Eaccelerator filling up /tmp folder – WHM & CPanel
I just found a fix for the /tmp folder filling up with session files from Eaccelerator.
The trick is to move the cache folder to a larger partition. In our case our /tmp folder is 1GB and it was hitting 90% full regularly.
Login as root :
# pico /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



January 5th, 2010 at 2:34 am
You also needed to change the folder permission of eaccelerator at the new location to 1777 for this to work.
January 5th, 2010 at 7:34 am
You also needed to change the folder permission of eaccelerator at the new location to 1777 for this to work.