Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2015 09:50:39 +0100
From:      Matt Smith <fbsd@xtaz.co.uk>
To:        Dimitri Minaev <minaev@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: High LA caused by php-fpm
Message-ID:  <20150415085039.GF1280@xtaz.uk>
In-Reply-To: <CANTUpDDwYoF4q3Tn%2BU4F132A83cO1gKUuGqoc8kD%2BAoQRdG4CA@mail.gmail.com>
References:  <CANTUpDDwYoF4q3Tn%2BU4F132A83cO1gKUuGqoc8kD%2BAoQRdG4CA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 15 12:02, Dimitri Minaev wrote:
>Today, I tried to move our bunch of Drupal-powered web sites to a new
>server.  The old server was running FreeBSD 7.2 and I wanted to install a
>newer version. In the meanwhile, I transferred the sites to the new server
>(FreeBSD 10.1 on ZFS mirror,  1CPU with 6 cores and hyperthreading).
>Everything looked fine, but as soon as the requests rate reached the usual
>50-150 req/sec, the server shut up. Load average went up to 60, all
>requests timed out and the backlog on php-fpm socket was full (2048). All
>diagnostic tools showed that I/O was negligible, there was no swapping and
>the only problem was high CPU usage caused by php-fpm.

Hi, I had exactly this problem myself along with several other things 
behaving strangely because of the OpenSSL 1.0.2 update. For me, 
recompiling openssl with the ASM optimisation option switched off worked 
around the problem. With ASM on php-fpm used up huge amounts of load 
average, with ASM off the behavior is back to normal. Of course your 
issue may not be related to this, but it could be something to 
investigate. I discussed my issues in 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198788 , search for 
php-fpm on that page.

-- 
Matt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150415085039.GF1280>