Skip to main content

Need to find the cause of website aceess lock up

Comments

6 comments

  • Archmactrix
    Among those crons are the bandmin cron which is logged every hour at xx:58:01 and xx:02:01. It might perhaps be worth mentioning that I haven't enabled quotas in WHM (Initial quotas setup) on the virtuozzo VPS, but it's in progress now.
    0
  • madmanmachines
    So, load, I/O wait, and RAM is all good during this time frame? Have you not simply used `top' at this time to monitor load and I/O wait? You may also try using the `free' command or `sar -r' command to monitor RAM usage. Additionally, if you feel that the scheduling of the crons is the issue, why not test this by changing cron times one by one? You may also be overlooking crons from other users. You can run the following command from root to look at all cron's: -- for user in $(cut -f1 -d: /etc/passwd); do echo $user && crontab -u $user -l; done -- Regards,
    0
  • Archmactrix
    ]So, load, I/O wait, and RAM is all good during this time frame? Have you not simply used `top' at this time to monitor load and I/O wait? You may also try using the `free' command or `sar -r' command to monitor RAM usage. Additionally, if you feel that the scheduling of the crons is the issue, why not test this by changing cron times one by one? You may also be overlooking crons from other users. You can run the following command from root to look at all cron's: -- for user in $(cut -f1 -d: /etc/passwd); do echo $user && crontab -u $user -l; done -- Regards,

    There is no user cron at this time except for the feed update script I/O wait seems be normal RAM is normal, no rise nor insufficiency at the time, 1.3GB of available 6GB. CPU time spent idle is about 9x.xx% at this time But the load gets higher, it rises from 0.1x and up to 2.00 for few minutes. Today I saw it rise up to 2.00 at xx:02 clock when the bandmin process appeared. This is a bit high for a 2 core VPS production machine (Xeon E5-2660 @ 2.20GHz), but I have managed to browse my sites when it's even higher, but not comfortably. I'm thinking about changing cron times, but I haven't found the right time for the job. I have overview of all the crons and when they run. I think it's best to find out what can be done with the bandmin cron and if there is something that needs to be improved with this process on the server. If I change the time for the bandmin cron, is there anything else I need to change that is related to this process? I have these crons usually every hour: bandmin xx:58:01 and xx:02:01 user feed script xx:00:03 dcpumon xx:00:03 sa1 xx:00:03 cron.hourly xx:01:01
    0
  • cPanelMichael
    Hello :) I suggest temporarily disabling the user's PHP script that's run on a cron job to rule that out as the cause of the issue. Also, yes, you can change the time that your bandmin cron job runs without effecting any other services. Thank you.
    0
  • Archmactrix
    ]Hello :) I suggest temporarily disabling the user's PHP script that's run on a cron job to rule that out as the cause of the issue. Also, yes, you can change the time that your bandmin cron job runs without effecting any other services. Thank you.

    Hi, this appears to be in order now starting just few hours ago. It's unlikely that the feed script has been the cause of this as it is not using that much resources. I got email today from the hosting company CEO informing me of abusive clients on the server node and the host was in the process of resolving the issue and rebooting the server (the physical one). For few hours now, my issue has not been going on, but if this starts again I will contact the host and inform them of this.
    0
  • cPanelMichael
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.