High LA caused by php-fpm
Matt Smith
fbsd at xtaz.co.uk
Wed Apr 15 08:50:45 UTC 2015
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
More information about the freebsd-questions
mailing list