cPanel daily software updates and service restarts
I have serious problem with the software updates performed on my cPanel server. Namely, there is the cPanel's automated nightly maintenance process (/scripts/upcp), which runs daily to perform updates and post-update checks. As a result, depending on the software that is updated every time, a number of services are automatically restarted.
The above process causes serious impact on my business. For example, I'm using Redis for hosting the Full Page Cache of Magento. For maximum performance I have not setup Redis so as to periodically save its data to a RDB file. As a result, when Redis is restarted, its data is lost, while my Cache Warmer utility needs more than a day to warm again the Full Page Cache of Magento. Till the Cache is warmed, the website is relatively slow which severely affects its average position at the search results of Google and other search engines.
The above was just one of the complications I have caused by the frequent restarts of various services that are essential for my online business.
Unless we talk about critical security updates, I don't find necessary that every software update is applied on the cPanel server as soon as it becomes available. This is definitely not a good practice for a production server. Regular software updates may be applied less frequently; for example once per month.
So, the question here is whether I can configure the cPanel's automated nightly maintenance process (/scripts/upcp) to run once per month.
-
in /etc/cpupdate
you can set
UPDATES=manualand then set a root crontab job to run
/usr/local/cpanel/scripts/upcp
once a month.0 -
I would say if you're going to make this change then *please* keep an eye on your email and either the Forums here or the changelogs so you're aware of any critical updates that may need to be applied.
0
Please sign in to leave a comment.
Comments
2 comments