作者 主題: apache & php 錯誤  (閱讀 2842 次)

0 會員 與 1 訪客 正在閱讀本文。

hoffmannlin

  • 懷疑的國中生
  • **
  • 文章數: 83
    • 檢視個人資料
apache & php 錯誤
« 於: 2008-02-14 16:24 »
*** glibc detected *** /www/bin/httpd: double free or corruption (fasttop): 0x09350238 ***
======= Backtrace: =========
/lib/libc.so.6[0x2c6aa6]
/lib/libc.so.6(cfree+0x90)[0x2c9fc0]
/www/modules/libphp5.so[0x724a70]
/www/modules/libphp5.so(zend_error+0x437)[0x769e57]
/www/modules/libphp5.so(zend_timeout+0x63)[0x75b3f3]
[0xb79420]
/www/modules/libphp5.so[0x7248ba]
/www/modules/libphp5.so(zend_error+0x437)[0x769e57]
/www/modules/libphp5.so(zend_fetch_resource+0xfa)[0x7765ca]
/www/modules/libphp5.so(zif_fread+0x92)[0x6b9952]
/www/modules/libphp5.so[0x78a9e0]
/www/modules/libphp5.so(execute+0x15d)[0x78983d]
/www/modules/libphp5.so[0x78a3b6]
/www/modules/libphp5.so(execute+0x15d)[0x78983d]
/www/modules/libphp5.so(zend_execute_scripts+0x1ba)[0x768bda]
/www/modules/libphp5.so(php_execute_script+0x1f3)[0x721fe3]
/www/modules/libphp5.so[0x7eda6d]
/www/bin/httpd(ap_run_handler+0x59)[0x8074cc9]
/www/bin/httpd(ap_invoke_handler+0x67)[0x8077e37]
/www/bin/httpd(ap_process_request+0x178)[0x808e588]
/www/bin/httpd[0x808b88b]
/www/bin/httpd(ap_run_process_connection+0x59)[0x807bc09]
/www/bin/httpd[0x80a15c0]
/www/bin/httpd[0x80a18b7]
/www/bin/httpd(ap_mpm_run+0x880)[0x80a2210]
/www/bin/httpd(main+0x865)[0x8062a55]
/lib/libc.so.6(__libc_start_main+0xdc)[0x275dec]
/www/bin/httpd(apr_dso_error+0x41)[0x8061c41]
======= Memory map: ========
00110000-00113000 r-xp 00000000 fd:00 16597346   /lib/libuuid.so.1.2
00113000-00114000 rwxp 00002000 fd:00 16597346   /lib/libuuid.so.1.2
00114000-00153000 r-xp 00000000 fd:00 7267398    /usr/local/freetds/lib/libct.so.4.0.0
00153000-00155000 rwxp 0003f000 fd:00 7267398    /usr/local/freetds/lib/libct.so.4.0.0
00155000-0019e000 r-xp 00000000 fd:00 7267403    /usr/local/freetds/lib/libsybdb.so.5.0.0
0019e000-001a1000 rwxp 00048000 fd:00 7267403    /usr/local/freetds/lib/libsybdb.so.5.0.0
001a1000-001d4000 r-xp 00000000 fd:00 6814755    /usr/lib/sse2/libgmp.so.3.3.3
001d4000-001d5000 rwxp 00032000 fd:00 6814755    /usr/lib/sse2/libgmp.so.3.3.3
001d5000-001d7000 r-xp 00000000 fd:00 16598747   /lib/libkeyutils-1.2.so
001d7000-001d8000 rwxp 00001000 fd:00 16598747   /lib/libkeyutils-1.2.so
001da000-001fc000 r-xp 00000000 fd:00 6678187    /www/lib/libapr-1.so.0.2.11
001fc000-001fd000 rwxp 00021000 fd:00 6678187    /www/lib/libapr-1.so.0.2.11
001fd000-0020c000 r-xp 00000000 fd:00 16598748   /lib/libresolv-2.5.so
0020c000-0020d000 r-xp 0000e000 fd:00 16598748   /lib/libresolv-2.5.so
0020d000-0020e000 rwxp 0000f000 fd:00 16598748   /lib/libresolv-2.5.so
0020e000-00210000 rwxp 0020e000 00:00 0
00210000-0023d000 r-xp 00000000 fd:00 6819946    /usr/lib/libgssapi_krb5.so.2.2
0023d000-0023e000 rwxp 0002d000 fd:00 6819946    /usr/lib/libgssapi_krb5.so.2.2
0023e000-00257000 r-xp 00000000 fd:00 16597155   /lib/ld-2.5.so
00257000-00258000 r-xp 00019000 fd:00 16597155   /lib/ld-2.5.so
00258000-00259000 rwxp 0001a000 fd:00 16597155   /lib/ld-2.5.so
0025b000-0025d000 r-xp 00000000 fd:00 16598749   /lib/libcom_err.so.2.1
0025d000-0025e000 rwxp 00001000 fd:00 16598749   /lib/libcom_err.so.2.1
00260000-0039a000 r-xp 00000000 fd:00 16597191   /lib/libc-2.5.so
0039a000-0039c000 r-xp 0013a000 fd:00 16597191   /lib/libc-2.5.so
0039c000-0039d000 rwxp 0013c000 fd:00 16597191   /lib/libc-2.5.so
0039d000-003a0000 rwxp 0039d000 00:00 0
003a2000-003a4000 r-xp 00000000 fd:00 16597355   /lib/libdl-2.5.so
003a4000-003a5000 r-xp 00001000 fd:00 16597355   /lib/libdl-2.5.so
003a5000-003a6000 rwxp 00002000 fd:00 16597355   /lib/libdl-2.5.so
003a8000-003cd000 r-xp 00000000 fd:00 16597347   /lib/libm-2.5.so
003cd000-003ce000 r-xp 00024000 fd:00 16597347   /lib/libm-2.5.so
003ce000-003cf000 rwxp 00025000 fd:00 16597347   /lib/libm-2.5.so
003d1000-003e4000 r-xp 00000000 fd:00 16597388   /lib/libpthread-2.5.so
003e4000-003e5000 r-xp 00012000 fd:00 16597388   /lib/libpthread-2.5.so
003e5000-003e6000 rwxp 00013000 fd:00 16597388   /lib/libpthread-2.5.so
003e6000-003e8000 rwxp 003e6000 00:00 0
003e8000-0040d000 r-xp 00000000 fd:00 6819884    /usr/lib/libk5crypto.so.3.1
0040d000-0040e000 rwxp 00025000 fd:00 6819884    /usr/lib/libk5crypto.so.3.1
0040e000-00416000 r-xp 00000000 fd:00 6819867    /usr/lib/libkrb5support.so.0.1
00416000-00417000 rwxp 00007000 fd:00 6819867    /usr/lib/libkrb5support.so.0.1
00417000-0041b000 r-xp 00000000 fd:00 16597190   /lib/libnss_dns-2.5.so
0041b000-0041c000 r-xp 00003000 fd:00 16597190   /lib/libnss_dns-2.5.so
0041c000-0041d000 rwxp 00004000 fd:00 16597190   /lib/libnss_dns-2.5.so
00432000-00447000 r-xp 00000000 fd:00 16597385   /lib/libselinux.so.1
00447000-00449000 rwxp 00015000 fd:00 16597385   /lib/libselinux.so.1
0044b000-0045d000 r-xp 00000000 fd:00 6810936    /usr/lib/libz.so.1.2.3
0045d000-0045e000 rwxp 00011000 fd:00 6810936    /usr/lib/libz.so.1.2.3
00460000-00467000 r-xp 00000000 fd:00 16597393   /lib/librt-2.5.so
00467000-00468000 r-xp 00006000 fd:00 16597393   /lib/librt-2.5.so
00468000-00469000 rwxp 00007000 fd:00 16597393   /lib/librt-2.5.so
0046b000-0047b000 r-xp 00000000 fd:00 6816295    /usr/lib/libbz2.so.1.0.3
0047b000-0047c000 rwxp 0000f000 fd:00 6816295    /usr/lib/libbz2.so.1.0.3
0047e000-004ae000 r-xp 00000000 fd:00 6821580    /usr/lib/libidn.so.11.5.19
004ae000-004af000 rwxp 0002f000 fd:00 6821580    /usr/lib/libidn.so.11.5.19
004b1000-004ec000 r-xp 00000000 fd:00 6821710    /usr/lib/libcurl.so.3.0.0
004ec000-004ed000 rwxp 0003b000 fd:00 6821710    /usr/lib/libcurl.so.3.0.0
004ed000-00501000 r-xp 00000000 fd:00 6875065    /usr/lib/gconv/BIG5.so
00501000-00503000 rwxp 00013000 fd:00 6875065    /usr/lib/gconv/BIG5.so
0050b000-0051e000 r-xp 00000000 fd:00 16598746   /lib/libnsl-2.5.so
0051e000-0051f000 r-xp 00012000 fd:00 16598746   /lib/libnsl-2.5.so
0051f000-00520000 rwxp 00013000 fd:00 16598746   /lib/libnsl-2.5.so
00520000-00522000 rwxp 00520000 00:00 0
00524000-0052f000 r-xp 00000000 fd:00 16597419   /lib/libgcc_s-4.1.2-20070626.so.1
0052f000-00530000 rwxp 0000a000 fd:00 16597419   /lib/libgcc_s-4.1.2-20070626.so.1
00532000-00537000 r-xp 00000000 fd:00 16597411   /lib/libcrypt-2.5.so
00537000-00538000 r-xp 00004000 fd:00 16597411   /lib/libcrypt-2.5.so
00538000-00539000 rwxp 00005000 fd:00 16597411   /lib/libcrypt-2.5.so
00539000-00560000 rwxp 00539000 00:00 0
00560000-00887000 r-xp 00000000 fd:00 6679336    /www/modules/libphp5.so
00887000-008b7000 rwxp 00327000 fd:00 6679336    /www/modules/libphp5.so
008b7000-008bc000 rwxp 008b7000 00:00 0
008bc000-009e8000 r-xp 00000000 fd:00 6814729    /usr/lib/libxml2.so.2.6.26
009e8000-009ed000 rwxp 0012b000 fd:00 6814729    /usr/lib/libxml2.so.2.6.26
009ed000-009ee000 rwxp 009ed000 00:00 0
009ee000-00a7e000 r-xp 00000000 fd:00 6819896    /usr/lib/libkrb5.so.3.3
00a7e000-00a81000 rwxp 0008f000 fd:00 6819896    /usr/lib/libkrb5.so.3.3
00a81000-00ac2000 r-xp 00000000 fd:00 16598752   /lib/libssl.so.0.9.8b
00ac2000-00ac6000 rwxp 00040000 fd:00 16598752   /lib/libssl.so.0.9.8b
00ac6000-00b01000 r-xp 00000000 fd:00 16597383   /lib/libsepol.so.1
00b01000-00b02000 rwxp 0003a000 fd:00 16597383   /lib/libsepol.so.1
00b02000-00b0c000 rwxp 00b02000 00:00 0
00b79000-00b7a000 r-xp 00b79000 00:00 0          [vdso]
00bc1000-00ce0000 r-xp 00000000 fd:00 7235096    /usr/lib/mysql/libmysqlclient.so.15.0.0
00ce0000-00d22000 rwxp 0011e000 fd:00 7235096    /usr/lib/mysql/libmysqlclient.so.15.0.0
00d22000-00d23000 rwxp 00d22000 00:00 0
00d23000-00e40000 r-xp 00000000 fd:00 16598751   /lib/libcrypto.so.0.9.8b
00e40000-00e53000 rwxp 0011c000 fd:00 16598751   /lib/libcrypto.so.0.9.8b
00e53000-00e56000 rwxp 00e53000 00:00 0
00e85000-00e99000 r-xp 00000000 fd:00 6678235    /www/lib/libaprutil-1.so.0.2.11
00e99000-00e9a000 rwxp 00013000 fd:00 6678235    /www/lib/libaprutil-1.so.0.2.11
00f96000-00fb0000 r-xp 00000000 fd:00 6678229    /www/lib/libexpat.so.0.1.0
00fb0000-00fb2000 rwxp 00019000 fd:00 6678229    /www/lib/libexpat.so.0.1.0
00fed000-00ff6000 r-xp 00000000 fd:00 16597192   /lib/libnss_files-2.5.so
00ff6000-00ff7000 r-xp 00008000 fd:00 16597192   /lib/libnss_files-2.5.so
00ff7000-00ff8000 rwxp 00009000 fd:00 16597192   /lib/libnss_files-2.5.so
08048000-080bc000 r-xp 00000000 fd:00 6678258    /www/bin/httpd
080bc000-080bf000 rw-p 00074000 fd:00 6678258    /www/bin/httpd
080bf000-080c2000 rw-p 080bf000 00:00 0
09194000-09391000 rw-p 09194000 00:00 0
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7ca5000-b7ce2000 r--p 00ebb000 fd:00 6823506    /usr/lib/locale/locale-archive
b7ce2000-b7ee2000 r--p 00000000 fd:00 6823506    /usr/lib/locale/locale-archive
b7f13000-b7f23000 rw-s 00000000 00:08 2129028    /dev/zero (deleted)
b7f23000-b7f26000 rw-p b7f23000 00:00 0
b7f27000-b7f2e000 r--s 00000000 fd:00 6875320    /usr/lib/gconv/gconv-modules.cache
b7f2e000-b7f2f000 rw-p b7f2e000 00:00 0
bfbf1000-bfc07000 rw-p bfbf1000 00:00 0          [stack]
[Thu Feb 14 14:02:10 2008] [notice] child pid 4960 exit signal Aborted (6)
[Thu Feb 14 14:03:33 2008] [notice] caught SIGTERM, shutting down
[Thu Feb 14 14:05:16 2008] [notice] Apache/2.2.6 (Unix) PHP/5.2.4 configured -- resuming normal operations
[Thu Feb 14 14:30:17 2008] [warn] child process 2696 still did not exit, sending a SIGTERM
[Thu Feb 14 14:30:19 2008] [warn] child process 2696 still did not exit, sending a SIGTERM
[Thu Feb 14 14:30:21 2008] [warn] child process 2696 still did not exit, sending a SIGTERM
[Thu Feb 14 14:30:23 2008] [error] child process 2696 still did not exit, sending a SIGKILL
[Thu Feb 14 14:30:24 2008] [notice] caught SIGTERM, shutting down
[Thu Feb 14 14:30:46 2008] [notice] Apache/2.2.6 (Unix) PHP/5.2.4 configured -- resuming normal operations


子行程好像都有問題
該如何改善

mysql一旦insert 或 update 都卡死
但是會執行
只是跑很久

select 時候就沒問題