503 errors

connect_timeout value may be set too low not giving apache enough time to respond

This can happen if MaxClients (maximum number of concurrent slave processes) is reached in Apache prefork mpm (process based model for running Apache) or php-fpm server reached pm.max_children setting

default setting is 3.5 seconds