#772975 Random Segfault(11) php5-fpm when Overload

#772975#5
Date:
2014-12-12 16:36:17 UTC
From:
To:
Dear maintainer,

We experience random php5-fpm process segfault on our
servers in high load situations. We use the official php5 Debian package
from stable Wheezy repository.

This issue seems to affect often the same fpm-pool/websites.
The service works again after a restart of the php5-fpm
service

I reproduce that bug in VM simulate lot of request with siege tools and
generate backtraces with php5-dbg and GDB (backtraces in attachment)

This issue seems to be related to apc, because
when I disable apc for a pool I don't get new segfault again for this
pool.

Best regards,
Léo

Environment:
Debian Wheezy - Linux mstest 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2+deb7u2
x86_64 GNU/Linux

PHP 5.4.35-0+deb7u2 (cli) (built: Nov 19 2014 07:56:24)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

#772975#10
Date:
2014-12-15 14:42:58 UTC
From:
To:
So, why did you assign this to php5-fpm if you have diagnosed the bug to
be caused by APC?

Reassigning this to php5-apc.

Cheers,
Ondrej

#772975#21
Date:
2014-12-16 09:31:25 UTC
From:
To:
I didn't mean php5-apcu, I meant php-apc from stable :)

O.