VPS侦探论坛

 找回密码
 注册
查看: 5863|回复: 1

请教如何分析php-fpm.log?系统出问题了。

[复制链接]
发表于 2012-2-15 12:00:24 | 显示全部楼层 |阅读模式

系统出问题,ssh和ftp都可以登陆,但是网站打不开,总是502错误,
看了一下php-fpm.log,找不出原因希望高手能指点下,感谢!


Feb 15 11:51:42.971004 [NOTICE] fpm_children_make(), line 352: child 8831 (pool default) started
Feb 15 11:51:42.971095 [WARNING] fpm_stdio_child_said(), line 167: child 8831 (pool default) said into stderr: "Feb 15 11:51:42.963441 [ERROR] fpm_unix_init_child(), line 168: setrlimit(RLIMIT_NOFILE) failed: Invalid argument (22)"
Feb 15 11:51:45.335863 [WARNING] fpm_request_check_timed_out(), line 158: child 8730, script '/home/wwwroot/you.qingdiao.com/do.php' (pool default) execution timed out (60.086367 sec), terminating
Feb 15 11:51:45.340145 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Feb 15 11:51:45.340196 [WARNING] fpm_children_bury(), line 215: child 8730 (pool default) exited on signal 15 SIGTERM after 118.689756 seconds from start
Feb 15 11:51:45.351206 [NOTICE] fpm_children_make(), line 352: child 8834 (pool default) started
Feb 15 11:51:45.351299 [WARNING] fpm_stdio_child_said(), line 167: child 8834 (pool default) said into stderr: "Feb 15 11:51:45.341322 [ERROR] fpm_unix_init_child(), line 168: setrlimit(RLIMIT_NOFILE) failed: Invalid argument (22)"
Feb 15 11:51:50.096165 [WARNING] fpm_request_check_timed_out(), line 158: child 8791, script '/home/wwwroot/you.qingdiao.com/do.php' (pool default) execution timed out (60.067138 sec), terminating
Feb 15 11:51:50.097908 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Feb 15 11:51:50.097963 [WARNING] fpm_children_bury(), line 215: child 8791 (pool default) exited on signal 15 SIGTERM after 60.060051 seconds from start
Feb 15 11:51:50.108799 [NOTICE] fpm_children_make(), line 352: child 8847 (pool default) started
Feb 15 11:51:50.108871 [WARNING] fpm_stdio_child_said(), line 167: child 8847 (pool default) said into stderr: "Feb 15 11:51:50.099004 [ERROR] fpm_unix_init_child(), line 168: setrlimit(RLIMIT_NOFILE) failed: Invalid argument (22)"
Feb 15 11:52:01.316874 [WARNING] fpm_request_check_timed_out(), line 158: child 8793, script '/home/wwwroot/you.qingdiao.com/do.php' (pool default) execution timed out (60.000934 sec), terminating
Feb 15 11:52:01.319047 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Feb 15 11:52:01.319088 [WARNING] fpm_children_bury(), line 215: child 8793 (pool default) exited on signal 15 SIGTERM after 61.122767 seconds from start
Feb 15 11:52:01.320869 [NOTICE] fpm_children_make(), line 352: child 8896 (pool default) started
Feb 15 11:52:01.320921 [WARNING] fpm_stdio_child_said(), line 167: child 8896 (pool default) said into stderr: "Feb 15 11:52:01.320044 [ERROR] fpm_unix_init_child(), line 168: setrlimit(RLIMIT_NOFILE) failed: Invalid argument (22)"
Feb 15 11:52:42.371457 [WARNING] fpm_request_check_timed_out(), line 158: child 8824, script '/home/wwwroot/you.qingdiao.com/space.php' (pool default) execution timed out (60.011628 sec), terminating
Feb 15 11:52:42.373679 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Feb 15 11:52:42.373728 [WARNING] fpm_children_bury(), line 215: child 8824 (pool default) exited on signal 15 SIGTERM after 62.698514 seconds from start
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-2-15 14:52:22 | 显示全部楼层


修改/usr/local/php/etc/php-fpm.conf 里的rlimit_files为65535 重启试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 16:40 , Processed in 0.025039 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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