AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 经常有很多关于php的错误日志,求大神分析下 |
|
---|---|
heminjie |
heminjie 发表于 2015-04-20 12:59:26
本帖最后由 heminjie 于 2015-4-20 13:05 编辑
安装的AMH4.2后,在/var/log/messages日志中,经常有下面的错误日志,不知道什么问题,帮忙分析哈哦~ Apr 20 09:46:24 VM_143_224_centos kernel: php-fpm[26501]: segfault at 1000721 ip 000000000073cce7 sp 00007ffff094a3f0 error 4 in php-fpm[400000+979000] Apr 20 09:46:26 VM_143_224_centos abrt[26600]: saved core dump of pid 26501 (/usr/local/php/sbin/php-fpm) to /var/spool/abrt/ccpp-2015-04-20-09:46:24-26501.new/coredump (60891136 bytes) Apr 20 09:46:26 VM_143_224_centos abrtd: Directory 'ccpp-2015-04-20-09:46:24-26501' creation detected Apr 20 09:46:28 VM_143_224_centos abrtd: Executable '/usr/local/php/sbin/php-fpm' doesn't belong to any package Apr 20 09:46:28 VM_143_224_centos abrtd: Corrupted or bad dump /var/spool/abrt/ccpp-2015-04-20-09:46:24-26501 (res:2), deleting [root@VM_143_224_centos log]# php -v PHP 5.3.27 (cli) (built: Dec 25 2014 00:48:59) Copyright (c) 1997-2013 The PHP Group php-fpm配置是默认配置,如下: [root@VM_143_224_centos ~]# cat /usr/local/php/etc/php-fpm.conf ;include=etc/fpm/*.conf [global] pid = run/php-fpm.pid log_level = error [www] listen = /tmp/php-cgi.sock user = www group = www pm = static pm.max_children = 2 pm.start_servers = 2 pm.min_spare_servers = 2 pm.max_spare_servers = 3 request_terminate_timeout = 0 rlimit_files = 51200
点赞,加油! (0分)
2015-04-20 12:59:26 1
|
诸葛御风 |
php-fpm你怎么设置的?
回复
2015-04-20 13:01:12 2
|
heminjie |
php-fpm是默认设置,如下: [root@VM_143_224_centos ~]# cat /usr/local/php/etc/php-fpm.conf ;include=etc/fpm/*.conf [global] pid = run/php-fpm.pid log_level = error [www] listen = /tmp/php-cgi.sock user = www group = www pm = static pm.max_children = 2 pm.start_servers = 2 pm.min_spare_servers = 2 pm.max_spare_servers = 3 request_terminate_timeout = 0 rlimit_files = 51200
回复
2015-04-20 13:04:08 3
|
heminjie |
支持 支持 支持 支持
回复
2015-04-20 14:42:59 4
|
iCharlesC |
看看 coredump 里面有什么吧。
回复
2015-04-20 22:37:19 5
|