Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Member orty's Avatar
    Join Date
    Jun 2004
    Location
    Bend, Oregon
    Posts
    92

    Default eaccelerator Cache - Easy way to clear out?

    I have a server with a 2GB /tmp partition, and while the server is running fine, eaccelerator is gradually filling up the /tmp directory (1.5GB of the 2GB). Is there an easy way to clear out the cache that won't break stuff (I know an rm -rf will do the trick, but I worry that'll break something) or at least clean out the files that are older and unused/needed? I just basically want it to go through and clean out all the stuff that's older than a few days.

    Update about 20 minutes later: Found this little gem (only works on CentOS/RedHat systems):
    Code:
    tmpwatch --mtime --all 336 /tmp/eaccelerator
    Clears out all files modified older than two weeks ago in the eaccelerator folder. Worked like a chart, eaccelerator still appears to work fine, and /tmp free space is MUCH better (1.8GB free).

    -Jake
    Last edited by orty; 03-22-2009 at 03:10 PM. Reason: Found a solution.
    Jake Ortman: Jake-of-all-Trades Geek/Blogger

Similar Threads & Tags
Similar threads

  1. Need a function to clear cPanel cache.
    By testpgm in forum cPanel Developers
    Replies: 2
    Last Post: 07-26-2010, 06:28 PM
  2. Really need eAccelerator Stable version, but not this problematic eAccelerator 0.9.6
    By virtualreality in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-21-2010, 03:56 PM
  3. How to clear dns cache for windows vista
    By dbadwal in forum New User Questions
    Replies: 4
    Last Post: 01-21-2010, 10:35 PM
  4. Clear cPanel Cache
    By Timmah in forum New User Questions
    Replies: 3
    Last Post: 01-19-2010, 08:59 AM
  5. Clear File Usage Cache
    By andrewj in forum New User Questions
    Replies: 5
    Last Post: 05-16-2007, 10:27 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube