Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 18 of 18
  1. #16
    Member
    Join Date
    Feb 2005
    Posts
    312

    Default

    Quote Originally Posted by Infopro View Post
    The fix to remove session files is posted above. LFD needed restarted after an update, IIRC.
    you can put these in a script or in cron to keep /tmp tidy:
    find /tmp -name "_*.wrk" -mmin +120 -exec rm {} \; #apache tmp 2 hours old
    find /tmp -name "sess_*" -mmin +600 -exec rm {} \; #sessions 10 hours old

  2. #17
    Member
    Join Date
    Jan 2005
    Location
    London, UK
    Posts
    187

    Default

    Quote Originally Posted by freedman View Post
    you can put these in a script or in cron to keep /tmp tidy:
    find /tmp -name "_*.wrk" -mmin +120 -exec rm {} \; #apache tmp 2 hours old
    find /tmp -name "sess_*" -mmin +600 -exec rm {} \; #sessions 10 hours old
    Hi,
    I have similar issue with /tmp filling up and causing tons of spamd failures.

    Would the above cron(s) help, even if I have eAccelerator instaleed as a sub-directory in /tmp, or will these crons ignore all subdirectories?

    many thanks.

    - Vince

  3. #18
    Member
    Join Date
    Feb 2005
    Posts
    312

    Default

    Quote Originally Posted by mambovince View Post
    Hi,
    I have similar issue with /tmp filling up and causing tons of spamd failures.

    Would the above cron(s) help, even if I have eAccelerator instaleed as a sub-directory in /tmp, or will these crons ignore all subdirectories?

    many thanks.

    - Vince
    it should traverse subdirectories.

Similar Threads & Tags
Similar threads

  1. /tmp full
    By constantine in forum Optimization
    Replies: 6
    Last Post: 09-30-2010, 11:21 PM
  2. /tmp full
    By sampride in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-08-2008, 08:31 PM
  3. /TMP is getting full
    By jasgot in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-25-2008, 08:45 PM
  4. /tmp is full, but not!
    By tutt in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-24-2006, 09:13 AM
  5. /tmp full again :(
    By azooz25 in forum New User Questions
    Replies: 1
    Last Post: 05-06-2005, 10:29 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube