What is the best way to make changes without creating database / disk corruptions?

gilles

Active Member
#1
I have come to the conclusion that I am not doing things quite right to avoid database / disk errors, when either restarting OLS, restarting lsphp processes, installing server updates... I think one of the things that trip me up are WP cron jobs that keep running from crontab files every so many minutes.

I am wondering what best practices are for these situations. For instance, let's say I have to run an urgent server security update, let it be some OpenSSL library, redis/mariadb server, or something else used by OLS or Wordpress. What should I do with OLS / cron jobs / ... to make sure I can run these updates without creating database or disk corruptions?

Is the best way to boot into single user mode so that all services are shut down?
What would be a second best alternative?

Thank you for any advice on this. Feel free to point me to existing documentation if there is any online.
 
Top