eAccelerator Filling Up/Tmp Directory
Posted by Will Kruss on 30 May 2016 10:04 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 Find: eaccelerator.cache_dir="/tmp/eaccelerator" and change it from /tmp/eaccelerator to /var/cache/eaccelerator and save the file. mkdir /var/cache/eaccelerator 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.
| |
|