openshift-cartridge-nginx-php7
openshift-cartridge-nginx-php7 copied to clipboard
Service Temporarily Unavailable
Hi,
I installed wordpress on this nginx cartridge, but my website constantly had this issue as following:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Apache/2.2.15 (Red Hat) Server at www.xxx.com Port 80
Why it is Apache/2.2.15 here? I am confused with this message. The problem will go after a few seconds by itself, and a few moments later it will come back again. I have tried to change config in /etc/www.conf.erb :
pm = dynamic pm.max_children = 1024 pm.start_servers = 32 pm.min_spare_servers = 32 pm.max_spare_servers = 1024
But it seems not working. Please let me know if you have any suggestions? Thanks!
OpenShift still runs Apache in front of every application. When you get the "Service Temporarily Unavailable", it means that there is no program listening for the host:port assigned to the application.
Check your configurations and logs for errors, then try restarting nginx within the SSH.