High Load Every Clear Cache
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
-
Hello :) Could you elaborate on the specific command that is running on a cron job? Thank you. 0 -
Hi, i used this script to run on clear cache memory [QUOTE] #!/bin/sh sync; echo 3 > /proc/sys/vm/drop_caches 0 -
This would be more-so an issue with your OS, as opposed to an issue with cPanel. You may want to consult with your data center or a qualified system administrator. Note that the following thread may also be useful to you: Troubleshooting High Load on Linux Servers Thank you. 0 -
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. 0
Please sign in to leave a comment.
Comments
4 comments