For some reasons unknow to me, Apache is crashing.
This is the apache log at the moment of the crash:
[Sat Jun 02 02:38:05.196006 2018] [mpm_prefork:
Below steps worked out for me in my case.
Connect to the server via SSH
Edit the /etc/apache2/apache2.conf file. Below command I used nano editor and you can use your favorite editor
sudo nano /etc/apache2/apache2.conf
Search for "Mutex" section
Add the below line,
Mutex posixsem
Save and close the file.
Check the configuration before restarting Apache service by running the command,
sudo apachectl configtest
sudo service apache2 restart
Hope this helps someone.