I have recently installed moodle 3.9 on CentOS 8 minimal version. Server runs on VM and allocated 16 cores and 64 GB ram due to 1000+ users. Now server starts restarting suddenly. No special senario to point out. all of sudden processor usage goes to 4Ghz or above and vm gettin stuck. Increased the php memory limit to 512MB and incresed values of php-fpm servers and process too. Do you guys have any idea where to look for next?
Using VM Vspere 6.5 with CentOS 8. Recently updated kernal to the latest version too. But no luck.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there @lakmalchamila,
I could suggest checking the logs at
/var/log/messages
, you can do that with the following command:In there look for the approximate time when the server last crashed.
Another thing that I could suggest is checking your PHP logs as well for some more information.
Feel free to share the logs here as well. Regards, Bobby
Hello there,
In addition to what has already been mentioned, I wanted to point out that CentOS Linux 8 has reached End Of Life (EOL) on December 31st, 2021.
I would strongly recommend planning either migration to another OS like Debian or Ubuntu, or upgrading to CentOS Stream.
I personally believe that the safest way to do this is to follow these steps here:
rsync
for example copy over your files and migrate your databasesRegards, Alex