If the 503 error is not random, it maybe a problem with PHP build and PHP crashed. If switch back to Apache, you will get a blank page instead of 503 error page instead, that's all due to PHP crash. You can try different PHP version, turn off opcode cache, etc.