php fpm coredump,php-fpm,coredump_在php-fpm下,服务器间歇出现core dump 追踪到php代码是include一个php文件,php-fpm,coredum...

在php-fpm下,服务器间歇出现core dump 追踪到php代码是include一个php文件

服务器在间歇性的出现core dump;

于是有一下操作;

gdb php-fpm -c core.10508

balabalabala

(gdb) bt

#0 0x00000000005d27f8 in _zend_mm_free_int (heap=0x23bc300, p=0x26cdb20) at /root/php-5.3.27/Zend/zend_alloc.c:2028

#1 0x00000000005d367f in _efree (ptr=0x26cdb20) at /root/php-5.3.27/Zend/zend_alloc.c:2361

#2 0x00000000005b3163 in zend_multibyte_read_script (buf=0x7f80240cd000

, n=32525) at Zend/zend_language_scanner.l:709

#3 0x00000000005b1f54 in open_file_for_scanning (file_handle=0x7fff4efc6470) at Zend/zend_language_scanner.l:279

#4 0x00000000005b2246 in compile_file (file_handle=0x7fff4efc6470, type=8) at Zend/zend_language_scanner.l:352

#5 0x00007f802c3e321f in my_compile_file (h=0x7fff4efc6470, type=8) at /root/APC-3.1.9/apc_main.c:543

#6 0x00007f80305b8b7f in phar_compile_file (file_handle=0x7fff4efc6470, type=8) at /root/php-5.3.27/ext/phar/phar.c:3394

#7 0x00000000005b2457 in compile_filename (type=8, filename=0x2993a30) at Zend/zend_language_scanner.l:407

#8 0x00000000006b3bbd in ZEND_INCLUDE_OR_EVAL_SPEC_CV_HANDLER (execute_data=0x27defa0) at /root/php-5.3.27/Zend/zend_vm_execute.h:22537

#9 0x000000000062d686 in execute (op_array=0x274b150) at /root/php-5.3.27/Zend/zend_vm_execute.h:107

#10 0x00000000005e9cb4 in zend_call_function (fci=0x7fff4efc68e0, fci_cache=0x7fff4efc68b0) at /root/php-5.3.27/Zend/zend_execute_API.c:967

#11 0x00000000004a9bb1 in zim_reflection_method_invoke (ht=1, return_value=0x2734b38, return_value_ptr=0x0, this_ptr=0x2731730, return_value_used=0) at /root/php-5.3.27/ext/reflection/php_reflection.c:2636

#12 0x000000000062e289 in zend_do_fcall_common_helper_SPEC (execute_data=0x27d90b0) at /root/php-5.3.27/Zend/zend_vm_execute.h:322

#13 0x000000000062e9b9 in ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (execute_data=0x27d90b0) at /root/php-5.3.27/Zend/zend_vm_execute.h:430

#14 0x000000000062d686 in execute (op_array=0x2969580) at /root/php-5.3.27/Zend/zend_vm_execute.h:107

#15 0x00000000005f98aa in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /root/php-5.3.27/Zend/zend.c:1259

#16 0x000000000058056c in php_execute_script (primary_file=0x7fff4efcb080) at /root/php-5.3.27/main/main.c:2316

#17 0x00000000006ed0ba in main (argc=2, argv=0x7fff4efcb2a8) at /root/php-5.3.27/sapi/fpm/fpm/fpm_main.c:1929

(gdb) zbacktrace

[0x027defa0] require_cache() /webroot/Runtime/~runtime.php:1

[0x027de320] require_cache() /webroot/Runtime/~runtime.php:1

[0x027dd450] import() /webroot/Runtime/~runtime.php:1

[0x027dd298] D() /webroot/Lib/Common/Goods/GoodsLogic.class.php:42

[0x027dc9c0] getDataModel() /webroot/Lib/Common/Goods/GoodsLogic.class.php:256

[0x027dbc08] goodsNeedRef() /webroot/Lib/Action/Web/InterfacegoodAction.class.php:80

[0x027dbb18] pcgoodMongo() /webroot/Lib/Action/Web/InterfacegoodAction.class.php:29

[0x027da720] pcgood_mongo() /webroot/Lib/Action/Web/InterfacegoodAction.class.php:134

[0x4efc66f0] pcgood()

[0x027d90b0] invoke() /webroot/~runtime.php:1

[0x027d8ed0] exec() /webroot/~runtime.php:1

[0x027d8cc8] run() /webroot/~runtime.php:1

[0x027d6e98] start() /webroot/~runtime.php:7

[0x027d63f8] ??? /webroot/ThinkPHP/ThinkPHP.php:31

[0x027d6040] ??? /webroot/index.php:22

(gdb) print_cvs 2

Compiled variables count: 2

0 = filename

[0x02993a30] (refcount=3) string(74): "/webroot/Lib/Model/MongoGoodsModel.class.php"

1 = _importFiles

[0x027c9890] (refcount=2,is_ref) array(8): {

"/webroot/Lib/Action/Web/InterfaceAction.class.php\0" => [0x0273db08] (refcount=1) bool: true

"/webroot/Lib/Action/Web/InterfacegoodAction.class.php\0" => [0x027378a8] (refcount=1) bool: true

"/webroot/ThinkPHP/Lib/Core/Model.class.php\0" => [0x028622f0] (refcount=1) bool: true

"/webroot/Lib/Model/UserModel.class.php\0" => [0x026f6140] (refcount=1) bool: true

"/webroot/ThinkPHP/Lib/Core/Db.class.php\0" => [0x02880e48] (refcount=1) bool: true

"/webroot/ThinkPHP/Extend/Driver/Db/DbMysql.class.php\0" => [0x02882928] (refcount=1) bool: false

"/webroot/ThinkPHP/Lib/Driver/Db/DbMysql.class.php\0" => [0x0288d360] (refcount=1) bool: true

"/webroot/Lib/Common/Goods/GoodsLogic.class.php\0" => [0x029905c0] (refcount=1) bool: true

}

1 = _importFiles

Structure has no component named operator!=.

同类型的core很多 最终都能定位到include~~~~~

会不会是php-fpm 的内存出现了问题

php 5.3.27

apc 3.1.9

相关阅读:

Flask如何在模板中直接引用数据库调用数据?

关于javascript正则的一个棘手问题

php 正则 叹号 表示什么意思

如何使用js或者jq获得粘贴板里的内容?

我想问一下,比如编写页面 ,需要考虑浏览器兼容性问题,有哪些常见遇到的不兼容和解决

MySQL下,如何同时使用两个timestamp类型的字段?

为什么这里alert(i)是10 而不是9?执行过程是什么?

地图内存优化讨论

用react-native init 的工程, iOS文件夹中的main.jsbundle找不到,是正常的么?

app切换后台时,能不能起一个后台任务,继续执行一下操作?

Marionette 无法显示bootstrap的modal

python类中出现NameError的问题

sqlLite数据库存放地址

普通移动端网页和web app的区别

请教dubbo和kubernetes的异同?

如何深度定制bootstrap

用map还是flattenMap

beautifulsoup 解析后的内容的编码问题

蚂蜂窝酒店是如何使用第三方的酒店数据,他自己是如何维护产品?

windows10 node 和nmp的命令

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值