Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96479 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 50326 invoked from network); 19 Oct 2016 12:53:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Oct 2016 12:53:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=ahfeel@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ahfeel@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.194 as permitted sender) X-PHP-List-Original-Sender: ahfeel@gmail.com X-Host-Fingerprint: 209.85.220.194 mail-qk0-f194.google.com Received: from [209.85.220.194] ([209.85.220.194:34650] helo=mail-qk0-f194.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/E5-14749-EDC67085 for ; Wed, 19 Oct 2016 08:53:51 -0400 Received: by mail-qk0-f194.google.com with SMTP id n189so1827944qke.1 for ; Wed, 19 Oct 2016 05:53:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=36NKkkYk9LudM2W0SbsLFN1yKzqt8P5m/BXjLxYyua8=; b=yMyoKa3x7NovSeAcgJdNpsWXsStsAlP2aYKs/RCpV0GJDUIWlN43LWRP4XkZVlcd+A 1uGusQINmUPBYZutSbokA8Rkk1NRqnssc8UhfE43VK9XZvAQaXg4A/urQEFmCOqipzax 1dZKXysTXwOBGPD3TZaOjiLs3zMaevAJ5Idv3isovy3+HhRZwTd8CQlYwaNDhAVLoqhm SfKWupWacu61e8Yvh8Gs3P2y78XYUIrSJ9+lyTU9PwtQzMuXlbP9dOBaw8vVGO1FcGak pUNlCUfDHmIanmLCsBoQ8WBT+i7arHJPFpGrapwtcqx5IoQ5Eq/N0cujJEfcsz34b/mn 2ruQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:sender:in-reply-to :references:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=36NKkkYk9LudM2W0SbsLFN1yKzqt8P5m/BXjLxYyua8=; b=KXaKtvGhVy38aQ/rjNhYaVi8El+BwePMJKYT1NqQ2gLU3sXLzXHitV5uOigql+3V/r XT0Mjn2oGaL+RgW5KbLK5b67RAbJN2QFOO2Qsl9IKWibNzSchZ3JDEJg0/dxWVox93mG +pwCa50P346K4jY5ZiXghX+/DBLYGgem9OJlaDfg4J73ksj7Kyx6u7KYErCw+ho3RSYL cD9ioiR/zRxbcN+6UizvudmpYE9AK73TCTUSvURHEFroMrS32MUld34EbwJ1yqmJPERX p0miLqUoP/FymwsMuO4hW5uvp5Y8NXi3ebNar78PHCjX/zEujaOJWimbnO0N+OGj46hC WpBg== X-Gm-Message-State: AA6/9RmMRIBMq9et6875sGNFsfjFc8OTS4yF8AYRsayhoaZecmRzEUiqcfx6kYvzYtLP8irDFsLylnmP4sVBjQ== X-Received: by 10.194.75.37 with SMTP id z5mr4891387wjv.78.1476881627562; Wed, 19 Oct 2016 05:53:47 -0700 (PDT) MIME-Version: 1.0 Reply-To: jeremie.bordier@gmail.com Sender: ahfeel@gmail.com Received: by 10.28.23.196 with HTTP; Wed, 19 Oct 2016 05:53:47 -0700 (PDT) In-Reply-To: References: Date: Wed, 19 Oct 2016 14:53:47 +0200 X-Google-Sender-Auth: aqJNTwJrPjDWT8x8zz0TRjhHHxk Message-ID: To: Rasmus Lerdorf Cc: =?UTF-8?B?SsOpcsOpbWllIEJPUkRJRVI=?= , PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Performance drops after some time, PHP7-FPM + Docker From: jeremie.bordier@gmail.com (=?UTF-8?B?SsOpcsOpbWllIEJPUkRJRVI=?=) 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 quite poor I think, here's the mainline : 35.90% +44.94% php-fpm [.] 0x0000000000042412 10.72% -6.05% libc-2.19.so [.] 0x0000000000079030 9.71% -9.34% newrelic.so [.] 0x0000000000030980 3.81% -3.47% [kernel.kallsyms] [k] ipt_do_table 2.56% -2.02% [kernel.kallsyms] [k] nf_iterate 2.32% -1.99% opcache.so [.] 0x0000000000008cec 1.44% [kernel.kallsyms] [k] update_cfs_shares 1.42% [kernel.kallsyms] [k] __bpf_prog_run 1.28% [vdso] [.] __vdso_gettimeofday How could I provide more info ? Thanks, Best regards, J=C3=A9r=C3=A9mie On Fri, Oct 14, 2016 at 9:10 PM, Rasmus Lerdorf wrote: > On Fri, Oct 14, 2016 at 9:15 PM, J=C3=A9r=C3=A9mie 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 -g > > Let that run for some arbitrary amount of time. Start with 10 seconds, or > so. Then: > > perf report -n > > That should give you a nice report of what your php-fpm process did for > those 10 seconds. Now do the same thing when you see the problem and comp= are > the reports. > > -Rasmus --=20 J=C3=A9r=C3=A9mie BORDIER