服务器在间歇性的出现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

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

  1. dll放在unity哪个文件夹下_程序丨如何将你的Unity代码整理到一个DLL中?

    原标题:程序丨如何将你的Unity代码整理到一个DLL中? 翻译:林政(玄猫大人) 审校:沈晓霖 代码复用的重要性 这里有一则故事也是你听过类似的: 你下载好Unity,看完Youtube上的一些教程 ...

  2. 项目从服务器移除,删除SVN目录及从服务器端删除SVN版本库文件方法详解

    删除SVN目录 当使用了svn版本控制系统后每个目录下都会有一个.svn目录存在,开发完当交付产品或者上传到服务器时一般要把这些目录删除,这里总结了一下在linux和win下的办法. 一.在linux ...

  3. 在Linux(Ubuntu)下搭建ASP.NET Core环境并运行 继续跨平台

    最新教程:http://www.cnblogs.com/linezero/p/aspnetcoreubuntu.html 无需安装mono,在Linux(Ubuntu)下搭建ASP.NET Core环 ...

  4. tracker服务器_.NET Core 开发 BT Tracker 服务器

    (给DotNet加星标,提升.Net技能) 转自:myzony cnblogs.com/myzony/p/10493707.html 一.什么是 BT Tracker  BT下载过程当中,我们如果拿到 ...

  5. ASP.NET Core 部署到Cont OS 服务器

    一.前言 当 asp.net core 发布以后,实现了跨平台.基于好奇,我就测试了一下 core 项目部署到 linux 服务器.感觉一路还是有所收获,接下来记录一下操作流程. 工具:window ...

  6. 8.ASP.NET Core中的Kestrel Web服务器

    这篇文章,向大家介绍ASP.NET Core中的Kestrel Web服务器.这篇文章主要讨论下面两个重要的事情: 什么是Kestrel 服务器? 怎么使用.NET Core CLI来运行ASP.NE ...

  7. NVIDIA深度学习Tensor Core性能解析(下)

    NVIDIA深度学习Tensor Core性能解析(下) DeepBench推理测试之RNN和Sparse GEMM DeepBench的最后一项推理测试是RNN和Sparse GEMM,虽然测试中可 ...

  8. 关于springmvc下服务器文件打包成zip格式下载功能

    关于springmvc下服务器文件打包成zip格式下载功能 2016年09月21日 11:22:14 toxic_guantou 阅读数:5731更多 个人分类: 技术点存储 版权声明:本文为博主原创 ...

  9. WIN2003下×××服务器架设攻略

    WIN2003下×××服务器架设攻略 本帖发表在我是网管论坛,帖子地址:[url]http://bbs.54master.com/191841[/url],1,1 有不少朋友因为工作关系常常移动办公, ...

最新文章

  1. 【前端】react and redux教程学习实践,浅显易懂的实践学习方法。
  2. java动态代理上是否能再进行一层代理
  3. python数据库操作nosql_用Python写一个NoSQL数据库
  4. Chrome 0 day漏洞利用链
  5. [机器学习笔记]Note12--降维
  6. Servlet入门总结
  7. 判断奇偶性 大数(高精度)
  8. 单片机 实现计算机键盘录制,用单片机实现PC键盘输入.doc
  9. 从source folder 下将其所有子文件夹的*.* 文件拷贝到 target folder (不拷贝文件夹名仅拷贝文件)...
  10. 在鼠标点击的位置 ,添加一个div ,类似手表右键菜单
  11. 诺基亚x6升级android9体验,诺基亚X6手机怎么样?诺基亚X6全面详细评测
  12. 小米手机的专用计算机连接软件,小米手机怎么连接电脑?这些方法值得收藏!...
  13. 【数据分析】销售案例——会员分析
  14. 列举五样计算机常见故障,项目五计算机常见故障和排除.ppt
  15. 数字转人民币大写(SQL SERVER)
  16. 数据库编程:存储过程和储存函数
  17. 【统计分析】(task5) 金融量化分析与随机模拟(通过随机模拟估计看涨期权的报酬分布)
  18. Android (嘤)英语语音识别 简单概况
  19. matplotlib.pyplot库函数
  20. 【有问不答】大摆球物理模型(MATLAB)

热门文章

  1. python获取网页图片_Python获取网页上图片下载地址的方法
  2. 游戏视觉控壁纸党可以开始行动!
  3. 平安夜海报PNG免扣素材来了,全都在这|搜图114
  4. PSD分层模板,助你设计出有创意的圣诞海报
  5. 设计潮流趋势|背景图案素材,增加设计对比和补充前景元素
  6. UI设计实用素材|数据可视化UX套件
  7. python标准输出_Python(2.7)-标准输入输出,标准错误输出
  8. Linux内核构建与开发
  9. OSI参考模型和TCP/IP参考模型-详解
  10. Linux内存管理:内存描述之内存页面page