Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

php-fpm take up all cpu resources (1 reply)

$
0
0
Hi All,

In these days, php-fpm took up all cpu resources several times a day..
Each php-fpm may take up 25% cpu resource which should be less than 5% in normal status.
Below is the php-fpm.log.

[30-Mar-2013 22:18:47] NOTICE: about to trace 29600
[30-Mar-2013 22:18:47] NOTICE: finished trace of 29600
[30-Mar-2013 22:18:47] NOTICE: child 29599 stopped for tracing
[30-Mar-2013 22:18:47] NOTICE: about to trace 29599
[30-Mar-2013 22:18:47] ERROR: failed to ptrace(PT_IO) pid 29599: Bad address (14)

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.
So I'm thinking this problem is caused by php-fpm.
I'm using Freebsd, and I disabled 'ktrace' in kernel. And the error for php-fpm is that failed to ptrace(PT_IO).
Is it possible that this problem is caused by ktrace?
Anyone can help?


_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 7229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>