Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 12 of 12
  1. #1
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default Trash folder after deleting using File Manager

    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. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mealto View Post
    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.
    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. #3
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    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. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mealto View Post
    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.
    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.

    Quote Originally Posted by mealto View Post
    1. How can we see which email address is using most of the space?
    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.

    Quote Originally Posted by mealto View Post
    2. How come only some email addresses show up in the Disk Usage page?
    Are you sure you have clicked "Increase Depth" at least once?

    Quote Originally Posted by mealto View Post
    3. How large can mail/domain.com get before it is detrimental or will begin causing issues?
    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. #5
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    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. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mealto View Post
    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.
    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. #7
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    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. #8
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    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. #9
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    Hey David, can you help?

  10. #10
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mealto View Post
    Hey David, can you help?
    This is beyond my area of expertise, but feel welcome to submit a support ticket about this: http://tickets.cpanel.net/submit

  11. #11
    Member
    Join Date
    Oct 2006
    Posts
    168

    Default

    Thanks David,

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

  12. #12
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mealto View Post
    Thanks David,

    So anyone who paid for a licensed cPanel server can use your ticketing system to get help?
    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.

Similar Threads & Tags
Similar threads

  1. .trash_restore file in Legacy File Manager shouldn't visible in the trash can
    By jpratt in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 01-14-2011, 12:06 PM
  2. Deleting Files From File Manager
    By tom97531 in forum New User Questions
    Replies: 1
    Last Post: 04-25-2010, 02:08 PM
  3. Cannot empty trash folder in cpanel file mgr
    By happywestie in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-30-2007, 12:45 PM
  4. Deleting Files with File Manager Issues
    By zastarri in forum New User Questions
    Replies: 1
    Last Post: 06-15-2005, 12:16 AM
  5. User's Trash from File Manager
    By lyonsw in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-09-2004, 10:08 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube