Jared Stenquist » Page 'A fix for Eaccelerator filling up /tmp folder – WHM & CPanel'

A fix for Eaccelerator filling up /tmp folder – WHM & CPanel

UPDATE: If you simply want to clean out the /tmp/eaccerlator folder, the following command does the trick on CentOS and RedHat systems.

tmpwatch --mtime --all 336 /tmp/eaccelerator

———–

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

No related posts.

Posted in Computers & Internet, Questions Answered

3 comments to “A fix for Eaccelerator filling up /tmp folder – WHM & CPanel”

Leave a comment

You need to log in to comment.