Re: [PHP-DEV] Performance drops after some time, PHP7-FPM + Docker

2016-10-19 Thread Rasmus Lerdorf
> > The output of the perf diff is quite poor I think, here's the mainline : > 35.90% +44.94% php-fpm [.] 0x00042412 > 10.72% -6.05% libc-2.19.so[.] 0x00079030 > 9.71% -9.34% newrelic.so [.] 0x00030980 > 3.81% -3.47% [

Re: [PHP-DEV] Performance drops after some time, PHP7-FPM + Docker

2016-10-19 Thread Jérémie BORDIER
Hello Rasmus, Thank you for the insight. I ran exactly what you said, on the very same php-fpm process, once just after restarting it almost 2 days ago, so having fast response time, and one just right now after the "slow down" issue triggered during the night. The output of the perf diff is quit

Re: [PHP-DEV] Performance drops after some time, PHP7-FPM + Docker

2016-10-14 Thread Rasmus Lerdorf
On Fri, Oct 14, 2016 at 9:15 PM, Jérémie BORDIER wrote: > > 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. > I would breakout the Linux perf command for something like this. Run it like this: perf record -p

[PHP-DEV] Performance drops after some time, PHP7-FPM + Docker

2016-10-14 Thread Jérémie BORDIER
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 PH