Welcome! Log In Create A New Profile

Advanced

php-fpm take up all cpu resources

March 30, 2013 11:18AM
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
Subject Author Posted

php-fpm take up all cpu resources

meteor8488 March 30, 2013 11:18AM

Re: php-fpm take up all cpu resources

Reinis Rozitis March 30, 2013 12:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 128
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready