我的一个PHP网站最近变得缓慢。由于我们公司已经成功,现在不再有任何PHP开发人员,我发现很难从日志文件中获取任何东西。任何人都可以指出我们这些错误的原因是什么,以便我们可以雇用或者如果可能的话自己更正代码?
托管小组的回复是
您好,
我们注意到域的document_root上有许多“核心转储”文件,因此它显示应用程序有一些问题并且它正在崩溃。我们已经分析了这个和zound,应用程序崩溃了ZEND函数调用。我们注意到Zendopt已经安装,所以请与您的开发人员联系。如果您还有其他服务器配置要求,请向我们提供详细信息。
如需澄清,请仔细阅读以下日志。
这是日志:
Loaded symbols for /lib64/libnss_files.so.2
Can't read symbols from system-supplied DSO at 0x7fffe1ffd000: File truncated
Core was generated by `/usr/bin/php /home/itvarnew/public_html/index.php'.
Program terminated with signal 11, Segmentation fault.
#0 0x00000000007563ce in virtual_file_ex ()
(gdb) backtrace
#0 0x00000000007563ce in virtual_file_ex ()
#1 0x000000000076385c in expand_filepath_ex ()
#2 0x0000000000763619 in expand_filepath ()
#3 0x000000000077c1e9 in _php_stream_fopen ()
#4 0x000000000077d00a in _php_stream_fopen_with_path ()
#5 0x000000000077c443 in php_plain_files_stream_opener ()
#6 0x0000000000776d18 in _php_stream_open_wrapper_ex ()
#7 0x000000000075a857 in php_stream_open_for_zend_ex ()
#8 0x000000000075a821 in php_stream_open_for_zend ()
#9 0x00000000007cc224 in zend_stream_open ()
#10 0x00002b044cd09f4b in ?? () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#11 0x00002b044caebed6 in ?? () from /usr/local/IonCube/ioncube_loader_lin_5.2.so
#12 0x00000000007885ad in compile_filename ()
#13 0x00000000007e9131 in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER ()
#14 0x00000000007db527 in execute ()
#15 0x00002b044cd7890f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#16 0x00000000007dbc5c in zend_do_fcall_common_helper_SPEC ()
#17 0x00000000007dc8b9 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#18 0x00000000007db527 in execute ()
#19 0x00002b044cd7890f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
---Type <return> to continue, or q <return> to quit---
#20 0x00000000007dbc5c in zend_do_fcall_common_helper_SPEC ()
#21 0x00000000007dc8b9 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#22 0x00000000007db527 in execute ()
#23 0x00002b044cd7890f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#24 0x00000000007dbc5c in zend_do_fcall_common_helper_SPEC ()
#25 0x00000000007dc8b9 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#26 0x00000000007db527 in execute ()
#27 0x00002b044cd7890f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#28 0x00000000007dbc5c in zend_do_fcall_common_helper_SPEC ()
#29 0x00000000007dc8b9 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#30 0x00000000007db527 in execute ()
#31 0x00002b044cd7890f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#32 0x00000000007dbc5c in zend_do_fcall_common_helper_SPEC ()
#33 0x00000000007dc8b9 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#34 0x00000000007db527 in execute ()
#35 0x00002b044cd7890f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#36 0x00000000007dbc5c in zend_do_fcall_common_helper_SPEC ()
#37 0x00000000007dc8b9 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#38 0x00000000007db527 in execute ()
#39 0x00002b044cd7890f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
---Type <return> to continue, or q <return> to quit---
#40 0x00000000007dbc5c in zend_do_fcall_common_helper_SPEC ()
#41 0x00000000007dc8b9 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#42 0x00000000007db527 in execute ()
#43 0x00002b044cd7890f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#44 0x00000000007dbc5c in zend_do_fcall_common_helper_SPEC ()
#45 0x00000000007dc8b9 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#46 0x00000000007db527 in execute ()
#47 0x00002b044cd7890f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#48 0x00000000007dbc5c in zend_do_fcall_common_helper_SPEC ()
#49 0x00000000007dc8b9 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER ()
#50 0x00000000007db527 in execute ()
#51 0x00002b044cd7890f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#52 0x00000000007e926f in ZEND_INCLUDE_OR_EVAL_SPEC_TMP_HANDLER ()
#53 0x00000000007db527 in execute ()
#54 0x00002b044cd7890f in zend_oe () from /usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so
#55 0x00000000007b4766 in zend_execute_scripts ()
#56 0x000000000075c493 in php_execute_script ()
#57 0x0000000000838f5e in main ()
(gdb)