Hourly high cpu and ram peaks

then why the hell is there a spike in cpu at the beginning of every hour if it is a daily thing

There must be something else. I thought you meant it happens only at 01:00

Still waiting on this

No, the problem occurs on the first ten seconds of each and every hour

00:00 - 01:00 - 02:00 - 03:00 - 04:00 - 05:00 - 06:00 - 07:00 - 08:00 - 09:00 - 10:00 - 11:00 - 12:00 - 13:00 - 14:00 - 15:00 - 16:00 - 17:00 - 18:00 - 19:00 - 20:00 - 21:00 - 22:00 - 23:00

We can rule out cronjobs. Do you have many php websites running

no we have only only one web site.

this is the culprit

Memory and CPU usage spiked cuase from the image it barely uses any


That script updates bandwidth usage so that would not affect resource usage

@josephgodwinke

after this

100% cpu loading

and its disappear on screen

Use this to change the time the cronjob for bandwith and disk usage updates runs. You can run it once a day to the deterrent of you not seeing the most recent stats about bandwidth and disk usage until the following day

@josephgodwinke Could you please tell me how to change the file in a more detailed way? I don’t want to make any minor mistakes.
How can I change the file exactly? Can you please explain it more?
Should I change the part where it says ‘1 hour’ into ‘1 day’?
Would that work?

$ nano /var/spool/cron/crontabs/root || vi /var/spool/cron/crontabs/root

## change the respective like this to run at 12:00 a.m.
0 0 * * * /usr/local/CyberCP/bin/python /usr/local/CyberCP/plogical/findBWUsage.py >/dev/null 2>&1

After the change monitor cpu usage

thanks @josephgodwinke problem solved

i have another problem about remote smtp server sending mails slow. (it takes 3-5 seconds)
should i ask here or open a new thread?

Open a new topic

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.