eAccelerator Filling Up/Tmp Directory
Written by: Will Kruss on 04 October 2012 11:33 PM
Are you running out of space in your up/tmp directory? To fix this you need to change the cache directory that eAccelerator uses.
This article is for those running eAccelerator (common and recommended in cPanel for faster webserving). You may find you are running out of space in your /tmp directory. To fix this you need to change the cache directory that eAccelerator uses.
# pico /usr/lib/php.ini
and change it from /tmp/eaccelerator to /var/cache/eaccelerator and save the file.
chmod 755 /var/cache/eaccelerator
service httpd stop
rm -rf /tmp/eaccelerator
service httpd start
UPDATE: If you simply want to clean out the /tmp/eaccerlator folder, the following command does the trick on CentOS and RedHat systems.