Apache process working as prefork model crashed with orcale related module.
Issue
-
Apache process working as prefork model crashed with Orcale related module. The process has two threads even though the model is prefork
(gdb) bt #0 zend_inline_hash_func (ht=0xac99c608, arKey=0x8de58955 <Address 0x8de58955 out of bounds>, nKeyLength=2310546533, pData= 0xbfa44a7c) at /usr/src/debug/php-5.3.3/Zend/zend_hash.h:267 #1 zend_hash_find (ht=0xac99c608, arKey=0x8de58955 <Address 0x8de58955 out of bounds>, nKeyLength=2310546533, pData=0xbfa44a7c) at /usr/src/debug/php-5.3.3/Zend/zend_hash.c:875 #2 0x006f4d88 in apc_deactivate () at /usr/src/debug/php-pecl-apc-3.1.9/APC-3.1.9/apc_main.c:935 #3 apc_request_shutdown () at /usr/src/debug/php-pecl-apc-3.1.9/APC-3.1.9/apc_main.c:1008 #4 0x006eb4e3 in zm_deactivate_apc (type=1, module_number=27) at /usr/src/debug/php-pecl-apc-3.1.9/APC-3.1.9/php_apc.c:407 #5 0x014ab811 in module_registry_cleanup (module=0x4b52958) at /usr/src/debug/php-5.3.3/Zend/zend_API.c:2150 #6 0x014b62a7 in zend_hash_reverse_apply (ht=0x16198e0, apply_func=0x14ab7f0 <module_registry_cleanup>) at /usr/src/debug/php-5.3.3/Zend/zend_hash.c:753 #7 0x014a9fb2 in zend_deactivate_modules () at /usr/src/debug/php-5.3.3/Zend/zend.c:866 #8 0x01450a25 in php_request_shutdown (dummy=0x0) at /usr/src/debug/php-5.3.3/main/main.c:1615 #9 0x01538c54 in php_apache_request_dtor (r=0x580eca8) at /usr/src/debug/php-5.3.3/sapi/apache2handler/sapi_apache2.c:509 #10 php_handler (r=0x580eca8) at /usr/src/debug/php-5.3.3/sapi/apache2handler/sapi_apache2.c:681 #11 0x009c7911 in ap_run_handler (r=0x580eca8) at /usr/src/debug/httpd-2.2.15/server/config.c:158 #12 0x009cb696 in ap_invoke_handler (r=0x580eca8) at /usr/src/debug/httpd-2.2.15/server/config.c:376 #13 0x009d8458 in ap_process_request (r=0x580eca8) at /usr/src/debug/httpd-2.2.15/modules/http/http_request.c:282 #14 0x009d4f08 in ap_process_http_connection (c=0x5808d08) at /usr/src/debug/httpd-2.2.15/modules/http/http_core.c:190 #15 0x009d0181 in ap_run_process_connection (c=0x5808d08) at /usr/src/debug/httpd-2.2.15/server/connection.c:43 #16 0x009dde6a in child_main (child_num_arg=<value optimized out>) at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:667 #17 0x009de1fe in make_child (s=<value optimized out>, slot=142) at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:763 #18 0x009df1d3 in perform_idle_server_maintenance (_pconf=0x258a0c0, plog=0x25b8178, s=0x258bfb8) at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:898 #19 ap_mpm_run (_pconf=0x258a0c0, plog=0x25b8178, s=0x258bfb8) at /usr/src/debug/httpd-2.2.15/server/mpm/prefork/prefork.c:1102 #20 0x009b1b7a in main (argc=1, argv=0xbfa452b4) at /usr/src/debug/httpd-2.2.15/server/main.c:763 (gdb) thread 2 [Switching to thread 2 (Thread 0xb4967b70 (LWP 17976))]#0 0x00648424 in __kernel_vsyscall () (gdb) bt #0 0x00648424 in __kernel_vsyscall () #1 0x0052d786 in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #2 0x0052d5b0 in __sleep (seconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/sleep.c:138 #3 0xb5ae6344 in ?? () #4 0x007a7b39 in start_thread (arg=0xb4967b70) at pthread_create.c:301 #5 0x0056ec1e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133On the CU's env, following backtrace can retrieve.
(gdb) bt #0 0x00648424 in __kernel_vsyscall () #1 0x0052d786 in nanosleep () from /lib/libc.so.6 #2 0x0052d5b0 in sleep () from /lib/libc.so.6 #3 0xb5ae6344 in kpucpincrtime () from /usr/lib/oracle/10.2.0.4/client/lib/libclntsh.so.10.1 #4 0x007a7b39 in start_thread () from /lib/libpthread.so.0 #5 0x0056ec1e in clone () from /lib/libc.so.6
Environment
- Red Hat Enterprise Linux 6
- httpd
- Oracle database related module
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.