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

This entry was posted in Computers & Internet, Questions Answered. Bookmark the permalink.

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

  1. Info says:

    You also needed to change the folder permission of eaccelerator at the new location to 1777 for this to work.

  2. Info says:

    You also needed to change the folder permission of eaccelerator at the new location to 1777 for this to work.

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>