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.

Trash folder after deleting using File Manager

Discussion in 'General Discussion' started by mealto, Feb 19, 2008.

  1. mealto

    mealto Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    After we deleted quite a large folder using cPanel, WHM still shows the same amount of disk space usage. Is there a delay in WHM>>List Accounts or is there a trash folder that has to be purged?

    TIA.
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Disk space usage is not updated in real time. However, you can go to the client's cPanel -> Files -> Disk Space Usage and on the drop-down box on that page click Clear File Usage Cache to force cPanel to more accurately reflect current disk space consumption.
     
  3. mealto

    mealto Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for the reply David.

    Once inside the Files>>Disk Usage area, I noticed mail/domain.com is almost 1 Gig. Then as you scroll down, there are only a handful of email addresses in this list. ie. mail/.me@domain.com

    The ones that are listed have small usage but the main one above (mail/domain.com) has the majority of space usage.

    1. How can we see which email address is using most of the space?

    2. How come only some email addresses show up in the Disk Usage page?

    3. How large can mail/domain.com get before it is detrimental or will begin causing issues?
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Are you sure the default mail is set to fail? If it is set to the main email account (catch-all), that box can get filled very fast with spam.

    I would recommend sorting the list by disk space consumed and looking for any folders in /mail/. It would be best to increase the depth at least once so you can see individual accounts stored in /mail/domain/account where that stores the mail for account@domain.

    Are you sure you have clicked "Increase Depth" at least once?

    If you are using the maildir format (which has been default in cPanel/WHM for years) then the amount of mail shouldn't cause server-side issues such as sluggish performance by the server.
     
  5. mealto

    mealto Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Perfect. I see what you are saying now. Looks like we have a spam folder set up to catch spam and that is increasing in size. How do we delete all the emails in the spam account without having to delete and recreate it again. Don't want to try this as there are filter spam rules in place pointing spam to this box so if there is a way to delete all email in the spam email account, that would be great.

    Thanks for your help David.
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    In the maildir format, each email is its own file. That makes building a shell script to empty the spam boxes feasible if you need to do this for a number of accounts.
     
  7. mealto

    mealto Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    If we do not have the tech capability to write that script, can we delete the account in question then recreate it again. Will this be ok to do without it causing issues with all the forwarding and filters already associated with this account?
     
  8. mealto

    mealto Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Here is something odd. This account:

    mail/.spamaccount@domain.com/new

    Shows 150 megabytes of space is used inside Disk Space Usage. But when you Email Accounts, it shows 0 megabytes used. Even when we delete that account and force cache to be cleared, Disk Usage still shows the 150 megabytes associated with

    mail/.spamaccount@domain.com/new

    Any ideas?
     
  9. mealto

    mealto Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Hey David, can you help?
     
  10. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    This is beyond my area of expertise, but feel welcome to submit a support ticket about this: http://tickets.cpanel.net/submit
     
  11. mealto

    mealto Well-Known Member

    Joined:
    Oct 20, 2006
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    Thanks David,

    So anyone who paid for a licensed cPanel server can use your ticketing system to get help?
     
  12. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Direct customers and our partners receive priority over our non-direct customers. Those who acquired their licensing via a reseller should first seek support from their cPanel licensing provider.

    While we typically will not refuse support to those who should be receiving support from their cPanel licensing provider, there will be significantly longer wait times for those who did not acquire their licensing from cPanel, Inc than those who did acquire their licensing from cPanel, Inc.

    If you prefer the quicker response times our direct customers experience, then you may wish to purchase Priority Support from the cPanel Store located at:

    http://www.cPanel.net/store

    Priority Support tickets are equal in priority to those of our direct customers.

    However, if you are willing to be patient then there is no need to purchase Priority Support at this time.
     
Loading...

Share This Page