Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96372 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23073 invoked from network); 14 Oct 2016 19:10:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Oct 2016 19:10:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain lerdorf.com designates 209.85.223.170 as permitted sender) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.223.170 mail-io0-f170.google.com Received: from [209.85.223.170] ([209.85.223.170:33759] helo=mail-io0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6A/C4-41968-4BD21085 for ; Fri, 14 Oct 2016 15:10:45 -0400 Received: by mail-io0-f170.google.com with SMTP id q192so131386726iod.0 for ; Fri, 14 Oct 2016 12:10:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lerdorf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=z/4AGZvS+E1F6HbYNBqG/QeE5GwKri9/2BvuMrKX/DQ=; b=FfqPF1rkbSdLUbRjSnQjlfn4wJODbK4JRZKA0APMSRuQbjn5F0v9aZ2mJ8/9iQDSkM 9VGnpJAn4a1+L3aV23ZvcCo4mKf8aNSvzQ1lOt4Pg/6HNrEdv4DS/Xq9t0IeWfraL+wM 2Ce7oFKTOQbMA7uJX/WNMTU3g4ZyfgtlmXL4NrLJnq+GlMaGcfvynG0gmXLHm537kEO2 1BU4f45ZeOe6AZcTrSqMuTHuBdMVrKqoqo5zN89hrEI0QpbjODSu85lRFYkp5klsskPo M+td9WPnGG4YsSxF20gosjoO8OUojy3AunM6LuMCvc0uC6aBDqlSMHL1d4HRsY9LLj7U +91A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=z/4AGZvS+E1F6HbYNBqG/QeE5GwKri9/2BvuMrKX/DQ=; b=VowTTa81sQ5PylWwYxwfh+lNK9TFD6FwvGBAZ0arRTFDrumI0ZrtrKQgOKjOunzxtA CC6Ia1a9AD3zWhMJaC0skowsQihTMYU1fyLmtscaR/qMtUeqzPCNVOm+7FLgk5CAQ1CY IjaPp0ycED514Bw1zXJXCLcPAfkO2+evZApkfdRfv1DkBwbRz96HP7lprq7B1jSzcrO8 m1ilNoinGrMRBQqCtJWkY5a8ohq3376wqx7iKsx22XlihWrx8Ym0JPpONTMT4mu/E7c6 oGBlccpE07adMhHnyLHDB6+rWKN0qEjrDfZSQYUhRuQkXs6obJ3NYc7k7nFDIjt5eRcj 1Aig== X-Gm-Message-State: AA6/9RlrrBxj7XyxxNb40+JLlWC3fdomT5rQyZSJKVkwK9VvN5yWKZ/0r01ruh1t8Qoy0YOMhugKuVyFwjlzww== X-Received: by 10.107.128.205 with SMTP id k74mr13900703ioi.223.1476472241981; Fri, 14 Oct 2016 12:10:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.138.195 with HTTP; Fri, 14 Oct 2016 12:10:01 -0700 (PDT) In-Reply-To: References: Date: Sat, 15 Oct 2016 03:10:01 +0800 Message-ID: To: jeremie.bordier@gmail.com Cc: PHP internals Content-Type: multipart/alternative; boundary=001a113f9772812705053ed7fb96 Subject: Re: [PHP-DEV] Performance drops after some time, PHP7-FPM + Docker From: rasmus@lerdorf.com (Rasmus Lerdorf) --001a113f9772812705053ed7fb96 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 compare the reports. -Rasmus --001a113f9772812705053ed7fb96--