but with order of lvectl execution
Announcement
Collapse
No announcement yet.
CloudLinux Bug: Please, read if you are experiencing problems
Collapse
X
-
There is a bug in the order /etc/init.d/lvectl is executed. It is executed after apache (httpd) is. As the result if any site gets accessed before lvectl is started, the LVE for that site is set with default limits. The CPU limit is set by default to 100% / 10 * number of cores.
This means that if you have 8 cores -- cpu limit will be set to 1, and site will not work. One of the side effects of it is that load shuts up very high right after the start, keeps going up, even on the server that is not loaded at all.
To see if you are experiencing the problem, run
cat /proc/lve/list
If you see LVEs with CPU limit not being set at default value (or value you have set).
To resolve the issue:
Edit /etc/init.d/lvectl
Change line # chkconfig: 2345 99 90
to line: # chkconfig: 2345 11 90
execute:
chkconfig lvectl resetpriorities
reboot the server.
We should have updated package that should resolve this issue fairly soon. I will update the post once we do.
Comment