VPS侦探论坛

 找回密码
 注册
查看: 6851|回复: 5

lnmpa出现502该修改哪个值?

[复制链接]
发表于 2012-3-31 17:19:07 | 显示全部楼层 |阅读模式

今天对本地服务器进行压力测试,当调到最大的时候,服务器居然还能顺畅访问。
系统很牛啊。
不过有个问题,偶尔出现了502,并提示出了nginx版本号。不过刷新就能访问。
我看到说LNMP的话,可以修改max_children,但是我装的LNMPA没发现/usr/local/php/etc/下有php-fpm.conf,该修改哪里呢?
谢谢。

/usr/local/php/etc/下只有php.ini

[ 本帖最后由 yew30 于 2012-3-31 17:21 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-3-31 21:24:10 | 显示全部楼层


lnmpa的502不好说原因,最好是发日志看看具体什么原因才能说解决方法
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-4-1 12:35:49 | 显示全部楼层

请问军哥需要哪个日志?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-4-2 08:52:39 | 显示全部楼层



/usr/local/apache/log/error.log
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-4-2 12:54:06 | 显示全部楼层

我发现当对服务器进行压力测试的同时浏览服务器上的网页,虽然浏览器显示的是502,但是同个时间,/usr/local/apache/log/access_log中显示的是200。

出现502时,总是网页载入非常缓慢,迟迟不出来,然后来个502.

erroe_log

  1. [Mon Apr 02 11:07:20 2012] [notice] SSL FIPS mode disabled
  2. [Mon Apr 02 11:07:21 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
  3. [Mon Apr 02 11:07:21 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
  4. [Mon Apr 02 11:07:21 2012] [notice] SSL FIPS mode disabled
  5. [Mon Apr 02 11:07:22 2012] [notice] Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/1.0.0-fips PHP/5.2.17p1 configured -- resuming normal operations
  6. [Mon Apr 02 11:08:28 2012] [error] [client 192.168.0.30] File does not exist: /home/wwwroot/kl.xusir.com/favicon.ico
  7. [Mon Apr 02 12:46:13 2012] [notice] caught SIGTERM, shutting down
  8. [Mon Apr 02 12:46:13 2012] [notice] SSL FIPS mode disabled
  9. [Mon Apr 02 12:46:13 2012] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
  10. [Mon Apr 02 12:46:14 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
  11. [Mon Apr 02 12:46:14 2012] [notice] SSL FIPS mode disabled
  12. [Mon Apr 02 12:46:14 2012] [notice] Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/1.0.0-fips PHP/5.2.17p1 configured -- resuming normal operations
复制代码

军哥运维代购:http://shop63846532.taobao.com/

发表于 2012-4-2 15:55:10 | 显示全部楼层

没有什么有价值的信息,没法判断
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-22 17:26 , Processed in 0.026714 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表