Board logo

标题: [求助] wdcp环境中的lanmp 打开网站报504 gateway time-out [打印本页]

作者: lvfengya    时间: 2017-4-12 15:25     标题: wdcp环境中的lanmp 打开网站报504 gateway time-out

wdcp环境中的lanmp 打开网站报504 gateway time-out

查看nginx error_log  显示的错误是:
2017/04/12 12:06:16 [warn] 2114#0: *36863160 an upstream response is buffered to a temporary file /www/wdlinux/nginx-1.8.1/proxy_temp/3/34/0000009343 while reading upstream, client: 101.200.106.9, server: eshop.dell-brand.com, request: "GET /xms/index.php?r=order%2Fprint&id=224800 HTTP/1.1", upstream: "http://127.0.0.1:88/xms/index.php?r=order%2Fprint&id=224800", host: "eshop.dell-brand.com", referrer: "https://eshop.dell-brand.com/xms/index.php?r=order%2Fview&id=224800"

我看过LNMP架构的,需要更改php-fpm.conf文件中的把max_children由之前的10改为现在的30,这样就可以保证 有充足的php-cgi进程可以被使用;
把request_terminate_timeout由之前的0s改为60s,

请大神赐教,在lanmp架构中这个问题的修复方案,谢谢!
作者: zhengnan0657    时间: 2017-6-26 23:19

解决了吗,解决了吗,解决了吗,解决了吗,解决了吗,




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2