Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 8 of 8

This is a discussion on /usr/tmpDSK ?! in the VPS & Dedicated forum
Anyone found a file: /usr/tmpDSK which is about 500MB in size in their VPS (it shouldn't exist in a dedicated). I wonder if its something ...

  1. #1
    Loyal Client thisisit3's Avatar
    Join Date
    Mar 2007
    Posts
    642

    /usr/tmpDSK ?!

    Anyone found a file: /usr/tmpDSK which is about 500MB in size in their VPS (it shouldn't exist in a dedicated).

    I wonder if its something left out when the VPS is created, like an image file...

  2. #2
    Nearly 100% Pure Carbon thecoalman's Avatar
    Join Date
    Nov 2007
    Location
    Northeast Pennsylvania
    Posts
    529
    I'm using Plesk and no I don't have that file.

    Since this forum seems to be hi-jack central :P , while on the subject of temporary files I'm assumming all files in the tmp folder can be deleted?

    Any other places I should look for files that can be deleted?

  3. #3
    Loyal Client thisisit3's Avatar
    Join Date
    Mar 2007
    Posts
    642
    well, you have to be careful because you'll delete PHP session files if you just delete everything in /tmp, which means some people using sessions will be logged out from whatever website they are using.

    also, some applications store socket files under /tmp, so be careful what you delete.

  4. #4
    Nearly 100% Pure Carbon thecoalman's Avatar
    Join Date
    Nov 2007
    Location
    Northeast Pennsylvania
    Posts
    529
    OK, hands off then.

  5. #5
    JPC Dream Team JPC-Veena's Avatar
    Join Date
    Sep 2002
    Posts
    572
    thisisit3,

    I believe /usr/tmpDSK is the file created by cpanel's securetmp script probably for mounting/creating /tmp as a separate partition. You can get a better idea by reading /scripts/securetmp
    Veena K John
    Jaguar Technologies, LLC.

    Helpful Links
    Knowledge Base | Network Status | Current Specials

    Need a Manager?
    (pm) | (email) David, Customer Service Manager

  6. #6
    Loyal Client thisisit3's Avatar
    Join Date
    Mar 2007
    Posts
    642
    hmm indeed!

    do you know who or what uses the script "securetmp"? is it something thats executed automatically?

    since the /tmp/tmpDSK has a file date back in 2006..

  7. #7
    JPC Dream Team JPC-Veena's Avatar
    Join Date
    Sep 2002
    Posts
    572
    cpanel uses it to secure /tmp and mount it as noexec etc. Yes, it is executed automatically and in some cases after every vps reboot.
    Veena K John
    Jaguar Technologies, LLC.

    Helpful Links
    Knowledge Base | Network Status | Current Specials

    Need a Manager?
    (pm) | (email) David, Customer Service Manager

  8. #8
    Loyal Client thisisit3's Avatar
    Join Date
    Mar 2007
    Posts
    642
    the weird thing is, i've never executed the securetmp script myself. For some reason i do have a /usr/tmpDSK file with a size of 500MB !!

    even though the file exists, its not used, i checked and this particular system is not using a secure tmp, also its not loaded on boot because the /etc/rc.local has:

    #--Added by /scripts/securetmp--
    #/scripts/securetmp --auto

    the lines are commented out

    anyway, i've deleted the file since its of no use to me and its wasting 500megs for no reason.

    even if i did run securetmp, i'd modify the script to create a 100mb tmp, which is closer to reality (my current usage is about 5-10mb).

    Veena, thanks for the help, much appreciated.

Bookmarks

Posting Permissions

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