High Load Every Clear Cache

mgilank

Member
Nov 9, 2012
8
0
1
cPanel Access Level
Root Administrator
Hi all, i've placed memory clear cache on cron job every 3 hours, and this will make high load on server every it execute
why can this be happen?
and how to solve this issue?
thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Could you elaborate on the specific command that is running on a cron job?

Thank you.
 

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
Disillusioned in England
cPanel Access Level
Root Administrator
Is there a specific reason why you're doing this? (I'd guess there is...) Load will immediately go up after doing this because you've dropped Linux's caches (which it should generally be pretty good at managing itself), the machine has to work harder without these caches in place until they've been rebuilt.

In the case of cPanel servers, having instances or machines completely run out of memory (provided the server simply isn't too small ram wise for what you're running) is generally an indication something is going awry with a site / user account and it's scripting, or that you need to make a decision about how for example php runs or how to mitigate heavy usage / an attack.