Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    3

    Default Deleteing /tmp in home dir

    Hello, I have clients that thier /tmp folders are filling up with data, the /tmp is used for the stats. If I delete the /tmp folder will it just start over and create a new /tmp and start from there?

    Also by deleteing this folder will it effect anything besides webstats?

    Thanks
    Greg V
    Attached Thumbnails Attached Thumbnails Deleteing /tmp in home dir-disk_space.jpg  

  2. #2
    Member This forum account has been confirmed by cPanel staff to represent a vendor.
    Join Date
    Jan 2005
    Posts
    89

    Default

    I wouldn't recommend deleting the entire folder, your best bet for each client having that problem is to go over the actual files in there and just delete the biggest ones.

    A few things you can do to help avoid the issue:

    Under WHM Tweak settings, uncheck the box for "Keep log files at the end of the month (default is off as you can run out of disk space quickly)".

    Check the box for "Delete each domain's access logs after stats run"

    That might help.
    Rachel Moran
    WHM Xtra
    www.whmxtra.com

  3. #3
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    The individual "tmp" directory within each user's home directory will be recreated if it is missing the next time log processing occurs for that account.

    The individual user tmp directories are primarily used for web statistics, including the statistics configuration file "stats.conf" that can be used to disable/enable specific statistics programs. There may be other usage depending on the circumstances, such as in cPanel 11.25 -- if Roundcube was converted from MySQL to SQLite by the server administrator then there may be the user's Roundcube error log and or a temporary backup of Roundcube data saved from the time of conversion.

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    To avoid or reduce future disk usage from web statistics I would consider to allow only one or two of the three statistics programs or, optionally, disable all three if desired (either for just one account or per server-wide defaults). Server-wide defaults and per-user settings may be modified via WHM at the following menu path:

    WHM: Main >> Server Configuration >> Statistics Software Configuration
    Documentation: Statistics Software Configuration

    Additionally, if allowed via the statistics software configuration preferences in WHM users may toggle per-domain statistics programs via cPanel at the following menu path:

    cPanel: Main >> Logs >> Choose Log Programs
    Documentation: Choose Log Programs

Similar Threads & Tags
Similar threads

  1. /tmp/ writeable and chmod of /home/user/tmp/
    By khorinis in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 09-11-2010, 08:37 AM
  2. mysql and tmp dir problems
    By Datcrack in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-05-2007, 02:02 AM
  3. Spammer getting into the tmp dir. Need help.
    By flamesburn in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-18-2005, 05:54 AM
  4. /tmp dir
    By thehostinghut in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-10-2005, 04:40 AM
  5. supicious file in /tmp dir
    By shann in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-24-2003, 01:51 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube