Apache Crash dump on CentOS

alessandro123

Verified User
Joined
Sep 11, 2008
Messages
46
Code:
*** glibc detected *** /usr/sbin/httpd: double free or corruption (!prev): 0x000000000d8dc9f0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x34eaa71ce2]
/lib64/libc.so.6(cfree+0x8c)[0x34eaa7590c]
/usr/lib/apache/libphp5.so[0x2b3ecee9bc6b]
/usr/lib/apache/libphp5.so(zend_error+0x539)[0x2b3eceedcf49]
/usr/lib/apache/libphp5.so[0x2b3ecef054f3]
/usr/lib/apache/libphp5.so(execute+0x17c)[0x2b3eceefb33c]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so(zend_oe+0x274)[0x2b3ed0ada311]
/usr/lib/apache/libphp5.so(zend_call_function+0x937)[0x2b3eceed0da7]
/usr/lib/apache/libphp5.so(zend_call_method+0x1b1)[0x2b3eceef07b1]
/usr/lib/apache/libphp5.so(zend_objects_destroy_object+0x15b)[0x2b3eceef64cb]
/usr/lib/apache/libphp5.so(zend_objects_store_del_ref_by_handle+0x1d2)[0x2b3eceef99d2]
/usr/lib/apache/libphp5.so(zend_objects_store_del_ref+0xf)[0x2b3eceef99ef]
/usr/lib/apache/libphp5.so(_zval_ptr_dtor+0x46)[0x2b3eceecf1f6]
/usr/lib/apache/libphp5.so(zend_hash_destroy+0x38)[0x2b3eceee69b8]
/usr/lib/apache/libphp5.so(destroy_op_array+0x26)[0x2b3eceed33c6]
/usr/lib/apache/libphp5.so(zend_hash_destroy+0x38)[0x2b3eceee69b8]
/usr/lib/apache/libphp5.so(destroy_zend_class+0x55)[0x2b3eceed3105]
/usr/lib/apache/libphp5.so(zend_hash_destroy+0x38)[0x2b3eceee69b8]
/usr/lib/apache/libphp5.so(zend_shutdown+0x46)[0x2b3eceedc266]
/usr/lib/apache/libphp5.so(php_module_shutdown+0x2a)[0x2b3ecee9961a]
/usr/lib/apache/libphp5.so(php_module_shutdown_wrapper+0x9)[0x2b3ecee996b9]
/usr/lib/apache/libphp5.so[0x2b3ecef5cc41]
/etc/httpd/lib/libapr-1.so.0[0x2b3ece8e643d]
/etc/httpd/lib/libapr-1.so.0(apr_pool_destroy+0x4b)[0x2b3ece8e6ecb]
/usr/sbin/httpd[0x496c0e]
/usr/sbin/httpd[0x496c3b]
/lib64/libpthread.so.0[0x34eb60e4c0]
/lib64/libc.so.6(__libc_malloc+0x5)[0x34eaa73fb5]
/lib64/libc.so.6(__strdup+0x22)[0x34eaa78ac2]
/usr/lib/apache/libphp5.so[0x2b3ecee9ba9f]
/usr/lib/apache/libphp5.so(zend_error+0x539)[0x2b3eceedcf49]
/usr/lib/apache/libphp5.so[0x2b3ecef064dc]
/usr/lib/apache/libphp5.so(execute+0x17c)[0x2b3eceefb33c]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so(zend_oe+0x274)[0x2b3ed0ada311]
/usr/lib/apache/libphp5.so[0x2b3ecef08711]
/usr/lib/apache/libphp5.so(execute+0x17c)[0x2b3eceefb33c]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so(zend_oe+0x274)[0x2b3ed0ada311]
/usr/lib/apache/libphp5.so[0x2b3ecef08711]
/usr/lib/apache/libphp5.so(execute+0x17c)[0x2b3eceefb33c]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so(zend_oe+0x274)[0x2b3ed0ada311]
/usr/lib/apache/libphp5.so[0x2b3ecef08711]
/usr/lib/apache/libphp5.so(execute+0x17c)[0x2b3eceefb33c]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so(zend_oe+0x274)[0x2b3ed0ada311]
/usr/lib/apache/libphp5.so[0x2b3ecef08711]
/usr/lib/apache/libphp5.so(execute+0x17c)[0x2b3eceefb33c]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so(zend_oe+0x274)[0x2b3ed0ada311]
/usr/lib/apache/libphp5.so[0x2b3ecef08711]
/usr/lib/apache/libphp5.so(execute+0x17c)[0x2b3eceefb33c]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so(zend_oe+0x274)[0x2b3ed0ada311]
/usr/lib/apache/libphp5.so[0x2b3ecef08711]
/usr/lib/apache/libphp5.so(execute+0x17c)[0x2b3eceefb33c]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so(zend_oe+0x274)[0x2b3ed0ada311]
/usr/lib/apache/libphp5.so[0x2b3ecef08711]
/usr/lib/apache/libphp5.so(execute+0x17c)[0x2b3eceefb33c]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so(zend_oe+0x274)[0x2b3ed0ada311]
/usr/lib/apache/libphp5.so(zend_call_function+0x937)[0x2b3eceed0da7]
/usr/lib/apache/libphp5.so(call_user_function_ex+0x46)[0x2b3eceed1e76]
/usr/lib/apache/libphp5.so(zif_call_user_func_array+0x2b0)[0x2b3ecee21500]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so[0x2b3ed0a7c9a3]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so[0x2b3ed0a7f188]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so[0x2b3ed0ad9a91]
/usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so[0x2b3ed0ad9d41]
/usr/lib/apache/libphp5.so[0x2b3eceef9e95]
======= Memory map: ========
00400000-004ca000 r-xp 00000000 fd:03 1966423                            /usr/sbin/httpd
006c9000-006d0000 rw-p 000c9000 fd:03 1966423                            /usr/sbin/httpd
006d0000-006d5000 rw-p 006d0000 00:00 0 
0af77000-0df2b000 rw-p 0af77000 00:00 0                                  [heap]
34ea600000-34ea61c000 r-xp 00000000 fd:00 786489                         /lib64/ld-2.5.so
34ea81b000-34ea81c000 r--p 0001b000 fd:00 786489                         /lib64/ld-2.5.so
34ea81c000-34ea81d000 rw-p 0001c000 fd:00 786489                         /lib64/ld-2.5.so
34eaa00000-34eab4c000 r-xp 00000000 fd:00 786631                         /lib64/libc-2.5.so
34eab4c000-34ead4c000 ---p 0014c000 fd:00 786631                         /lib64/libc-2.5.so
34ead4c000-34ead50000 r--p 0014c000 fd:00 786631                         /lib64/libc-2.5.so
34ead50000-34ead51000 rw-p 00150000 fd:00 786631                         /lib64/libc-2.5.so
34ead51000-34ead56000 rw-p 34ead51000 00:00 0 
34eae00000-34eae02000 r-xp 00000000 fd:00 786716                         /lib64/libdl-2.5.so
34eae02000-34eb002000 ---p 00002000 fd:00 786716                         /lib64/libdl-2.5.so
34eb002000-34eb003000 r--p 00002000 fd:00 786716                         /lib64/libdl-2.5.so
34eb003000-34eb004000 rw-p 00003000 fd:00 786716                         /lib64/libdl-2.5.so
34eb200000-34eb282000 r-xp 00000000 fd:00 786740                         /lib64/libm-2.5.so
34eb282000-34eb481000 ---p 00082000 fd:00 786740                         /lib64/libm-2.5.so
34eb481000-34eb482000 r--p 00081000 fd:00 786740                         /lib64/libm-2.5.so
34eb482000-34eb483000 rw-p 00082000 fd:00 786740                         /lib64/libm-2.5.so
34eb600000-34eb616000 r-xp 00000000 fd:00 786491                         /lib64/libpthread-2.5.so
34eb616000-34eb815000 ---p 00016000 fd:00 786491                         /lib64/libpthread-2.5.so
34eb815000-34eb816000 r--p 00015000 fd:00 786491                         /lib64/libpthread-2.5.so
34eb816000-34eb817000 rw-p 00016000 fd:00 786491                         /lib64/libpthread-2.5.so
34eb817000-34eb81b000 rw-p 34eb817000 00:00 0 
34eba00000-34eba15000 r-xp 00000000 fd:00 786746                         /lib64/libselinux.so.1
34eba15000-34ebc15000 ---p 00015000 fd:00 786746                         /lib64/libselinux.so.1
34ebc15000-34ebc17000 rw-p 00015000 fd:00 786746                         /lib64/libselinux.so.1
34ebc17000-34ebc18000 rw-p 34ebc17000 00:00 0 
34ebe00000-34ebe3b000 r-xp 00000000 fd:00 786744                         /lib64/libsepol.so.1
34ebe3b000-34ec03b000 ---p 0003b000 fd:00 786744                         /lib64/libsepol.so.1
34ec03b000-34ec03c000 rw-p 0003b000 fd:00 786744                         /lib64/libsepol.so.1
34ec03c000-34ec046000 rw-p 34ec03c000 00:00 0 
34ec200000-34ec207000 r-xp 00000000 fd:00 786747                         /lib64/librt-2.5.so
34ec207000-34ec407000 ---p 00007000 fd:00 786747                         /lib64/librt-2.5.so
34ec407000-34ec408000 r--p 00007000 fd:00 786747                         /lib64/librt-2.5.so
34ec408000-34ec409000 rw-p 00008000 fd:00 786747                         /lib64/librt-2.5.so
34ec600000-34ec609000 r-xp 00000000 fd:00 786743                         /lib64/libcrypt-2.5.so
34ec609000-34ec808000 ---p 00009000 fd:00 786743                         /lib64/libcrypt-2.5.so
34ec808000-34ec809000 r--p 00008000 fd:00 786743                         /lib64/libcrypt-2.5.so
34ec809000-34ec80a000 rw-p 00009000 fd:00 786743                         /lib64/libcrypt-2.5.so
34ec80a000-34ec838000 rw-p 34ec80a000 00:00 0 
34eca00000-34eca15000 r-xp 00000000 fd:00 786770                         /lib64/libnsl-2.5.so
34eca15000-34ecc14000 ---p 00015000 fd:00 786770                         /lib64/libnsl-2.5.so
34ecc14000-34ecc15000 r--p 00014000 fd:00 786770                         /lib64/libnsl-2.5.so
34ecc15000-34ecc16000 rw-p 00015000 fd:00 786770                         /lib64/libnsl-2.5.so
34ecc16000-34ecc18000 rw-p 34ecc16000 00:00 0 
34eda00000-34eda02000 r-xp 00000000 fd:00 786757                         /lib64/libkeyutils-1.2.so
34eda02000-34edc01000 ---p 00002000 fd:00 786757                         /lib64/libkeyutils-1.2.so
34edc01000-34edc02000 rw-p 00001000 fd:00 786757                         /lib64/libkeyutils-1.2.so
34ede00000-34ede11000 r-xp 00000000 fd:00 786758                         /lib64/libresolv-2.5.so
34ede11000-34ee011000 ---p 00011000 fd:00 786758                         /lib64/libresolv-2.5.so
34ee011000-34ee012000 r--p 00011000 fd:00 786758                         /lib64/libresolv-2.5.so
34ee012000-34ee013000 rw-p 00012000 fd:00 786758                         /lib64/libresolv-2.5.so
34ee013000-34ee015000 rw-p 34ee013000 00:00 0 
34ee200000-34ee202000 r-xp 00000000 fd:00 786762                         /lib64/libcom_err.so.2.1
34ee202000-34ee401000 ---p 00002000 fd:00 786762                         /lib64/libcom_err.so.2.1
34ee401000-34ee402000 rw-p 00001000 fd:00 786762                         /lib64/libcom_err.so.2.1
34eea00000-34eea2c000 r-xp 00000000 fd:03 1377905                        /usr/lib64/libgssapi_krb5.so.2.2
34eea2c000-34eec2c000 ---p 0002c000 fd:03 1377905                        /usr/lib64/libgssapi_krb5.so.2.2
34eec2c000-34eec2e000 rw-p 0002c000 fd:03 1377905                        /usr/lib64/libgssapi_krb5.so.2.2
34ef200000-34ef208000 r-xp 00000000 fd:03 1377866                        /usr/lib64/libkrb5support.so.0.1
34ef208000-34ef407000 ---p 00008000 fd:03 1377866                        /usr/lib64/libkrb5support.so.0.1
34ef407000-34ef408000 rw-p 00007000 fd:03 1377866                        /usr/lib64/libkrb5support.so.0.1
34efe00000-34efe24000 r-xp 00000000 fd:03 1377877                        /usr/lib64/libk5crypto.so.3.1
34efe24000-34f0023000 ---p 00024000 fd:03 1377877                        /usr/lib64/libk5crypto.so.3.1
34f0023000-34f0025000 rw-p 00023000 fd:03 1377877                        /usr/lib64/libk5crypto.so.3.1
34f0200000-34f0291000 r-xp 00000000 fd:03 1377904                        /usr/lib64/libkrb5.so.3.3
34f0291000-34f0491000 ---p 00091000 fd:03 1377904                        /usr/lib64/libkrb5.so.3.3
34f0491000-34f0495000 rw-p 00091000 fd:03 1377904                        /usr/lib64/libkrb5.so.3.3
34f1600000-34f1603000 r-xp 00000000 fd:00 786710                         /lib64/libuuid.so.1.2
34f1603000-34f1803000 ---p 00003000 fd:00 786710                         /lib64/libuuid.so.1.2
34f1803000-34f1804000 rw-p 00003000 fd:00 786710                         /lib64/libuuid.so.1.2
2b3ecd7c8000-2b3ecd7c9000 rw-p 2b3ecd7c8000 00:00 0 
2b3ecd7d9000-2b3ecd7da000 rw-p 2b3ecd7d9000 00:00 0 
2b3ecd7da000-2b3ecd81e000 r-xp 00000000 fd:00 786605                     /lib64/libssl.so.0.9.8e
2b3ecd81e000-2b3ecda1e000 ---p 00044000 fd:00 786605                     /lib64/libssl.so.0.9.8e
2b3ecda1e000-2b3ecda24000 rw-p 00044000 fd:00 786605                     /lib64/libssl.so.0.9.8e
2b3ecda24000-2b3ecdb51000 r-xp 00000000 fd:00 786785                     /lib64/libcrypto.so.0.9.8e
2b3ecdb51000-2b3ecdd50000 ---p 0012d000 fd:00 786785                     /lib64/libcrypto.so.0.9.8e
2b3ecdd50000-2b3ecdd71000 rw-p 0012c000 fd:00 786785                     /lib64/libcrypto.so.0.9.8e
2b3ecdd71000-2b3ecdd75000 rw-p 2b3ecdd71000 00:00 0 
2b3ecdd75000-2b3ecdd8b000 r-xp 00000000 fd:03 2492132                    /usr/local/lib/libz.so.1.2.3
2b3ecdd8b000-2b3ecdf8a000 ---p 00016000 fd:03 2492132                    /usr/local/lib/libz.so.1.2.3
2b3ecdf8a000-2b3ecdf8b000 rw-p 00015000 fd:03 2492132                    /usr/local/lib/libz.so.1.2.3
2b3ecdf8b000-2b3ecdf8c000 rw-p 2b3ecdf8b000 00:00 0 
2b3ecdf8c000-2b3ecdfaf000 r-xp 00000000 fd:03 2492067                    /usr/local/lib/libpcre.so.0.0.1
2b3ecdfaf000-2b3ece1ae000 ---p 00023000 fd:03 2492067                    /usr/local/lib/libpcre.so.0.0.1
2b3ece1ae000-2b3ece1af000 rw-p 00022000 fd:03 2492067                    /usr/local/lib/libpcre.so.0.0.1
2b3ece1af000-2b3ece1cd000 r-xp 00000000 fd:00 1999019                    /etc/httpd/lib/libaprutil-1.so.0.3.4
2b3ece1cd000-2b3ece3cc000 ---p 0001e000 fd:00 1999019                    /etc/httpd/lib/libaprutil-1.so.0.3.4
2b3ece3cc000-2b3ece3ce000 rw-p 0001d000 fd:00 1999019                    /etc/httpd/lib/libaprutil-1.so.0.3.4
2b3ece3ce000-2b3ece3cf000 rw-p 2b3ece3ce000 00:00 0 
2b3ece3cf000-2b3ece3ed000 r-xp 00000000 fd:00 1998970                    /etc/httpd/lib/libexpat.so.0.1.0
2b3ece3ed000-2b3ece5ed000 ---p 0001e000 fd:00 1998970                    /etc/httpd/lib/libexpat.so.0.1.0
2b3ece5ed000-2b3ece5ef000 rw-p 0001e000 fd:00 1998970                    /etc/httpd/lib/libexpat.so.0.1.0
2b3ece5ef000-2b3ece6cf000 r-xp 00000000 fd:03 2492282                    /usr/local/lib/libiconv.so.2.4.0
2b3ece6cf000-2b3ece8ce000 ---p 000e0000 fd:03 2492282                    /usr/local/lib/libiconv.so.2.4.0
2b3ece8ce000-2b3ece8d0000 rw-p 000df000 fd:03 2492282                    /usr/local/lib/libiconv.so.2.4.0
2b3ece8d0000-2b3ece8f8000 r-xp 00000000 fd:00 1998914                    /etc/httpd/lib/libapr-1.so.0.3.3
2b3ece8f8000-2b3eceaf8000 ---p 00028000 fd:00 1998914                    /etc/httpd/lib/libapr-1.so.0.3.3
2b3eceaf8000-2b3eceaf9000 rw-p 00028000 fd:00 1998914                    /etc/httpd/lib/libapr-1.so.0.3.3
2b3eceaf9000-2b3eceb02000 rw-p 2b3eceaf9000 00:00 0 
2b3eceb02000-2b3ecf2c7000 r-xp 00000000 fd:03 100671                     /usr/lib/apache/libphp5.so
2b3ecf2c7000-2b3ecf4c7000 ---p 007c5000 fd:03 100671                     /usr/lib/apache/libphp5.so
2b3ecf4c7000-2b3ecf646000 rw-p 007c5000 fd:03 100671                     /usr/lib/apache/libphp5.so
2b3ecf646000-2b3ecf655000 rw-p 2b3ecf646000 00:00 0 
2b3ecf655000-2b3ecf681000 r-xp 00000000 fd:03 2492316                    /usr/local/lib/libmhash.so.2.0.1
2b3ecf681000-2b3ecf880000 ---p 0002c000 fd:03 2492316                    /usr/local/lib/libmhash.so.2.0.1
2b3ecf880000-2b3ecf881000 rw-p 0002b000 fd:03 2492316                    /usr/local/lib/libmhash.so.2.0.1
2b3ecf881000-2b3ecf8a9000 r-xp 00000000 fd:03 2492287                    /usr/local/lib/libmcrypt.so.4.4.8
2b3ecf8a9000-2b3ecfaa9000 ---p 00028000 fd:03 2492287                    /usr/local/lib/libmcrypt.so.4.4.8
2b3ecfaa9000-2b3ecfaac000 rw-p 00028000 fd:03 2492287                    /usr/local/lib/libmcrypt.so.4.4.8
2b3ecfaac000-2b3ecfab2000 rw-p 2b3ecfaac000 00:00 0 
2b3ecfab2000-2b3ecfb2e000 r-xp 00000000 fd:03 2492242                    /usr/local/lib/libfreetype.so.6.3.20
2b3ecfb2e000-2b3ecfd2d000 ---p 0007c000 fd:03 2492242                    /usr/local/lib/libfreetype.so.6.3.20
2b3ecfd2d000-2b3ecfd33000 rw-p 0007b000 fd:03 2492242                    /usr/local/lib/libfreetype.so.6.3.20
2b3ecfd33000-2b3ecfd6e000 r-xp 00000000 fd:03 2492140                    /usr/local/lib/libpng.so.3.1.2.34
2b3ecfd6e000-2b3ecff6e000 ---p 0003b000 fd:03 2492140                    /usr/local/lib/libpng.so.3.1.2.34
2b3ecff6e000-2b3ecff6f000 rw-p 0003b000 fd:03 2492140                    /usr/local/lib/libpng.so.3.1.2.34
2b3ecff7f000-2b3ecffc0000 r-xp 00000000 fd:03 2492225                    /usr/local/lib/libcurl.so.4.1.1
2b3ecffc0000-2b3ed01c0000 ---p 00041000 fd:03 2492225                    /usr/local/lib/libcurl.so.4.1.1
2b3ed01c0000-2b3ed01c2000 rw-p 00041000 fd:03 2492225                    /usr/local/lib/libcurl.so.4.1.1
2b3ed01c2000-2b3ed02f8000 r-xp 00000000 fd:03 2492332                    /usr/local/lib/libxml2.so.2.7.3
2b3ed02f8000-2b3ed04f7000 ---p 00136000 fd:03 2492332                    /usr/local/lib/libxml2.so.2.7.3
2b3ed04f7000-2b3ed0501000 rw-p 00135000 fd:03 2492332                    /usr/local/lib/libxml2.so.2.7.3
2b3ed0501000-2b3ed0502000 rw-p 2b3ed0501000 00:00 0 
2b3ed0502000-2b3ed050c000 r-xp 00000000 fd:00 786459                     /lib64/libnss_files-2.5.so
2b3ed050c000-2b3ed070b000 ---p 0000a000 fd:00 786459                     /lib64/libnss_files-2.5.so
2b3ed070b000-2b3ed070c000 r--p 00009000 fd:00 786459                     /lib64/libnss_files-2.5.so
2b3ed070c000-2b3ed070d000 rw-p 0000a000 fd:00 786459                     /lib64/libnss_files-2.5.so
2b3ed070d000-2b3ed073a000 rw-s 00000000 00:09 22992950                   /dev/zero (deleted)
2b3ed074e000-2b3ed0814000 r-xp 00000000 fd:03 98741                      /usr/local/ioncube/ioncube_loader_lin_5.2.so
2b3ed0814000-2b3ed0913000 ---p 000c6000 fd:03 98741                      /usr/local/ioncube/ioncube_loader_lin_5.2.so
2b3ed0913000-2b3ed0922000 rw-p 000c5000 fd:03 98741                      /usr/local/ioncube/ioncube_loader_lin_5.2.so
2b3ed0922000-2b3ed0925000 rw-p 2b3ed0922000 00:00 0 
2b3ed0925000-2b3ed0928000 r-xp 00000000 fd:03 65633                      /usr/local/Zend/lib/ZendExtensionManager.so
2b3ed0928000-2b3ed0a27000 ---p 00003000 fd:03 65633                      /usr/local/Zend/lib/ZendExtensionManager.so
2b3ed0a27000-2b3ed0a28000 rw-p 00002000 fd:03 65633                      /usr/local/Zend/lib/ZendExtensionManager.so
2b3ed0a28000-2b3ed0b6f000 r-xp 00000000 fd:03 65634                      /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so
2b3ed0b6f000-2b3ed0c6e000 ---p 00147000 fd:03 65634                      /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so
2b3ed0c6e000-2b3ed0c8d000 rw-p 00146000 fd:03 65634                      /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so
2b3ed0c8d000-2b3ed0c92000 rw-p 2b3ed0c8d000 00:00 0 
2b3ed0c92000-2b3ed0d12000 rw-s 00000000 00:09 93650944                   /SYSV00000000 (deleted)
2b3ed0d12000-2b3ed0d13000 rw-p 2b3ed0d12000 00:00 0 
2b3ed0d13000-2b3ed42dc000 r--p 00000000 fd:03 2427521                    /usr/lib/locale/locale-archive
2b3ed42ec000-2b3ed42f0000 r-xp 00000000 fd:00 786457                     /lib64/libnss_dns-2.5.so
2b3ed42f0000-2b3ed44ef000 ---p 00004000 fd:00 786457                     /lib64/libnss_dns-2.5.so
2b3ed44ef000-2b3ed44f0000 r--p 00003000 fd:00 786457                     /lib64/libnss_dns-2.5.so
2b3ed44f0000-2b3ed44f1000 rw-p 00004000 fd:00 786457                     /lib64/libnss_dns-2.5.so
2b3ed44f1000-2b3ed44f8000 r--s 00000000 fd:03 1376509                    /usr/lib64/gconv/gconv-modules.cache
2b3ed44f8000-2b3ed44f9000 r-xp 00000000 fd:03 1376449                    /usr/lib64/gconv/ISO8859-1.so
2b3ed44f9000-2b3ed46f9000 ---p 00001000 fd:03 1376449                    /usr/lib64/gconv/ISO8859-1.so
2b3ed46f9000-2b3ed46fb000 rw-p 00001000 fd:03 1376449                    /usr/lib64/gconv/ISO8859-1.so
2b3ed470b000-2b3ed4718000 r-xp 00000000 fd:00 786629                     /lib64/libgcc_s-4.1.2-20080825.so.1
2b3ed4718000-2b3ed4918000 ---p 0000d000 fd:00 786629                     /lib64/libgcc_s-4.1.2-20080825.so.1
2b3ed4918000-2b3ed4919000 rw-p 0000d000 fd:00 786629                     /lib64/libgcc_s-4.1.2-20080825.so.1
2b3ed8000000-2b3ed8021000 rw-p 2b3ed8000000 00:00 0 
2b3ed8021000-2b3edc000000 ---p 2b3ed8021000 00:00 0 
7fffdd2ae000-7fffdd2e2000 rwxp 7ffffffcb000 00:00 0                      [stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0                  [vdso]
# cat /etc/redhat-release
CentOS release 5.3 (Final)
 

localhost

Verified User
Joined
Aug 17, 2007
Messages
164
Location
Moldova
Please answer a few questions :)
1. Which arch you are using ?
2. Post here the uname -a
3. Also post here the output of the : httpd -t -D DUMP_MODULES
 

alessandro123

Verified User
Joined
Sep 11, 2008
Messages
46
Code:
# uname -a
Linux xxxxxxx 2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

# httpd -t -D DUMP_MODULES
Loaded Modules:
 core_module (static)
 authn_file_module (static)
 authn_default_module (static)
 authz_host_module (static)
 authz_groupfile_module (static)
 authz_user_module (static)
 authz_default_module (static)
 auth_basic_module (static)
 include_module (static)
 filter_module (static)
 deflate_module (static)
 log_config_module (static)
 logio_module (static)
 env_module (static)
 headers_module (static)
 unique_id_module (static)
 setenvif_module (static)
 ssl_module (static)
 mpm_prefork_module (static)
 http_module (static)
 mime_module (static)
 dav_module (static)
 status_module (static)
 autoindex_module (static)
 asis_module (static)
 suexec_module (static)
 cgi_module (static)
 dav_fs_module (static)
 dav_lock_module (static)
 negotiation_module (static)
 dir_module (static)
 actions_module (static)
 userdir_module (static)
 alias_module (static)
 rewrite_module (static)
 so_module (static)
 php5_module (shared)
Syntax OK
 

alessandro123

Verified User
Joined
Sep 11, 2008
Messages
46
I'll try asap.
Do you think that this issue can lead to some micro-disconnection?
I'm recieving some alerts from Basicstate like this:

Code:
------------------------------
2009-06-12 16:04:01 GMT
------------------------------
http://xxxxxxxxxx/
------------------------------
status code      0
bytes            0
------------------------------
diagnostics

+ dns
+ connect
+ request
- response
Disconnection are 1 minute long at maximum and I'm unable to figure out what is causing this.
On another server (connected to the same switch) no trouble at all.

No logs for this date: 2009-06-12 16:04:01 GMT

And I'm recieving those kind of alert 5-6 time per day.
 

tillo

Verified User
Joined
Oct 28, 2007
Messages
862
Location
Switzerland
Yes, it definitely can be related.
The problem is probably related to an old library linked in either Apache, mod_php or the Zend extension module. By rebuilding Apache and mod_php (which automatically build the Zend module) there is an high chance to solve the problem.
 

alessandro123

Verified User
Joined
Sep 11, 2008
Messages
46
The drawback is that I'm using the PHP's exec_dir patch and I don't remeber how I built that some times ago.

Actually, I don't remember how I built the patch so I can't rebuild everything.

Any idea on how to integrate that very, very, very usefull patch inside the custombuitl script?
 

tillo

Verified User
Joined
Oct 28, 2007
Messages
862
Location
Switzerland
Sure.
Download the correct patch (see the PHP version with ./build versions) into the custombuild directory, then copy the PHP configure instructions to the custom directory and add a patching section, then build Apache and PHP in this order.

Something like that:
Code:
cd /usr/local/directadmin/custombuild/
wget http://www.kyberdigi.cz/projects/execdir/php-exec-dir.5.2.9.patch.gz
gunzip php-exec-dir.5.2.9.patch.gz
mkdir -p custom/ap2
cp configure/ap2/configure.php5 custom/ap2/configure.php5
nano -w custom/ap2/configure.php5
Modify this:
Code:
#!/bin/sh
./configure \
        --with-apxs2 \
[...]
to this:
Code:
#!/bin/sh
patch -p1 -i ../php-exec-dir.5.2.9.patch
./configure \
        --with-apxs2 \
[...]
Then run:
Code:
./build apache
./build php
Remember to download the new patch, gunzip it and modify the configure script every time CustomBuild gets a new version of PHP.

I didn't test this but it should work. If you don't have a testbed server let me know, I'll test it out myself.
 

alessandro123

Verified User
Joined
Sep 11, 2008
Messages
46
I'm trying your method right now.
Now I remeber correctly, I had trouble because I haven't created a custom/ap2/configure.php5 but I've customized the original one.
And the build phase was much more complex.

At the moment, your build method seems to works great.
 
Last edited:

alessandro123

Verified User
Joined
Sep 11, 2008
Messages
46
Ok, I've built in this order:
apache, php (with any other extension), zend.

seems to work, now apache logs only those messages:

Code:
[Sun Jun 14 12:13:00 2009] [debug] proxy_util.c(1914): proxy: initialized single connection worker 0 in child 29766 for (*)
[Sun Jun 14 12:13:00 2009] [debug] proxy_util.c(1801): proxy: grabbed scoreboard slot 0 in child 29767 for worker proxy:reverse
[Sun Jun 14 12:13:00 2009] [debug] proxy_util.c(1820): proxy: worker proxy:reverse already initialized
[Sun Jun 14 12:13:00 2009] [debug] proxy_util.c(1914): proxy: initialized single connection worker 0 in child 29767 for (*)
[Sun Jun 14 12:13:01 2009] [info] [client xxx.xxx.xxx.xxx] (32)Broken pipe: core_output_filter: writing data to the network
I'm not sure what latest error is.
Is something bad?

I'll test for some hours to see if basicstate will send me more alerts.
 

tillo

Verified User
Joined
Oct 28, 2007
Messages
862
Location
Switzerland
It's not bad if it doesn't happen often: it means that the connection has been cut off badly from the client side, or maybe in this case from the proxied web server side.

There could be a lot of different causes, like loss or corrupted or lagged network packets, a broken library or network card driver, a file system error on the remote side (like, for example, a file >2GB on FAT32 or full disk handled badly by the remote software, being it a client or proxied web server), an error induced by exec_dir or any other experimental module for PHP or Apache that causes a false positive of socket failure, and finally just a good old crash by segmentation fault on the remote software. There are many others, but I'd start with those :)
 

alessandro123

Verified User
Joined
Sep 11, 2008
Messages
46
I'm unlucky.
Sometimes my apache restarts on it's own.

Code:
[Sun Jun 14 19:38:01 2009] [info] removed PID file /var/run/httpd.pid (pid=3020)
[Sun Jun 14 19:38:01 2009] [notice] caught SIGTERM, shutting down
[Sun Jun 14 19:38:02 2009] [info] mod_unique_id: using ip addr 1.2.3.4
[Sun Jun 14 19:38:03 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jun 14 19:38:03 2009] [info] mod_unique_id: using ip addr 1.2.3.4
[Sun Jun 14 19:38:04 2009] [notice] Apache/2.2.11 (Unix) configured -- resuming normal operations
[Sun Jun 14 19:38:04 2009] [info] Server built: Jun 14 2009 12:33:59
[Sun Jun 14 19:38:04 2009] [debug] prefork.c(1001): AcceptMutex: sysvsem (default: sysvsem)
How can I detect how is calling SIGTERM?
Directadmin calls SIGTERM when adding a domain or it will do a graceful?
 

tillo

Verified User
Joined
Oct 28, 2007
Messages
862
Location
Switzerland
DirectAdmin uses /etc/init.d/httpd restart, which is the same as sending a SIGTERM signal and start it. This is an expected behaviour, a graceful restart doesn't go along with many of the DA's modifications to the Apache config.

The restart seems to take between 2 and 3 seconds, which is accettable. You could also remove the debug log to make it restart slighty faster.
 

alessandro123

Verified User
Joined
Sep 11, 2008
Messages
46
I think that should be better to do a graceful instead a restart for the "normal" operation like domain adding/removing.

Our customers told us that some monitoring system sends alerting when server reload the configuration and this is not good.
Seems to be a server problem where it is not.
 

tillo

Verified User
Joined
Oct 28, 2007
Messages
862
Location
Switzerland
You will have to discuss this with DA's developers. Send them an Email (preferred) or ask in the suggestions section of this forum (if you feel like you will need the support of other webhosters).
 
Top