Results 1 to 4 of 4

Thread: /tmp at 100%

  1. #1
    Join Date
    Jan 2004
    Posts
    58

    Angry /tmp at 100%

    This has always made me a tad bit angry.

    When the /tmp drive gets full, bad things tend to happen.

    Being that this is a temporary drive, I would have thought the OS would clear-out all non-locked files as the drive approached 100%, and then forceably killed files if it reached 100%.

    Is that expecting too much from a modern OS?

    Maybe I am just annoyed that my forums have gone down

  2. #2
    is the /tmp is in a seperate partition ?

  3. #3
    Greetings:

    For security purposes, /tmp should be mounted in a separate partition from the other areas.

    That stated, if /tmp is a pseudo partition, then look at expanding it.

    In any event, you do need to keep a watch on what goes into /tmp to ensure it does not go over 95% (100% is the dead mark, but give yourself some room).

    Thank you.
    ---
    Peter M. Abraham
    LinkedIn Profile

  4. #4
    Run tmpwatch on cron. This is not a problem with the OS but your setting. If you find that you are not having enough space, lower the aging of the files. tmpwatch can kill all files that are of a certain age.

    However to do this, make sure you do not set your /tmp partition to the noatime flag.
    Like us on Facebook to qualify for discounts!
    http://www.sprintserve.net
    Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting |
    Services: | Managed Multiple Cores 64bit Servers | Server Management |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •