Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2813875
  • 博文数量: 587
  • 博客积分: 6356
  • 博客等级: 准将
  • 技术积分: 6410
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-23 10:54
个人简介

器量大者,福泽必厚

文章分类

全部博文(587)

文章存档

2019年(3)

2018年(1)

2017年(29)

2016年(39)

2015年(66)

2014年(117)

2013年(136)

2012年(58)

2011年(34)

2010年(50)

2009年(38)

2008年(16)

分类: LINUX

2013-03-29 15:25:57

留为笔记!!
1:场景
网站访问比较慢,w显示时机器的负载很高,大概400--500
ps aux | grep httpd|wc -l
502     
我先killall -9 httpd ,然后重启服务器正常了,但过大概几个小时时间不定,web服务器又出现问题了,负载很高,用户访问很慢,尽管我有个脚本每间隔3秒就检查下web服务器的状态,如果出现问题,就restart httpd,但这样不好,还是要找到问题的原因!我在httpd.conf中设置的ServerLimit 500  ,客户说我的配置有问题, 我感觉不是,因为apache的日志文件很少,这么点访问 我ServerLimit 500 肯定够了!后来我查了下感觉是某个网站有问题!是程序的问题,让用户在程序中注释掉该网站的相关部分,监控了几天,问题还是出现:
此时日志文件里面比较多的类似如下的提示:

  1. sending a SIGTERM
  2. [Mon Jul 01 23:09:56 2013] [warn] child process 16926 still did not exit, sending a SIGTERM
  3. [Mon Jul 01 23:09:56 2013] [warn] child process 16927 still did not exit, sending a SIGTERM
  4. [Mon Jul 01 23:09:56 2013] [warn] child process 16928 still did not exit, sending a SIGTERM
  5. [Mon Jul 01 23:09:56 2013] [warn] child process 16929 still did not exit, sending a SIGTERM
  6. [Mon Jul 01 23:09:56 2013] [warn] child process 16930 still did not exit, sending a SIGTERM
  7. [Mon Jul 01 23:09:56 2013] [warn] child process 16931 still did not exit, sending a SIGTERM
  8. [Mon Jul 01 23:09:56 2013] [warn] child process 16932 still did not exit, sending a SIGTERM
  9. [Mon Jul 01 23:09:56 2013] [warn] child process 16933 still did not exit, sending a SIGTERM
  10. [Mon Jul 01 23:09:56 2013] [warn] child process 16934 still did not exit, sending a SIGTERM
  11. [Mon Jul 01 23:09:56 2013] [warn] child process 16935 still did not exit, sending a SIGTERM
  12. [Mon Jul 01 23:09:56 2013] [warn] child process 16936 still did not exit, sending a SIGTERM
  13. [Mon Jul 01 23:09:56 2013] [warn] child process 16937 still did not exit, sending a SIGTERM
  14. [Mon Jul 01 23:09:56 2013] [warn] child process 16938 still did not exit, sending a SIGTERM
  15. [Mon Jul 01 23:09:56 2013] [warn] child process 16939 still did not exit, sending a SIGTERM
  16. [Mon Jul 01 23:09:56 2013] [warn] child process 16940 still did not exit, sending a SIGTERM
  17. [Mon Jul 01 23:09:56 2013] [warn] child process 16941 still did not exit, sending a SIGTERM
  18. [Mon Jul 01 23:09:56 2013] [warn] child process 16942 still did not exit, sending a SIGTERM
  19. [Mon Jul 01 23:09:56 2013] [warn] child process 16943 still did not exit, sending a SIGTERM
  20. [Mon Jul 01 23:09:56 2013] [warn] child process 16944 still did not exit, sending a SIGTERM
  21. [Mon Jul 01 23:09:56 2013] [warn] child process 16945 still did not exit, sending a SIGTERM
  22. [Mon Jul 01 23:09:56 2013] [warn] child process 16946 still did not exit, sending a SIGTERM
  23. [Mon Jul 01 23:09:56 2013] [warn] child process 16947 still did not exit, sending a SIGTERM
  24. [Mon Jul 01 23:09:56 2013] [warn] child process 16948 still did not exit, sending a SIGTERM
  25. [Mon Jul 01 23:09:56 2013] [warn] child process 16949 still did not exit, sending a SIGTERM
  26. [Mon Jul 01 23:09:56 2013] [warn] child process 16950 still did not exit, sending a SIGTERM
  27. [Mon Jul 01 23:09:56 2013] [warn] child process 16951 still did not exit, sending a SIGTERM
  28. [Mon Jul 01 23:09:56 2013] [warn] child process 16952 still did not exit, sending a SIGTERM
  29. [Mon Jul 01 23:09:56 2013] [warn] child process 16953 still did not exit, sending a SIGTERM
  30. [Mon Jul 01 23:09:56 2013] [warn] child process 16954 still did not exit, sending a SIGTERM
  31. [Mon Jul 01 23:09:56 2013] [warn] child process 16955 still did not exit, sending a SIGTERM
  32. [Mon Jul 01 23:09:56 2013] [warn] child process 16956 still did not exit, sending a SIGTERM
  33. [Mon Jul 01 23:09:56 2013] [warn] child process 16957 still did not exit, sending a SIGTERM
  34. [Mon Jul 01 23:09:56 2013] [warn] child process 16958 still did not exit, sending a SIGTERM
  35. [Mon Jul 01 23:09:56 2013] [warn] child process 16959 still did not exit, sending a SIGTERM
  36. [Mon Jul 01 23:09:56 2013] [warn] child process 16960 still did not exit, sending a SIGTERM
  37. [Mon Jul 01 23:09:56 2013] [warn] child process 16961 still did not exit, sending a SIGTERM
  38. [Mon Jul 01 23:09:56 2013] [warn] child process 16962 still did not exitsending a SIGTERM
  39. 几乎每次出现问题时都有类似上面的提示:
偶尔也会发现如下的提示:

  1. *** glibc detected *** /usr/local/apache/bin/httpd: free(): invalid pointer: 0x091353e0 ***
  2. *** glibc detected *** /usr/local/apache/bin/httpd: free(): invalid pointer: 0x091353e0 ***
  3. ======= Backtrace: =========
  4. /lib/libc.so.6[0x1c26c5]
  5. /lib/libc.so.6(cfree+0x59)[0x1c2b09]
  6. /usr/local/apache/lib/libapr-1.so.0(apr_allocator_destroy+0x3c)[0x2f9d0c]
  7. /usr/local/apache/lib/libapr-1.so.0(apr_pool_destroy+0x1ea)[0x2fa8fa]
  8. /usr/local/apache/bin/httpd[0x8089ef4]
  9. /usr/local/apache/bin/httpd[0x8089f1d]
  10. [0xc7d420]
  11. /lib/ld-linux.so.2[0x39b5f0]
  12. /lib/libexpat.so.0[0x1189bc]
  13. /lib/ld-linux.so.2[0x396996]
  14. /lib/libc.so.6(exit+0xe9)[0x184ec9]
  15. /usr/local/apache/bin/httpd[0x8089f09]
  16. /usr/local/apache/bin/httpd[0x8089f1d]
  17. [0xc7d420]
  18. [0x743f6d]
  19. /usr/local/apache/modules/libphp5.so(zend_execute_scripts+0xca)[0x37a0eba]
  20. /usr/local/apache/modules/libphp5.so(php_execute_script+0x1ce)[0x375fcae]
  21. /usr/local/apache/modules/libphp5.so[0x381d2eb]
  22. /usr/local/apache/bin/httpd(ap_run_handler+0x59)[0x8077409]
  23. /usr/local/apache/bin/httpd(ap_invoke_handler+0x6e)[0x807a57e]
  24. /usr/local/apache/bin/httpd(ap_internal_redirect+0x6a)[0x808545a]
  25. /usr/local/apache/modules/mod_rewrite.so[0x34b960]
  26. /usr/local/apache/bin/httpd(ap_run_handler+0x59)[0x8077409]
  27. /usr/local/apache/bin/httpd(ap_invoke_handler+0x6e)[0x807a57e]
  28. /usr/local/apache/bin/httpd(ap_process_request+0x178)[0x80855d8]
  29. /usr/local/apache/bin/httpd[0x808273b]
  30. /usr/local/apache/bin/httpd(ap_run_process_connection+0x59)[0x807e539]
  31. /usr/local/apache/bin/httpd[0x808a2ed]
  32. /usr/local/apache/bin/httpd[0x808a5d7]
  33. /usr/local/apache/bin/httpd(ap_mpm_run+0x880)[0x808af30]
  34. /usr/local/apache/bin/httpd(main+0x865)[0x8064a75]
  35. /lib/libc.so.6(__libc_start_main+0xdc)[0x16ee9c]
  36. /usr/local/apache/bin/httpd(apr_dso_error+0x49)[0x8063be1]
  37. ======= Memory map: ========
  38. 00101000-00120000 r-xp 00000000 08:02 918218 /lib/libexpat.so.0.5.0
  39. 00120000-00122000 rwxp 0001e000 08:02 918218 /lib/libexpat.so.0.5.0
  40. 00122000-00126000 r-xp 00000000 08:02 918220 /lib/libuuid.so.1.2
  41. 00126000-00127000 rwxp 00003000 08:02 918220 /lib/libuuid.so.1.2
  42. 00127000-00130000 r-xp 00000000 08:02 918215 /lib/libcrypt-2.5.so
  43. 00130000-00131000 r-xp 00008000 08:02 918215 /lib/libcrypt-2.5.so
  44. 00131000-00132000 rwxp 00009000 08:02 918215 /lib/libcrypt-2.5.so
  45. 00132000-00159000 rwxp 00132000 00:00 0
  46. 00159000-002ac000 r-xp 00000000 08:02 917734 /lib/libc-2.5.so
  47. 002ac000-002ae000 r-xp 00153000 08:02 917734 /lib/libc-2.5.so
  48. 002ae000-002af000 rwxp 00155000 08:02 917734 /lib/libc-2.5.so
  49. 002af000-002b2000 rwxp 002af000 00:00 0
  50. 002b2000-002b3000 r-xp 00000000 08:03 5406822 /usr/local/apache/modules/mod_authn_dbm.so
  51. 002b3000-002b4000 rwxp 00000000 08:03 5406822 /usr/local/apache/modules/mod_authn_dbm.so
  52. 002b4000-002b6000 r-xp 00000000 08:03 5406826 /usr/local/apache/modules/mod_authz_host.so
  53. 002b6000-002b7000 rwxp 00001000 08:03 5406826 /usr/local/apache/modules/mod_authz_host.so
  54. 002b7000-002b8000 r-xp 00000000 08:03 5406828 /usr/local/apache/modules/mod_authz_user.so
  55. 002b8000-002b9000 rwxp 00000000 08:03 5406828 /usr/local/apache/modules/mod_authz_user.so
  56. 002b9000-002bb000 r-xp 00000000 08:03 5406829 /usr/local/apache/modules/mod_authz_dbm.so
  57. 002bb000-002bc000 rwxp 00001000 08:03 5406829 /usr/local/apache/modules/mod_authz_dbm.so
  58. 002bc000-002c4000 r-xp 00000000 08:03 5406835 /usr/local/apache/modules/mod_cache.so
  59. 002c4000-002c5000 rwxp 00008000 08:03 5406835 /usr/local/apache/modules/mod_cache.so
  60. 002c5000-002ca000 r-xp 00000000 08:03 5406837 /usr/local/apache/modules/mod_mem_cache.so
  61. 002ca000-002cb000 rwxp 00004000 08:03 5406837 /usr/local/apache/modules/mod_mem_cache.so
  62. 002cb000-002cf000 r-xp 00000000 08:03 5406841 /usr/local/apache/modules/mod_ext_filter.so
  63. 002cf000-002d0000 rwxp 00003000 08:03 5406841 /usr/local/apache/modules/mod_ext_filter.so
  64. 002d0000-002d9000 r-xp 00000000 08:03 5406842 /usr/local/apache/modules/mod_include.so
  65. 002d9000-002da000 rwxp 00009000 08:03 5406842 /usr/local/apache/modules/mod_include.so
  66. 002da000-002dc000 r-xp 00000000 08:03 5406844 /usr/local/apache/modules/mod_substitute.so
  67. 002dc000-002dd000 rwxp 00001000 08:03 5406844 /usr/local/apache/modules/mod_substitute.so
  68. 002dd000-002df000 r-xp 00000000 08:03 5406847 /usr/local/apache/modules/mod_log_forensic.so
  69. 002df000-002e0000 rwxp 00001000 08:03 5406847 /usr/local/apache/modules/mod_log_forensic.so
  70. 002e0000-002e2000 r-xp 00000000 08:03 5406851 /usr/local/apache/modules/mod_cern_meta.so
  71. 002e2000-002e3000 rwxp 00001000 08:03 5406851 /usr/local/apache/modules/mod_cern_meta.so
  72. 002e4000-0030a000 r-xp 00000000 08:03 5406763 /usr/local/apache/lib/libapr-1.so.0.4.5
  73. 0030a000-0030b000 rwxp 00026000 08:03 5406763 /usr/local/apache/lib/libapr-1.so.0.4.5
  74. 0030b000-0030d000 r-xp 00000000 08:03 5406855 /usr/local/apache/modules/mod_usertrack.so
  75. 0030d000-0030e000 rwxp 00001000 08:03 5406855 /usr/local/apache/modules/mod_usertrack.so
  76. 0030e000-0030f000 r-xp 00000000 08:03 5406864 /usr/local/apache/modules/mod_asis.so
  77. 0030f000-00310000 rwxp 00000000 08:03 5406864 /usr/local/apache/modules/mod_asis.so
  78. 00310000-00311000 r-xp 00000000 08:03 5406870 /usr/local/apache/modules/mod_dir.so
  79. 00311000-00312000 rwxp 00001000 08:03 5406870 /usr/local/apache/modules/mod_dir.so
  80. 00313000-00315000 r-xp 00000000 08:03 5406832 /usr/local/apache/modules/mod_auth_basic.so
  81. 00315000-00316000 rwxp 00001000 08:03 5406832 /usr/local/apache/modules/mod_auth_basic.so
  82. 00316000-0033a000 r-xp 00000000 08:03 5406859 /usr/local/apache/modules/mod_ssl.so
  83. 0033a000-0033c000 rwxp 00023000 08:03 5406859 /usr/local/apache/modules/mod_ssl.so
  84. 0033c000-0033e000 rwxp 0033c000 00:00 0
  85. 0033e000-00340000 r-xp 00000000 08:03 5406873 /usr/local/apache/modules/mod_speling.so
  86. 00340000-00341000 rwxp 00001000 08:03 5406873 /usr/local/apache/modules/mod_speling.so
  87. 00341000-00343000 r-xp 00000000 08:03 5406874 /usr/local/apache/modules/mod_userdir.so
  88. 00343000-00344000 rwxp 00001000 08:03 5406874 /usr/local/apache/modules/mod_userdir.so
  89. 00344000-00351000 r-xp 00000000 08:03 5406876 /usr/local/apache/modules/mod_rewrite.so
  90. 00351000-00352000 rwxp 0000d000 08:03 5406876 /usr/local/apache/modules/mod_rewrite.so
  91. 00353000-00354000 r-xp 00000000 08:03 5406858 /usr/local/apache/modules/mod_version.so
  92. 00354000-00355000 rwxp 00000000 08:03 5406858 /usr/local/apache/modules/mod_version.so
  93. 00355000-00382000 r-xp 00000000 08:02 743709 /usr/lib/libgssapi_krb5.so.2.2
  94. 00382000-00383000 rwxp 0002d000 08:02 743709 /usr/lib/libgssapi_krb5.so.2.2
  95. 00388000-003a3000 r-xp 00000000 08:02 917542 /lib/ld-2.5.so
  96. 003a3000-003a4000 r-xp 0001a000 08:02 917542 /lib/ld-2.5.so
  97. 003a4000-003a5000 rwxp 0001b000 08:02 917542 /lib/ld-2.5.so
  98. 003a5000-003cb000 r-xp 00000000 08:02 743698 /usr/lib/libk5crypto.so.3.1
  99. 003cb000-003cc000 rwxp 00025000 08:02 743698 /usr/lib/libk5crypto.so.3.1
  100. 003cc000-003d1000 r-xp 00000000 08:03 3178514 /usr/local/lib/libltdl.so.3.1.0
  101. 003d1000-003d2000 rwxp 00004000 08:03 3178514 /usr/local/lib/libltdl.so.3.1.0
  102. 003d8000-003d9000 r-xp 00000000 08:03 5406849 /usr/local/apache/modules/mod_env.so
  103. 003d9000-003da000 rwxp 00000000 08:03 5406849 /usr/local/apache/modules/mod_env.so
  104. 003da000-003e7000 r-xp 00000000 08:02 731215 /usr/lib/liblber-2.3.so.0.2.31
  105. 003e7000-003e8000 rwxp 0000c000 08:02 731215 /usr/lib/liblber-2.3.so.0.2.31
  106. 003e8000-003f3000 r-xp 00000000 08:02 917741 /lib/libgcc_s-4.1.2-20080825.so.1
  107. 003f3000-003f4000 rwxp 0000a000 08:02 917741 /lib/libgcc_s-4.1.2-20080825.so.1
  108. 003f9000-003fd000 r-xp 00000000 08:03 5406836 /usr/local/apache/modules/mod_disk_cache.so
  109. 003fd000-003fe000 rwxp 00003000 08:03 5406836 /usr/local/apache/modules/mod_disk_cache.so
  110. 0040b000-00426000 r-xp 00000000 08:03 5406813 /usr/local/apache/lib/libaprutil-1.so.0.3.12
  111. 00426000-00427000 rwxp 0001b000 08:03 5406813 /usr/local/apache/lib/libaprutil-1.so.0.3.12
  112. 00429000-00432000 r-xp 00000000 08:03 5406867 /usr/local/apache/modules/mod_dav_fs.so
  113. 00432000-00433000 rwxp 00009000 08:03 5406867 /usr/local/apache/modules/mod_dav_fs.so
  114. 00440000-00443000 r-xp 00000000 08:03 5406860 /usr/local/apache/modules/mod_mime.so
  115. 00443000-00444000 rwxp 00002000 08:03 5406860 /usr/local/apache/modules/mod_mime.so
  116. 00451000-00453000 r-xp 00000000 08:03 5406824 /usr/local/apache/modules/mod_authn_dbd.so
  117. 00453000-00454000 rwxp 00001000 08:03 5406824 /usr/local/apache/modules/mod_authn_dbd.so
  118. 00454000-004e8000 r-xp 00000000 08:02 743708 /usr/lib/libkrb5.so.3.3
  119. 004e8000-004eb000 rwxp 00093000 08:02 743708 /usr/lib/libkrb5.so.3.3
  120. 004eb000-00500000 r-xp 00000000 08:02 918219 /lib/libnsl-2.5.so
  121. 00500000-00501000 r-xp 00014000 08:02 918219 /lib/libnsl-2.5.so
  122. 00501000-00502000 rwxp 00015000 08:02 918219 /lib/libnsl-2.5.so
  123. 00502000-00504000 rwxp 00502000 00:00 0
  124. 00507000-0050a000 r-xp 00000000 08:02 917739 /lib/libdl-2.5.so
  125. 0050a000-0050b000 r-xp 00002000 08:02 917739 /lib/libdl-2.5.so
  126. 0050b000-0050c000 rwxp 00003000 08:02 917739 /lib/libdl-2.5.so
  127. 0050e000-00523000 r-xp 00000000 08:02 917738 /lib/libpthread-2.5.so
  128. 00523000-00524000 r-xp 00015000 08:02 917738 /lib/libpthread-2.5.so
  129. 00524000-00525000 rwxp 00016000 08:02 917738 /lib/libpthread-2.5.so
  130. 00525000-00527000 rwxp 00525000 00:00 0
  131. 00529000-00550000 r-xp 00000000 08:02 917737 /lib/libm-2.5.so
  132. 00550000-00551000 r-xp 00026000 08:02 917737 /lib/libm-2.5.so
  133. 00551000-00552000 rwxp 00027000 08:02 917737 /lib/libm-2.5.so
  134. 00554000-00566000 r-xp 00000000 08:02 917736 /lib/libz.so.1.2.3
  135. 00566000-00567000 rwxp 00011000 08:02 917736 /lib/libz.so.1.2.3
  136. 00569000-00570000 r-xp 00000000 08:02 917740 /lib/librt-2.5.so
  137. 00570000-00571000 r-xp 00007000 08:02 917740 /lib/librt-2.5.so
  138. 00571000-00572000 rwxp 00008000 08:02 917740 /lib/librt-2.5.so
  139. 00574000-0058a000 r-xp 00000000 08:02 918209 /lib/libselinux.so.1
  140. 0058a000-0058c000 rwxp 00015000 08:02 918209 /lib/libselinux.so.1
  141. 0058c000-005b3000 r-xp 00000000 08:03 3178510 /usr/local/lib/libmcrypt.so.4.4.8
  142. 005b3000-005b6000 rwxp 00027000 08:03 3178510 /usr/local/lib/libmcrypt.so.4.4.8
  143. 005b6000-005bb000 rwxp 005b6000 00:00 0
  144. 005bd000-005c3000 r-xp 00000000 08:03 5406833 /usr/local/apache/modules/mod_auth_digest.so
  145. 005c3000-005c4000 rwxp 00005000 08:03 5406833 /usr/local/apache/modules/mod_auth_digest.so
  146. 005d0000-005d3000 r-xp 00000000 08:03 5406838 /usr/local/apache/modules/mod_dbd.so
  147. 005d3000-005d4000 rwxp 00002000 08:03 5406838 /usr/local/apache/modules/mod_dbd.so
  148. 005d4000-0060f000 r-xp 00000000 08:02 917742 /lib/libsepol.so.1
  149. 0060f000-00610000 rwxp 0003b000 08:02 917742 /lib/libsepol.so.1
  150. 00610000-0061a000 rwxp 00610000 00:00 0
  151. 0061a000-00632000 r-xp 00000000 08:02 732942 /usr/lib/libsasl2.so.2.0.22
  152. 00632000-00633000 rwxp 00017000 08:02 732942 /usr/lib/libsasl2.so.2.0.22
  153. 00635000-00712000 r-xp 00000000 08:03 3178502 /usr/local/lib/libiconv.so.2.5.0
  154. 00712000-00713000 rwxp 000dd000 08:03 3178502 /usr/local/lib/libiconv.so.2.5.0
  155. 00713000-00734000 r-xp 00000000 08:02 723060 /usr/lib/libjpeg.so.62.0.0
  156. 00734000-00735000 rwxp 00020000 08:02 723060 /usr/lib/libjpeg.so.62.0.0
  157. 0073a000-0073d000 r-xp 00000000 08:03 5406871 /usr/local/apache/modules/mod_imagemap.so
  158. 0073d000-0073e000 rwxp 00002000 08:03 5406871 /usr/local/apache/modules/mod_imagemap.so
  159. 00767000-0076b000 r-xp 00000000 08:03 5406862 /usr/local/apache/modules/mod_status.so
  160. 0076b000-0076c000 rwxp 00004000 08:03 5406862 /usr/local/apache/modules/mod_status.so
  161. 0077e000-00780000 r-xp 00000000 08:03 5406834 /usr/local/apache/modules/mod_file_cache.so
  162. 00780000-00781000 rwxp 00001000 08:03 5406834 /usr/local/apache/modules/mod_file_cache.so
  163. 00781000-007ba000 r-xp 00000000 08:02 743714 /usr/lib/libldap-2.3.so.0.2.31
  164. 007ba000-007bb000 rwxp 00039000 08:02 743714 /usr/lib/libldap-2.3.so.0.2.31
  165. 007c6000-007c8000 r-xp 00000000 08:03 5406840 /usr/local/apache/modules/mod_reqtimeout.so
  166. 007c8000-007c9000 rwxp 00002000 08:03 5406840 /usr/local/apache/modules/mod_reqtimeout.so
  167. 007c9000-0080e000 r-xp 00000000 08:03 3178518 /usr/local/lib/libmhash.so.2.0.1
  168. 0080e000-0080f000 rwxp 00044000 08:03 3178518 /usr/local/lib/libmhash.so.2.0.1
  169. 00834000-00836000 r-xp 00000000 08:03 5406875 /usr/local/apache/modules/mod_alias.so
  170. 00836000-00837000 rwxp 00001000 08:03 5406875 /usr/local/apache/modules/mod_alias.so
  171. 00837000-00867000 r-xp 00000000 08:02 730855 /usr/lib/libidn.so.11.5.19
  172. 00867000-00868000 rwxp 0002f000 08:02 730855 /usr/lib/libidn.so.11.5.19
  173. 00868000-00869000 r-xp 00000000 08:03 5406872 /usr/local/apache/modules/mod_actions.so
  174. 00869000-0086a000 rwxp 00000000 08:03 5406872 /usr/local/apache/modules/mod_actions.so
  175. 00875000-00876000 r-xp 00000000 08:03 5406831 /usr/local/apache/modules/mod_authz_default.so
  176. 00876000-00877000 rwxp 00000000 08:03 5406831 /usr/local/apache/modules/mod_authz_default.so
  177. 008a7000-008ac000 r-xp 00000000 08:03 5406866 /usr/local/apache/modules/mod_cgi.so
  178. 008ac000-008ad000 rwxp 00004000 08:03 5406866 /usr/local/apache/modules/mod_cgi.so
  179. 008da000-008dc000 r-xp 00000000 08:03 5406854 /usr/local/apache/modules/mod_ident.so
  180. 008dc000-008dd000 rwxp 00001000 08:03 5406854 /usr/local/apache/modules/mod_ident.so
  181. 008dd000-0095a000 r-xp 00000000 08:02 743695 /usr/lib/libfreetype.so.6.3.10
  182. 0095a000-0095d000 rwxp 0007d000 08:02 743695 /usr/lib/libfreetype.so.6.3.10
  183. 0097c000-0097d000 r-xp 00000000 08:03 5406830 /usr/local/apache/modules/mod_authz_owner.so
  184. ***********
  185. 00fb2000-010dc000 r-xp 00000000 08:02 917821 /lib/libcrypto.so.0.9.8e
  186. 010dc000-010ef000 rwxp 00129000 08:02 917821 /lib/libcrypto.so.0.9.8e
  187. 010ef000-010f3000 rwxp 010ef000 00:00 0
  188. 03383000-03a81000 r-xp 00000000 08:03 5408077 /usr/local/apache/modules/libphp5.so
  189. 03a81000-03aaa000 rwxp 006fe000 08:03 5408077 /usr/local/apache/modules/libphp5.so
  190. 03aaa000-03ab4000 rwxp 03aaa000 00:00 0
  191. 05871000-0599d000 r-xp 00000000 08:02 735232 /usr/lib/libxml2.so.2.6.26
  192. 0599d000-059a2000 rwxp 0012c000 08:02 735232 /usr/lib/libxml2.so.2.6.26
  193. 059a2000-059a3000 rwxp 059a2000 00:00 0
  194. 05ddb000-05e1f000 r-xp 00000000 08:02 918225 /lib/libssl.so.0.9.8e
  195. 05e1f000-05e23000 rwxp 00043000 08:02 918225 /lib/libssl.so.0.9.8e
  196. 05e5f000-05e84000 r-xp 00000000 08:02 733610 /usr/lib/libpng12.so.0.10.0
  197. 05e84000-05e85000 rwxp 00024000 08:02 733610 /usr/lib/libpng12.so.0.10.0
  198. 07159000-0742a000 r-xp 00000000 08:03 6193238 /usr/local/mysql/lib/mysql/libmysqlclient.so.16.0.0
  199. 0742a000-07490000 rwxp 002d1000 08:03 6193238 /usr/local/mysql/lib/mysql/libmysqlclient.so.16.0.0
  200. 07490000-07492000 rwxp 07490000 00:00 0
  201. 08048000-080a0000 r-xp 00000000 08:03 5406892 /usr/local/apache/bin/httpd
  202. 080a0000-080a3000 rwxp 00057000 08:03 5406892 /usr/local/apache/bin/httpd
  203. 080a3000-080a6000 rwxp 080a3000 00:00 0
  204. 09000000-092e1000 rw-p 09000000 00:00 0 [heap]
  205. b3bcb000-b7bcb000 rw-s 00000000 00:09 796926735 /dev/zero (deleted)
  206. b7bcb000-b7cdc000 r--p 034b6000 08:02 743670 /usr/lib/locale/locale-archive
  207. b7cdc000-b7edc000 r--p 00000000 08:02 743670 /usr/lib/locale/locale-archive
  208. b7eff000-b7f1d000 rw-s 00000000 00:09 660054715 /dev/zero (deleted)
  209. b7f1d000-b7f20000 rw-p b7f1d000 00:00 0
  210. b7f2b000-b7f2c000 rw-p b7f2b000 00:00 0
  211. bfec1000-bfed6000 rw-p bffe9000 00:00 0 [stack]
  212. ======= Backtrace: =========
  213. /lib/libc.so.6[0x1c26c5]
  214. /lib/libc.so.6(cfree+0x59)[0x1c2b09]
  215. /usr/local/apache/lib/libapr-1.so.0(apr_allocator_destroy+0x3c)[0x2f9d0c]
  216. /usr/local/apache/lib/libapr-1.so.0(apr_pool_destroy+0x1ea)[0x2fa8fa]
  217. /usr/local/apache/bin/httpd[0x8089ef4]
  218. /usr/local/apache/bin/httpd[0x8089f1d]
  219. [0xc7d420]
  220. /lib/ld-linux.so.2[0x3968db]
  221. /lib/libc.so.6(exit+0xe9)[0x184ec9]
  222. /usr/local/apache/bin/httpd[0x8089f09]
  223. /usr/local/apache/bin/httpd[0x8089f1d]
  224. [0xc7d420]
  225. [0x743f6d]
  226. /usr/local/apache/modules/libphp5.so(zend_execute_scripts+0xca)[0x37a0eba]
  227. /usr/local/apache/modules/libphp5.so(php_execute_script+0x1ce)[0x375fcae]
  228. /usr/local/apache/modules/libphp5.so[0x381d2eb]
  229. /usr/local/apache/bin/httpd(ap_run_handler+0x59)[0x8077409]
  230. /usr/local/apache/bin/httpd(ap_invoke_handler+0x6e)[0x807a57e]
  231. /usr/local/apache/bin/httpd(ap_internal_redirect+0x6a)[0x808545a]
  232. /usr/local/apache/modules/mod_rewrite.so[0x34b960]
  233. /usr/local/apache/bin/httpd(ap_run_handler+0x59)[0x8077409]
  234. /usr/local/apache/bin/httpd(ap_invoke_handler+0x6e)[0x807a57e]
  235. /usr/local/apache/bin/httpd(ap_process_request+0x178)[0x80855d8]
  236. /usr/local/apache/bin/httpd[0x808273b]
  237. /usr/local/apache/bin/httpd(ap_run_process_connection+0x59)[0x807e539]
  238. /usr/local/apache/bin/httpd[0x808a2ed]
  239. /usr/local/apache/bin/httpd[0x808a5d7]
  240. /usr/local/apache/bin/httpd(ap_mpm_run+0x880)[0x808af30]
  241. /usr/local/apache/bin/httpd(main+0x865)[0x8064a75]
  242. /lib/libc.so.6(__libc_start_main+0xdc)[0x16ee9c]
  243. /usr/local/apache/bin/httpd(apr_dso_error+0x49)[0x8063be1]
  244. ======= Memory map: ========
  245. 00101000-00120000 r-xp 00000000 08:02 918218 /lib/libexpat.so.0.5.0
  246. 00120000-00122000 rwxp 0001e000 08:02 918218 /lib/libexpat.so.0.5.0
  247. 00122000-00126000 r-xp 00000000 08:02 918220 /lib/libuuid.so.1.2
  248. ********
  249. 怀疑和内存泄漏有关系,有一段时间,研发找出一个bug,网站正常了5个月左右,突然又有一天出现这个问题了,他们不太好找程序的问题!
  250. 程序太多了!
  251. 我只好试着升级 php和apache版本!
  252. php5.2.15----->php-5.3.25和httpd2.2.15----->http2.2.24.
  253. 升级后,运行了一个月后,没有再出现上面的问题!
当时出问题时:前端的squid有如下显示:squid已经不能将请求转到后台的web服务器,####出现问题的时候web服务器机器非常高!

##192.168.0.14 是后台的web服务器! 显然提示我后台的web服务器出现了问题!

阅读(4684) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~