Announcement

Collapse
No announcement yet.

Strategy for dealing with high load accounts and rebooting within CloudLinux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Strategy for dealing with high load accounts and rebooting within CloudLinux

    I have 10 accounts in my CloudLinus/cPanel server. One of the accounts uses lots of CPU and "crashes" a couple times a day. No other accounts are affected -- only this one accounts website crashes.

    If I reboot the entire server, then the site is normal again. But I would rather not reboot the entire server. Is there a manual way to only reboot that one account? Also, is there an automative method to reboot an account if it reaches a higher usage level?

    Thank you for advice~

  • #2
    I did not got what is the core of the issue here... What do you mean by one account crashes? Getting errors 500* on site? Is it reaching any limits ( lveinfo --by-fault=any --period=1d --show-all)? Strange that is start working after reboot, maybe there are some hang processes for him when checked with lveps -p ?

    Comment


    • #3
      Sorry, I mean Error 508 for extended period of time (sometimes a few hours). It doesn affect other accounts/websites, and when I reboot the entire machine the stalled site works fine again.

      Comment


      • #4
        Then check if he was hitting limits, and if issue happen again check processes attached to this LVE with lveps -p.

        Comment


        • #5
          Hi, ok Ive been monitoring this server for a few weeks. It crashes about once a day. Specifically, the mysql server-wide crashes, which then affects all the accounts that rely on mysql. When I reboot the entire server, everything is back to normal for a while until it crashes again.

          Im fairly certain one particular account is affecting things, but with LVE it should isolate itself and have no impact on anything else, correct? I used lveps -p a few times but nothing seemed odd.

          Are there any other troubleshooting tips you can provide? Im now running CloudLinux on a bunch of servers, but only this server appears to have the issue. Almost all of the other servers are running the same configurations too, so this seems like an isolated case.

          Thank you~

          Comment


          • #6
            Are you running Mysql Governor?

            Comment


            • #7
              Well, issue is still not clear for me. Am I right that the main symptoms you see is 508 errors on websites (all websites?) . You said mysql is crashing, how?

              The best way to move forward is to create ticket in our support system so we could install some monitoring script trying to catch the issue.

              Comment

              Working...
              X