Hello,
recently all servers started randomly crashing with apache segmentation
fault. By analyzing core dumps I can see that cause should be my code,
but the problem is that system is way to big to easily find a line witch
crashes servers. Currently there are six servers running in parallel,
but interesting thing, that if crashes one, other five crashes too.
There are some data retrieving from 3rd party sources (using various
technologies like SOAP, XML, or JSON), so it could be the reason why all
servers die all together.
I'm using Apache 2.4.7, PHP 5.5.9 and it's all running on Ubuntu 14.04
PHP modules enabled: opcache,
pdo,curl,json,memcached,mysqli,mysql,pdo_mysql,realine,redis,igbinary
Apache modules enabled: access_compat.load
alias, auth_basic, authn_core, authn_file, authz_core, authz_host,
authz_user, deflate, dir, env, filter, mime, mpm_prefork, negotiation,
php5, rewrite, setenvif, status
Basically all I have is this crashdump backtrace:
#0 0x00007f0259e41621 in zend_hash_quick_find () from /usr/lib/apache2
modules/libphp5.so
#1 0x00007f0259e58320 in zend_std_write_property () from
/usr/lib/apache2/modules/libphp5.so
#2 0x00007f0259e38495 in add_property_string_ex () from
/usr/lib/apache2/modules/libphp5.so
#3 0x00007f0259cd8f0f in ?? () from /usr/lib/apache2/modules/libphp5.so
#4 0x00007f0259ce76fd in add_soap_fault () from
/usr/lib/apache2/modules/libphp5.so
#5 0x00007f0259ce7dc8 in ?? () from /usr/lib/apache2/modules/libphp5.so
#6 0x00007f0259e336ac in zend_error_noreturn () from
/usr/lib/apache2/modules/libphp5.so
#7 0x00007f0259ee3487 in ?? () from /usr/lib/apache2/modules/libphp5.so
#8 0x00007f0259e5ca28 in execute_ex () from
/usr/lib/apache2/modules/libphp5.so
#9 0x00007f0259e22b99 in dtrace_execute_ex () from
/usr/lib/apache2/modules/libphp5.so
#10 0x00007f0259e24ed1 in zend_call_function () from
/usr/lib/apache2/modules/libphp5.so
#11 0x00007f0259e49e75 in zend_call_method () from
/usr/lib/apache2/modules/libphp5.so
#12 0x00007f0259e54d92 in zend_objects_destroy_object () from
/usr/lib/apache2/modules/libphp5.so
#13 0x00007f0259e5ad27 in zend_objects_store_del_ref_by_handle_ex ()
from /usr/lib/apache2/modules/libphp5.so
#14 0x00007f0259e5ad73 in zend_objects_store_del_ref () from
/usr/lib/apache2/modules/libphp5.so
#15 0x00007f0259e22de0 in _zval_ptr_dtor () from
/usr/lib/apache2/modules/libphp5.so
#16 0x00007f0259e27def in destroy_zend_class () from
/usr/lib/apache2/modules/libphp5.so
#17 0x00007f0259e40978 in zend_hash_clean () from
/usr/lib/apache2/modules/libphp5.so
#18 0x00007f0257120a31 in accel_shutdown () from
/usr/lib/php5/20121212/opcache.so
#19 0x00007f0257125050 in ?? () from /usr/lib/php5/20121212/opcache.so
#20 0x00007f0259e39fa3 in module_destructor () from
/usr/lib/apache2/modules/libphp5.so
#21 0x00007f0259e3f255 in ?? () from /usr/lib/apache2/modules/libphp5.so
#22 0x00007f0259e40a58 in zend_hash_graceful_reverse_destroy () from
/usr/lib/apache2/modules/libphp5.so
#23 0x00007f0259e32a2e in zend_shutdown () from
/usr/lib/apache2/modules/libphp5.so
#24 0x00007f0259dd425b in php_module_shutdown () from
/usr/lib/apache2/modules/libphp5.so
#25 0x00007f0259dd4319 in php_module_shutdown_wrapper () from
/usr/lib/apache2/modules/libphp5.so
#26 0x00007f0259ee38c1 in ?? () from /usr/lib/apache2/modules/libphp5.so
#27 0x00007f025d4c19ce in apr_pool_destroy () from
/usr/lib/x86_64-linux-gnu/libapr-1.so.0
#28 0x00007f025a8041ae in ?? () from
/usr/lib/apache2/modules/mod_mpm_prefork.so
#29 0x00007f025a8041eb in ?? () from
/usr/lib/apache2/modules/mod_mpm_prefork.so
#30 <signal handler called>
#31 0x00007f025d2983bd in read () at ../sysdeps/unix/syscall-template.S:81
#32 0x00007f025956b72b in ?? () from
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#33 0x00007f025956974b in BIO_read () from
/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
#34 0x00007f025924fa44 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
#35 0x00007f0259250c45 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
#36 0x00007f025924e064 in ?? () from /lib/x86_64-linux-gnu/libssl.so.1.0.0
#37 0x00007f0259beceb0 in ?? () from /usr/lib/apache2/modules/libphp5.so
#38 0x00007f0259de9b56 in ?? () from /usr/lib/apache2/modules/libphp5.so
#39 0x00007f0259dea8eb in _php_stream_get_line () from
/usr/lib/apache2/modules/libphp5.so
#40 0x00007f0259cf4e98 in ?? () from /usr/lib/apache2/modules/libphp5.so
#41 0x00007f0259cf6e4b in make_http_soap_request () from
/usr/lib/apache2/modules/libphp5.so
#42 0x00007f0259cddc46 in zim_SoapClient___doRequest () from
/usr/lib/apache2/modules/libphp5.so
#43 0x00007f0259e22c9b in dtrace_execute_internal () from
/usr/lib/apache2/modules/libphp5.so
#44 0x00007f0259e2502b in zend_call_function () from
/usr/lib/apache2/modules/libphp5.so
#45 0x00007f0259e250ce in call_user_function_ex () from
/usr/lib/apache2/modules/libphp5.so
#46 0x00007f0259e25122 in call_user_function () from
/usr/lib/apache2/modules/libphp5.so
#47 0x00007f0259ce81e8 in ?? () from /usr/lib/apache2/modules/libphp5.so
#48 0x00007f0259ce8f58 in ?? () from /usr/lib/apache2/modules/libphp5.so
#49 0x00007f0259ce97b7 in zim_SoapClient___call () from
/usr/lib/apache2/modules/libphp5.so
#50 0x00007f0259e22c9b in dtrace_execute_internal () from
/usr/lib/apache2/modules/libphp5.so
#51 0x00007f0259ee2cf5 in ?? () from /usr/lib/apache2/modules/libphp5.so
#52 0x00007f0259e5ca28 in execute_ex () from
/usr/lib/apache2/modules/libphp5.so
#53 0x00007f0259e22b99 in dtrace_execute_ex () from
/usr/lib/apache2/modules/libphp5.so
#54 0x00007f0259ee3340 in ?? () from /usr/lib/apache2/modules/libphp5.so
#55 0x00007f0259e5ca28 in execute_ex () from
/usr/lib/apache2/modules/libphp5.so
#56 0x00007f0259e22b99 in dtrace_execute_ex () from
/usr/lib/apache2/modules/libphp5.so
#57 0x00007f0259ee3340 in ?? () from /usr/lib/apache2/modules/libphp5.so
Maybe someone have an idea what it is or wheere to dig next?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php