首页 » 互联网资讯 » 正文

还是无用 这个是php-fpm的log

  1. Aug 24 16:51:11.340611 [WARNING] fpm_children_bury(), line 215: child 19457 (pool default) exited on signal 15 SIGTERM after 31.225239 seconds from start
  2. Aug 24 16:51:11.344800 [WARNING] fpm_children_bury(), line 215: child 19499 (pool default) exited on signal 15 SIGTERM after 31.199028 seconds from start
  3. Aug 24 16:51:11.344827 [WARNING] fpm_children_bury(), line 215: child 19503 (pool default) exited on signal 15 SIGTERM after 31.197460 seconds from start
  4. Aug 24 16:51:11.344871 [WARNING] fpm_children_bury(), line 215: child 19510 (pool default) exited on signal 15 SIGTERM after 31.193641 seconds from start
  5. Aug 24 16:51:11.344900 [WARNING] fpm_children_bury(), line 215: child 19513 (pool default) exited on signal 15 SIGTERM after 31.187027 seconds from start
  6. Aug 24 16:51:11.344956 [WARNING] fpm_children_bury(), line 215: child 19481 (pool default) exited on signal 15 SIGTERM after 31.214076 seconds from start
  7. Aug 24 16:51:11.344988 [WARNING] fpm_children_bury(), line 215: child 19516 (pool default) exited on signal 15 SIGTERM after 31.185789 seconds from start
  8. Aug 24 16:51:11.345006 [WARNING] fpm_children_bury(), line 215: child 19518 (pool default) exited on signal 15 SIGTERM after 31.185344 seconds from start
  9. Aug 24 16:51:11.345023 [WARNING] fpm_children_bury(), line 215: child 19527 (pool default) exited on signal 15 SIGTERM after 31.179275 seconds from start
  10. Aug 24 16:51:11.345046 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  11. Aug 24 16:51:11.345060 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  12. Aug 24 16:51:11.345072 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  13. Aug 24 16:51:11.345083 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  14. Aug 24 16:51:11.345095 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  15. Aug 24 16:51:11.345106 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  16. Aug 24 16:51:11.345364 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  17. Aug 24 16:51:11.345393 [WARNING] fpm_children_bury(), line 215: child 19471 (pool default) exited on signal 15 SIGTERM after 31.217862 seconds from start
  18. Aug 24 16:51:11.345411 [WARNING] fpm_children_bury(), line 215: child 19478 (pool default) exited on signal 15 SIGTERM after 31.215341 seconds from start
  19. Aug 24 16:51:11.346751 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  20. Aug 24 16:51:11.346806 [WARNING] fpm_children_bury(), line 215: child 19451 (pool default) exited on signal 15 SIGTERM after 31.234265 seconds from start
  21. Aug 24 16:51:11.346827 [WARNING] fpm_children_bury(), line 215: child 19454 (pool default) exited on signal 15 SIGTERM after 31.232967 seconds from start
  22. Aug 24 16:51:11.346843 [WARNING] fpm_children_bury(), line 215: child 19456 (pool default) exited on signal 15 SIGTERM after 31.231895 seconds from start
  23. Aug 24 16:51:11.346859 [WARNING] fpm_children_bury(), line 215: child 19459 (pool default) exited on signal 15 SIGTERM after 31.230683 seconds from start
  24. Aug 24 16:51:11.346884 [WARNING] fpm_children_bury(), line 215: child 19468 (pool default) exited on signal 15 SIGTERM after 31.224474 seconds from start
  25. Aug 24 16:51:11.346901 [WARNING] fpm_children_bury(), line 215: child 19469 (pool default) exited on signal 15 SIGTERM after 31.224031 seconds from start
  26. Aug 24 16:51:11.346916 [WARNING] fpm_children_bury(), line 215: child 19473 (pool default) exited on signal 15 SIGTERM after 31.218532 seconds from start
  27. Aug 24 16:51:11.346931 [WARNING] fpm_children_bury(), line 215: child 19475 (pool default) exited on signal 15 SIGTERM after 31.217722 seconds from start
  28. Aug 24 16:51:11.346947 [WARNING] fpm_children_bury(), line 215: child 19489 (pool default) exited on signal 15 SIGTERM after 31.208550 seconds from start
  29. Aug 24 16:51:11.346971 [WARNING] fpm_children_bury(), line 215: child 19494 (pool default) exited on signal 15 SIGTERM after 31.206561 seconds from start
  30. Aug 24 16:51:11.346988 [WARNING] fpm_children_bury(), line 215: child 19501 (pool default) exited on signal 15 SIGTERM after 31.200399 seconds from start
  31. Aug 24 16:51:11.347012 [WARNING] fpm_children_bury(), line 215: child 19509 (pool default) exited on signal 15 SIGTERM after 31.196864 seconds from start
  32. Aug 24 16:51:11.347029 [WARNING] fpm_children_bury(), line 215: child 19572 (pool default) exited on signal 15 SIGTERM after 31.153621 seconds from start
  33. Aug 24 16:51:11.347045 [WARNING] fpm_children_bury(), line 215: child 19576 (pool default) exited on signal 15 SIGTERM after 31.151961 seconds from start
  34. Aug 24 16:51:11.347071 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  35. Aug 24 16:51:11.347103 [WARNING] fpm_children_bury(), line 215: child 19463 (pool default) exited on signal 15 SIGTERM after 31.226404 seconds from start
  36. Aug 24 16:51:11.347127 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  37. Aug 24 16:51:11.347139 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  38. Aug 24 16:51:11.347150 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  39. Aug 24 16:51:11.347238 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
  40. Aug 24 16:51:11.347263 [WARNING] fpm_children_bury(), line 215: child 19500 (pool default) exited on signal 15 SIGTERM after 31.201092 seconds from start
  41. Aug 24 16:51:11.347336 [WARNING] fpm_children_bury(), line 215: child 19465 (pool default) exited on signal 15 SIGTERM after 31.225783 seconds from start
  42. Aug 24 16:51:11.347363 [WARNING] fpm_children_bury(), line 215: child 19521 (pool default) exited on signal 15 SIGTERM after 31.186227 seconds from start
  43. Aug 24 16:51:11.347382 [NOTICE] fpm_pctl_exit(), line 81: exiting, bye-bye!
  44. Aug 24 16:51:13.454242 [NOTICE] fpm_unix_init_main(), line 284: getrlimit(nofile): max:65535, cur:65535
  45. Aug 24 16:51:13.454604 [NOTICE] fpm_event_init_main(), line 88: libevent: using epoll
  46. Aug 24 16:51:13.454696 [NOTICE] fpm_init(), line 52: fpm is running, pid 19697
  47. Aug 24 16:51:13.455221 [NOTICE] fpm_children_make(), line 352: child 19698 (pool default) started
  48. Aug 24 16:51:13.455627 [NOTICE] fpm_children_make(), line 352: child 19699 (pool default) started
  49. Aug 24 16:51:13.456005 [NOTICE] fpm_children_make(), line 352: child 19700 (pool default) started
  50. Aug 24 16:51:13.456476 [NOTICE] fpm_children_make(), line 352: child 19701 (pool default) started
  51. Aug 24 16:51:13.456912 [NOTICE] fpm_children_make(), line 352: child 19702 (pool default) started
  52. Aug 24 16:51:13.457298 [NOTICE] fpm_children_make(), line 352: child 19703 (pool default) started
  53. Aug 24 16:51:13.457712 [NOTICE] fpm_children_make(), line 352: child 19704 (pool default) started
  54. Aug 24 16:51:13.458098 [NOTICE] fpm_children_make(), line 352: child 19705 (pool default) started
  55. Aug 24 16:51:13.458595 [NOTICE] fpm_children_make(), line 352: child 19706 (pool default) started
  56. Aug 24 16:51:13.459003 [NOTICE] fpm_children_make(), line 352: child 19707 (pool default) started
  57. Aug 24 16:51:13.535087 [NOTICE] fpm_children_make(), line 352: child 19826 (pool default) started
  58. Aug 24 16:51:13.535129 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loo

按日志可能是php打开文件数的限制
打开php-fpm.conf 找到 rlimit_files 改成:65535
编辑 /etc/security/limits.conf 加上:
* soft nofile 65535
* hard nofile 65535
编辑/etc/sysctl.conf  底部添加fs.file-max=65535

echo “ulimit -SHn 65535” >> /etc/rc.local

重启试试

VPS服务器

发表评论