<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">Hi All, <br><br>In these days, php-fpm took up all cpu resources several times a day..<br>Each php-fpm may take up 25% cpu resource which should be less than 5% in normal status.<br>Below is the php-fpm.log.<br><br>[30-Mar-2013 22:18:47] NOTICE: about to trace 29600<br>[30-Mar-2013 22:18:47] NOTICE: finished trace of 29600<br>[30-Mar-2013 22:18:47] NOTICE: child 29599 stopped for tracing<br>[30-Mar-2013 22:18:47] NOTICE: about to trace 29599<br>[30-Mar-2013 22:18:47] ERROR:<b> failed to ptrace(PT_IO) pid 2959</b>9: Bad address (14)<br><br>At first, I though it's caused by mysql. But when php-fpm took up all cpu resource, I found that there is no sql process in mysql.<br>So I'm thinking this problem is caused by php-fpm.<br>I'm using Freebsd, and I disabled 'ktrace' in kernel. And the error for php-fpm is that <b>failed to ptrace(PT_IO).<br>Is it possible that this problem is caused by ktrace?<br>Anyone can help?<br></b><br><br></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>