How to set quota on /tmp/eaccelerator as its fiiling up /tmp partition :


99.99% of the time I See /tmp full on cpanel servers because of Eaccelator.
If you have eaccelerator on your server, heres how to fix the problem.
nano /usr/lib/php.ini
Look for the eaccelerator cache directory 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

99.99% of the time I See /tmp full on cpanel servers because of Eaccelator.

If you have eaccelerator on your server, heres how to fix the problem.

Login as root :

# vi  /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 will be the easiest solution. !!!🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: