nginx + long lasting php process (zip): Bad Gateway
PHP (script himself): NGINX (http section): NGINX (location ~ \.php):
PHP (script himself): NGINX (http section): NGINX (location ~ \.php):
ps -p PID -o args=
mysql> show processlist;
supervisord.org
#!/bin/bash if [ $# -lt 1 ]; then exit 1 fi main() { while true; do $@ done } main $@ & exit