php-fpm日志问题

冷了个冷的热热 2017-11-22 08:23:09
php-fpm日志出现以下情况: 不知道如何解决
[21-Nov-2017 18:33:49] NOTICE: [pool www] child 5737 started
[21-Nov-2017 19:08:49] WARNING: [pool www] child 5737, script '/var/www/bbs/index.php' (request: "GET /index.php") execution timed out (1193.068792 sec), terminating
[21-Nov-2017 19:08:49] WARNING: [pool www] child 5737 exited on signal 15 (SIGTERM) after 2100.005507 seconds from start
[21-Nov-2017 19:08:49] NOTICE: [pool www] child 5788 started
[21-Nov-2017 19:53:49] WARNING: [pool www] child 5614, script '/var/www/bbs/index.php' (request: "GET /index.php") execution timed out (1034.911156 sec), terminating
[21-Nov-2017 19:53:49] WARNING: [pool www] child 5614 exited on signal 15 (SIGTERM) after 7800.027390 seconds from start
[21-Nov-2017 19:53:49] NOTICE: [pool www] child 5833 started
[21-Nov-2017 22:03:49] WARNING: [pool www] child 5510, script '/var/www/bbs/index.php' (request: "GET /index.php") execution timed out (946.894139 sec), terminating
[21-Nov-2017 22:03:49] WARNING: [pool www] child 5510 exited on signal 15 (SIGTERM) after 16766.712291 seconds from start
[21-Nov-2017 22:03:49] NOTICE: [pool www] child 6125 started
[21-Nov-2017 22:43:49] WARNING: [pool www] child 5788, script '/var/www/bbs/index.php' (request: "GET /index.php") execution timed out (1086.586503 sec), terminating
[21-Nov-2017 22:43:49] WARNING: [pool www] child 5788 exited on signal 15 (SIGTERM) after 12900.047981 seconds from start
[21-Nov-2017 22:43:49] NOTICE: [pool www] child 6164 started
[22-Nov-2017 04:13:49] WARNING: [pool www] child 5380, script '/var/www/bbs/index.php' (request: "GET /index.php") execution timed out (1088.584897 sec), terminating
[22-Nov-2017 04:13:49] WARNING: [pool www] child 5380 exited on signal 15 (SIGTERM) after 39300.142089 seconds from start
[22-Nov-2017 04:13:49] NOTICE: [pool www] child 6702 started
[22-Nov-2017 05:28:49] WARNING: [pool www] child 5444, script '/var/www/bbs/index.php' (request: "GET /index.php") execution timed out (1043.730957 sec), terminating
[22-Nov-2017 05:28:49] WARNING: [pool www] child 5444 exited on signal 15 (SIGTERM) after 43668.021433 seconds from start
[22-Nov-2017 05:28:49] NOTICE: [pool www] child 6759 started

...全文
264 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
依山观澜丶丶 2017-11-25
  • 打赏
  • 举报
回复
能不能用ab压力测试出一个报告
  • 打赏
  • 举报
回复
引用 3 楼 jam00 的回复:
肯定不能设置为0,而且一个访问就执行 1000多秒,合理吗? max_children 300,300个同时访问index.php,你网站就不能提供服务 你的代码有问题,优化你的代码
恩恩,就是说最多300个同时访问吗? 确实是代码有个推送的功能 一直在连着
果酱很好吃 2017-11-22
  • 打赏
  • 举报
回复
肯定不能设置为0,而且一个访问就执行 1000多秒,合理吗? max_children 300,300个同时访问index.php,你网站就不能提供服务 你的代码有问题,优化你的代码
  • 打赏
  • 举报
回复
引用 1 楼 jam00 的回复:
优化你的代码,index.php 页面执行超时了,执行1000多秒
是这样子的,我用的是一个开源软件论坛 好像是会一直执行这个 index.php 我现在把request_terminate_timeout 给改成 0 了 之前是900 这样设置会有什么问题吗? 大神,有个问题 就是一个人访问就会打开一个fpm进程吗? netstat -napo |grep "php-fpm" | wc -l 如果这个达到设定的值网页是不是就挂了
果酱很好吃 2017-11-22
  • 打赏
  • 举报
回复
优化你的代码,index.php 页面执行超时了,执行1000多秒

21,886

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧