The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WTF is wrong with this picture?

Discussion in 'General Discussion' started by X-Istencedotcom, Oct 19, 2003.

  1. X-Istencedotcom

    X-Istencedotcom Well-Known Member

    Joined:
    Apr 14, 2003
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    Okay, so we have lovely cPanel, and its mighty.

    Okay, well here is the problem, it PUTS stuff in /tmp, i wonder why, but hey its normal.

    But the problem is, that it leaves em there:

    /tmp:
    -rw-r--r-- 1 32019 32019 23277568 Oct 19 21:04 cpanel.TMP.F8JdUd7RnwKIDj2u
    -rw-r--r-- 1 32019 32019 368005120 Oct 19 12:39 cpanel.TMP.gC9tVpd8A0V5bFuw
    -rw-r--r-- 1 32019 32019 368005120 Oct 19 16:10 cpanel.TMP.iiLYZjpXjHFHU9fz
    -rw-r--r-- 1 32019 32019 209580032 Oct 19 15:42 cpanel.TMP.keOqsXJpvd8hcO__
    -rw-r--r-- 1 32019 32019 1765376 Oct 19 16:17 cpanel.TMP.l2qVbcc5yO5RcmqX

    Filesystem Inodes IUsed IFree IUse% Mounted on
    /dev/root 128K 24K 105K 19% /lib
    /dev/root 512K 59K 453K 12% /usr/lib
    /dev/root 512K 59K 453K 12% /usr/sbin
    /dev/root 512K 59K 453K 12% /usr/share
    /dev/root 512K 59K 453K 12% /usr/bin
    /dev/root 512K 59K 453K 12% /usr/X11R6
    /dev/root 512K 59K 453K 12% /usr/kerberos
    /dev/root 512K 59K 453K 12% /usr/man
    /dev/root 512K 4.7K 507K 1% /var/log
    /dev/root 512K 4.7K 507K 1% /var/spool
    /dev/root 512K 4.7K 507K 1% /var/lib
    /dev/root 512K 4.7K 507K 1% /var/run
    /dev/root 5.6M 33K 5.5M 1% /home/xistence
    /dev/root 128K 135 128K 1% /tmp
    /dev/root 128K 24K 105K 19% /dev
    /dev/root 128K 24K 105K 19% /bin


    So as you can see, /tmp is full, thus totally causing MySQL not being able to do anything anymore either.

    And since i am not admin on this server, i CANNOT delete the files.

    WHY DONT THEY GET DELETED WHEN CPANEL DOESNT NEED EM ANYMORE?

    They SHOULD be deleted as soon as cPanel doesnt need em anymore. Or, they need to find some place else to put them. Also, i suggest them changing the path where MySQL has the temp space to use, that way even if /tmp is full, MySQL can continue and you wont have people like me ranting about this sort of stuff :)

    X-Istence
     
  2. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    Those are aborted file uploads from cPanel's file manager.

     
  3. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    If this server were properly administered, it'd be removed periodically.

    Since it's not apparently, you end up with what you get. :) I remove files periodically in my own server... *shrug*.

    Brenden
     
  4. goodmove

    goodmove Well-Known Member

    Joined:
    May 12, 2003
    Messages:
    624
    Likes Received:
    0
    Trophy Points:
    16
    A cron job to remove them every so many hours should handle it. ;)
     
  5. acer2k

    acer2k Well-Known Member

    Joined:
    Nov 12, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    cPanel should handle it automatically :/ I used to have that same problem until I realized it. lol
     
  6. X-Istencedotcom

    X-Istencedotcom Well-Known Member

    Joined:
    Apr 14, 2003
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    We should not have to do the work of cPanel.

    cPanel should clean up temp files itself, as does any other good program, i dont care how you write it, but it better clean up temp files. As it will cause problems, that will cause us to lose clients.
     
  7. X-Istencedotcom

    X-Istencedotcom Well-Known Member

    Joined:
    Apr 14, 2003
    Messages:
    223
    Likes Received:
    0
    Trophy Points:
    16
    Re: Re: WTF is wrong with this picture?

    Yeah, i got that. But why are they not cleand up when not needed anymore, i suggest some of the programs used do some error checking, and or place it some place else. May i suggest /home as that mostly has enough space to accomodate all the user dirs, so it must have enough for the transfers.
     
  8. ob-1

    ob-1 Member

    Joined:
    Jan 18, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Do i need to pay extra for that option? :)
     
  9. acer2k

    acer2k Well-Known Member

    Joined:
    Nov 12, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    I am also interested in this additional option :) Is it a module or what?
     
  10. sky

    sky Well-Known Member

    Joined:
    Nov 24, 2002
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    0
    *sigh*

    you guys are really spoon fed! cpanel does not DO EVERYTHING ..... basic sysadmin still applies.

    /tmp is a directory that is normally purged with each reboot. this is of coz based on real sysadmin scripts and such. it is not something that you clear or get cleared by systems like cpanel.

    go write a simple shell script that deletes everything in /tmp then schedule it every day. if you want to pay for it ... i think there are lots of real sysadmins out there who would not mind making some money for a 2 liner shell script :)
     
  11. acer2k

    acer2k Well-Known Member

    Joined:
    Nov 12, 2001
    Messages:
    107
    Likes Received:
    0
    Trophy Points:
    16
    I don't expect it to do everything, but I expect it to clean up after itself. This isn't the only time cPanel doesn't do that. It also doesn't cleanup DNS, or httpd.conf, and I am sure there are several more
     
  12. sky

    sky Well-Known Member

    Joined:
    Nov 24, 2002
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    0
    acer .... just ignore me for a while :)

    i am sick of all this ranting and complains .... i have been running cpanel for a year now ... and frankly it has helped remove me alot of hassle rather than create hassle. I have been administrating servers for the past almost 10 years and believe me, cpanel has helped alot. now at least i can go and think about other stuffs.

    but still cpanel will never take over real administrative duties. it is just a control panel. and control panels just does what it says. To give you a panel/interface to allow control/configuration without much needed tweaking of codes manually.

    There are still things like clean ups, system patches, security checks, auditing etc. All these have to be done by a real sysadmin. Take out that person from a server, all you have is a control panel and a machine.

    Now, if you have a server and you have a fantastic control panel and you place a monkey(pun intended, no hard feelings) to handle the control panel, what you going to get is chaos. Yeah, you can tell the monkey to press these and that and those but bottom line is the monkey will never be able to understand the underlying concept of handling the system. much less to actually do something about it.

    You don't put a 12 year old to run IBM or CISCO right? You get REAL CEOs and management. Why? becoz that lot of people will know what to do.

    Same here with CPanel. Get a real administrator or learn how to really admin a server.

    I hope I don't offend anyone but I am just speaking frankly. I feel that we have to advance ourselves and learn. If we don't know, stop listen learn and move on. Ranting does nothing. Just provides some smoke for the cover. Cover of an empty jug.
     
  13. ob-1

    ob-1 Member

    Joined:
    Jan 18, 2003
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Well said.
     
  14. digitalSite

    digitalSite Member

    Joined:
    Jan 25, 2003
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    Learning...

    Well, for those who are still learning...anyone care to teach a bit and say where is the tmp that we need to empty and how to "clean it out"?:cool:
     
  15. christi1

    christi1 Well-Known Member

    Joined:
    Oct 20, 2003
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Texas, USA
    LOL ... 'WTF is wrong with this problem'

    classic.
     
  16. markie

    markie BANNED

    Joined:
    Oct 5, 2003
    Messages:
    143
    Likes Received:
    0
    Trophy Points:
    0
    What is cpoanel?
     
  17. NeutralGold

    NeutralGold Well-Known Member

    Joined:
    Jun 5, 2002
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    Let's you control multiple Microwaves at one time.
     
  18. vivacity

    vivacity Member

    Joined:
    Sep 20, 2003
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Won't deleting everything in /tmp also delete things such as php sessions?
     
  19. twhiting9275

    twhiting9275 Well-Known Member

    Joined:
    Sep 26, 2002
    Messages:
    538
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    deleting everything in /tmp should be done every few hours, obviously. Once you do so, you'll have to relink mysql.sock (as a few check/tmp.mysql.sock).
    /tmp is just that, it's a trashbin of sorts, a place for everything to store unused crap. That's why it's *usually* a+xrw

    As far as "cpanel should clean up after itself", there's a BIG problem here!!! If this is where cpanel stores files from ABORTED attempts at software installation, reason would state that it's not going to clean up ABORTED software installs. Logic would say that's not going to happen. Once the install is stopped (^c usually), then that's it, the script is done playing and it aborts everything started.
     
  20. fujiwara takumi

    fujiwara takumi Active Member

    Joined:
    Feb 11, 2003
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    6
    Cpanel isn't the only tool mentioned in this thread :-x
     
Loading...

Share This Page