• 请不要在回答技术问题时复制粘贴 AI 生成的内容
passion336699
V2EX  ›  程序员

求各位帮忙分析下 php5-fpm connect failed..

  •  
  •   passion336699 · Mar 23, 2016 · 2906 views
    This topic created in 3752 days ago, the information mentioned may be changed or developed.

    2016/03/22 18:36:46 [error] 10164#0: *167 connect() to unix:/var/run/php5-fpm.sock failed (11: Resource temporarily unavailable)

    这种情况,是我 php5-fpm 的配置,还是 nginx 的配置优化问题? 访问量大了之后,就会小几率出现这种情况,有时候 reload nginx 就能恢复,有时候只能重启服务器了.. 我改怎么修复这个 error?

    2 replies    2016-03-23 10:45:26 +08:00
    guoer
        1
    guoer  
       Mar 23, 2016
    调大 pm.max_children 试试?
    passion336699
        2
    passion336699  
    OP
       Mar 23, 2016
    @guoer 现在 max_children 值是 5,请问需要加到多少啊?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1346 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 17:12 · PVG 01:12 · LAX 10:12 · JFK 13:12
    ♥ Do have faith in what you're doing.