Performance drops after some time, PHP7-FPM + Docker

From: Date: Fri, 14 Oct 2016 13:15:58 +0000
Subject: Performance drops after some time, PHP7-FPM + Docker
Groups: php.internals 
Request: Send a blank email to internals+get-96369@lists.php.net to get a copy of this message
Hello, I am seeing a strange performance drop on our production servers in the PHP components. It happens usually after 1-3 uptime days, the response time suddenly doubles. I already investigated to try to isolate any strange request, but found nothing. We are having 2k to 4k RPM, the stack is PHP-FPM 7.0.X (currently 12, I just updated) into Docker containers, images are based on the official PHP-FPM Docker image. The usual response time is ~25ms, and it surges to ~50ms after this "event". Here's a typical graph of the issue : http://i.imgur.com/3WaNBL4.png After restarting the docker containers (so the PHP-FPM processes), it just works fine again. I don't really know how to investigate further. If you have any pointers on how to help figuring out what's wrong, I'd love to try. Thanks, Regards, Jérémie -- Jérémie BORDIER

« previous php.internals (#96369) next »