500 Internal Server Error Solution is pretty simple, every 2 minutes is running script, which check if 500, and if yes, it restarts server.