pm = dynamic pm.max_children = 50 pm.start_servers = 30 pm.min_spare_servers = 20 pm.max_spare_servers = 50 pm.max_requests = 1000 pm.process_idle_timeout = 10s request_terminate_timeout = 10s request_slowlog_timeout = 0 这样设置会网页打开偶尔会502,需要修改哪个数值调大啊⠀ |
pm.max_children = 100 pm.min_spare_servers = 50 pm.max_spare_servers = 100 502可能是你nginx的单IP连接数限制太小了。 |
谢谢,我试试⠀ |