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.

High load when suspending account.

Discussion in 'Workarounds and Optimization' started by SXR1337, Mar 28, 2008.

  1. SXR1337

    SXR1337 Member

    Joined:
    May 4, 2007
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I have recently started getting a very bad problem when an account is being suspended on my cpanel server. When an account is being suspended, the load skyrockets and a lot of quotaon -a jobs begin to run. I have read about similiar issues on this board, but couldnt find a suitable solution for me. Can you please advise? Thank you!

    Regards,
    Michel
     
  2. chaloupe

    chaloupe Well-Known Member

    Joined:
    Mar 17, 2006
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dieppe, NB, Canada
    I have the same issue since a while but only one quota -1 process but takes a lot of CPU usage.

    Any luck on what to prevent this?

    WHM 11.23.2 cPanel 11.23.6-S27225
    410 accounts on the server
     
  3. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Uncheck the following in Tweak Settings:

    Use Safe Quota Setting (quotas will be disabled, adjusted, and then re-enabled). This option should be enabled if you are having problems with lost disk quotas or other quota system corruption. Under software raid and other circumstances enabling this option will degrade server performance.
     
  4. chaloupe

    chaloupe Well-Known Member

    Joined:
    Mar 17, 2006
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Dieppe, NB, Canada
    It is already disable :)
     
  5. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Thanks for the clue. I too have seen the CPU shoot up a load average of a whopping 15 points or more when suspending accounts. So based on the advice in this forum I have done these two things:

    Disable Disk Quota display caching - is now CHECKED (it was not checked before).

    Use Safe Quota Setting - is now UN-CHECKED (it was checked before).

    I'm glad I ran into this post. (Sheesh!)
     
    #5 jols, Feb 20, 2010
    Last edited: Feb 20, 2010
  6. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Update, okay, this is really confusing language:

    Disable Disk Quota display caching (WHM will cache disk usage which may result in the display of disk quotas being up to 15 minutes behind the actual disk usage. Disabling this may result in a large performace degradation.)

    Now I don't know whiter this should be checked or unchecked for best performance. Anyone?
     
  7. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,448
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Leave it Unchecked. If you check it, you: "Disable Disk Quota display caching..."
     
  8. jols

    jols Well-Known Member

    Joined:
    Mar 13, 2004
    Messages:
    1,111
    Likes Received:
    2
    Trophy Points:
    38
    Roger that, thanks much, makes sense now.
     
Loading...

Share This Page