PHP的错误日志中经常出现以下错误
[11-Sep-2018 17:08:47] ERROR: failed to ptrace(PEEKDATA) pid 1695: Input/output error (5)
[11-Sep-2018 17:08:47] NOTICE: finished trace of 1695
[11-Sep-2018 17:08:54] WARNING: [pool www] child 1510, script '/xxx/index.php' (request: "GET /in
dex.php") executing too slow (12.954694 sec), logging
是因为配置文件中设置了request_slowlog_timeout超时时间,但php-fpm对于处理进程信息的跟踪有BUG,导致信息记录不全,将request_slowlog_timeout=0就可以了,不要跟踪慢请求信息。