php 版本是 5.6.28
有两个 api 接口会出现 fpm 异常退出的情况
fpm 的日志:
WARNING: [pool www] child 9443 exited with code 1 after 39.551266 seconds from start
php 代码层次记录不到这种错误,他就是进程突然退出了,我跟踪进程后发现是出现了提示“ zend_mm_heap corrupted ”之后,进程就退出了。
部署在上面的其他网站没问题,同一个网站也就这两个接口有这样的问题。
搜索了好久,试了各种设置,都没用,怎么搞?有没有遇到相同问题的?
服务器是公司测试用的,没用权限更改东西。
1
oneonesv 2019-08-27 15:53:08 +08:00
https://stackoverflow.com/questions/2247977/what-does-zend-mm-heap-corrupted-mean
If you have opcache loaded, disable optimizations I'm not picking on opcache, it's great, but some of it's optimizations have been known to cause faults. If that doesn't work, even though your code may be slower, try unloading opcache first. If any of this changes or fixes the problem, update the bug report you made. Disable all unnecessary extensions at once. Begin to enable all your extensions individually, thoroughly testing after each configuration change. If you find the problem extension, update your bug report with more info. |
2
qq1340691923 2019-08-27 16:00:29 +08:00
换语言
|