VPS侦探论坛

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

军哥,网站无缘无故访问不了.

[复制链接]
发表于 2012-7-13 16:18:10 | 显示全部楼层 |阅读模式

使用最新的lnmp安装包,最近网站老是无缘无故的打不开..我登录服务器./lnmp restart后就又可以了,但过一会可能又会出现这样的情况,查看了php-fpm.log日志后发现大量的我自己的独立服务器I3处理器,2G内在.下面这个也配置了.
  1. 按日志可能是php打开文件数的限制
  2. 打开php-fpm.conf 找到 rlimit_files 改成:51200
  3. 编辑 /etc/security/limits.conf 加上:
  4. * soft nofile 51200
  5. * hard nofile 51200
  6. 重启试试
复制代码
求解决..Jul 13 15:58:46.316779 [NOTICE] fpm_children_make(), line 352: child 8650 (pool default) started日志如下.
  1. Jul 13 15:58:44.274770 [NOTICE] fpm_pctl_exit(), line 81: exiting, bye-bye!
  2. Jul 13 15:58:46.315580 [NOTICE] fpm_unix_init_main(), line 284: getrlimit(nofile): max:65535, cur:65535
  3. Jul 13 15:58:46.315790 [NOTICE] fpm_event_init_main(), line 88: libevent: using epoll
  4. Jul 13 15:58:46.315837 [NOTICE] fpm_init(), line 52: fpm is running, pid 8649
  5. Jul 13 15:58:46.316779 [NOTICE] fpm_children_make(), line 352: child 8650 (pool default) started
  6. Jul 13 15:58:46.317703 [NOTICE] fpm_children_make(), line 352: child 8651 (pool default) started
  7. Jul 13 15:58:46.318366 [NOTICE] fpm_children_make(), line 352: child 8652 (pool default) started
  8. Jul 13 15:58:46.319203 [NOTICE] fpm_children_make(), line 352: child 8653 (pool default) started
  9. Jul 13 15:58:46.319974 [NOTICE] fpm_children_make(), line 352: child 8654 (pool default) started
  10. Jul 13 15:58:46.320630 [NOTICE] fpm_children_make(), line 352: child 8656 (pool default) started
  11. Jul 13 15:58:46.327359 [NOTICE] fpm_children_make(), line 352: child 8676 (pool default) started
  12. Jul 13 15:58:46.328029 [NOTICE] fpm_children_make(), line 352: child 8677 (pool default) started
  13. Jul 13 15:58:46.328783 [NOTICE] fpm_children_make(), line 352: child 8678 (pool default) started
  14. Jul 13 15:58:46.329367 [NOTICE] fpm_children_make(), line 352: child 8681 (pool default) started
  15. Jul 13 15:58:46.330067 [NOTICE] fpm_children_make(), line 352: child 8682 (pool default) started
  16. Jul 13 15:58:46.330365 [NOTICE] fpm_children_make(), line 352: child 8684 (pool default) started
  17. Jul 13 15:58:46.331083 [NOTICE] fpm_children_make(), line 352: child 8685 (pool default) started
  18. Jul 13 15:58:46.331362 [NOTICE] fpm_children_make(), line 352: child 8687 (pool default) started
  19. Jul 13 15:58:46.332100 [NOTICE] fpm_children_make(), line 352: child 8689 (pool default) started
  20. Jul 13 15:58:46.332799 [NOTICE] fpm_children_make(), line 352: child 8690 (pool default) started
  21. Jul 13 15:58:46.333358 [NOTICE] fpm_children_make(), line 352: child 8694 (pool default) started
  22. Jul 13 15:58:46.334054 [NOTICE] fpm_children_make(), line 352: child 8695 (pool default) started
  23. Jul 13 15:58:46.334363 [NOTICE] fpm_children_make(), line 352: child 8697 (pool default) started
  24. Jul 13 15:58:46.335095 [NOTICE] fpm_children_make(), line 352: child 8699 (pool default) started
  25. Jul 13 15:58:46.335363 [NOTICE] fpm_children_make(), line 352: child 8701 (pool default) started
  26. Jul 13 15:58:46.336096 [NOTICE] fpm_children_make(), line 352: child 8702 (pool default) started
  27. Jul 13 15:58:46.336366 [NOTICE] fpm_children_make(), line 352: child 8705 (pool default) started
  28. Jul 13 15:58:46.342817 [NOTICE] fpm_children_make(), line 352: child 8728 (pool default) started
  29. Jul 13 15:58:46.343366 [NOTICE] fpm_children_make(), line 352: child 8732 (pool default) started
  30. Jul 13 15:58:46.344086 [NOTICE] fpm_children_make(), line 352: child 8733 (pool default) started
  31. Jul 13 15:58:46.344366 [NOTICE] fpm_children_make(), line 352: child 8737 (pool default) started
  32. Jul 13 15:58:46.345129 [NOTICE] fpm_children_make(), line 352: child 8738 (pool default) started
  33. Jul 13 15:58:46.345852 [NOTICE] fpm_children_make(), line 352: child 8741 (pool default) started
  34. Jul 13 15:58:46.346368 [NOTICE] fpm_children_make(), line 352: child 8743 (pool default) started
  35. Jul 13 15:58:46.347094 [NOTICE] fpm_children_make(), line 352: child 8745 (pool default) started
  36. Jul 13 15:58:46.347365 [NOTICE] fpm_children_make(), line 352: child 8748 (pool default) started
  37. Jul 13 15:58:46.348130 [NOTICE] fpm_children_make(), line 352: child 8749 (pool default) started
  38. Jul 13 15:58:46.348851 [NOTICE] fpm_children_make(), line 352: child 8753 (pool default) started
  39. Jul 13 15:58:46.349371 [NOTICE] fpm_children_make(), line 352: child 8755 (pool default) started
  40. Jul 13 15:58:46.350097 [NOTICE] fpm_children_make(), line 352: child 8758 (pool default) started
  41. Jul 13 15:58:46.350813 [NOTICE] fpm_children_make(), line 352: child 8759 (pool default) started
  42. Jul 13 15:58:46.351365 [NOTICE] fpm_children_make(), line 352: child 8763 (pool default) started
  43. Jul 13 15:58:46.352094 [NOTICE] fpm_children_make(), line 352: child 8764 (pool default) started
  44. Jul 13 15:58:46.352363 [NOTICE] fpm_children_make(), line 352: child 8768 (pool default) started
  45. Jul 13 15:58:46.353158 [NOTICE] fpm_children_make(), line 352: child 8769 (pool default) started
  46. Jul 13 15:58:46.353891 [NOTICE] fpm_children_make(), line 352: child 8772 (pool default) started
  47. Jul 13 15:58:46.354366 [NOTICE] fpm_children_make(), line 352: child 8774 (pool default) started
  48. Jul 13 15:58:46.355130 [NOTICE] fpm_children_make(), line 352: child 8778 (pool default) started
  49. Jul 13 15:58:46.355859 [NOTICE] fpm_children_make(), line 352: child 8779 (pool default) started
  50. Jul 13 15:58:46.356368 [NOTICE] fpm_children_make(), line 352: child 8783 (pool default) started
  51. Jul 13 15:58:46.357120 [NOTICE] fpm_children_make(), line 352: child 8784 (pool default) started
  52. Jul 13 15:58:46.357838 [NOTICE] fpm_children_make(), line 352: child 8788 (pool default) started
  53. Jul 13 15:58:46.358367 [NOTICE] fpm_children_make(), line 352: child 8789 (pool default) started
  54. Jul 13 15:58:46.359127 [NOTICE] fpm_children_make(), line 352: child 8793 (pool default) started
  55. Jul 13 15:58:46.359854 [NOTICE] fpm_children_make(), line 352: child 8794 (pool default) started
  56. Jul 13 15:58:46.360366 [NOTICE] fpm_children_make(), line 352: child 8798 (pool default) started
  57. Jul 13 15:58:46.361133 [NOTICE] fpm_children_make(), line 352: child 8799 (pool default) started
  58. Jul 13 15:58:46.361365 [NOTICE] fpm_children_make(), line 352: child 8803 (pool default) started
  59. Jul 13 15:58:46.362096 [NOTICE] fpm_children_make(), line 352: child 8804 (pool default) started
  60. Jul 13 15:58:46.362962 [NOTICE] fpm_children_make(), line 352: child 8807 (pool default) started
  61. Jul 13 15:58:46.363365 [NOTICE] fpm_children_make(), line 352: child 8809 (pool default) started
  62. Jul 13 15:58:46.364142 [NOTICE] fpm_children_make(), line 352: child 8812 (pool default) started
  63. Jul 13 15:58:46.364894 [NOTICE] fpm_children_make(), line 352: child 8814 (pool default) started
  64. Jul 13 15:58:46.365364 [NOTICE] fpm_children_make(), line 352: child 8817 (pool default) started
  65. Jul 13 15:58:46.366135 [NOTICE] fpm_children_make(), line 352: child 8819 (pool default) started
  66. Jul 13 15:58:46.366875 [NOTICE] fpm_children_make(), line 352: child 8821 (pool default) started
  67. Jul 13 15:58:46.367367 [NOTICE] fpm_children_make(), line 352: child 8823 (pool default) started
  68. Jul 13 15:58:46.368141 [NOTICE] fpm_children_make(), line 352: child 8827 (pool default) started
  69. Jul 13 15:58:46.368905 [NOTICE] fpm_children_make(), line 352: child 8828 (pool default) started
  70. Jul 13 15:58:46.369366 [NOTICE] fpm_children_make(), line 352: child 8832 (pool default) started
  71. Jul 13 15:58:46.370141 [NOTICE] fpm_children_make(), line 352: child 8833 (pool default) started
  72. Jul 13 15:58:46.370368 [NOTICE] fpm_children_make(), line 352: child 8835 (pool default) started
  73. Jul 13 15:58:46.371111 [NOTICE] fpm_children_make(), line 352: child 8836 (pool default) started
  74. Jul 13 15:58:46.371989 [NOTICE] fpm_children_make(), line 352: child 8839 (pool default) started
  75. Jul 13 15:58:46.372366 [NOTICE] fpm_children_make(), line 352: child 8841 (pool default) started
  76. Jul 13 15:58:46.378981 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop
复制代码
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-7-13 20:32:03 | 显示全部楼层


这个信息没错误
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-23 11:19 , Processed in 0.025150 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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