Topic: PHP-FPM with APC SIGSIEV on CentOS 6.3

Hello!

We have a CentOS 6.3 64-bit machine with PHP installed from remi. Currently we are experiencing some problems with SIGSIEVS several times every day (please see the details below).

Do we need to increase the memory somewhere? Might this be a php bug that needs to be reported on the php website?

Thank you for your time!

Best Regards

Per Eriksson


The following packages installed

php.x86_64                        5.4.12-1.el6.remi                    @remi
php-cli.x86_64                    5.4.12-1.el6.remi                    @remi
php-common.x86_64                 5.4.12-1.el6.remi                    @remi
php-fpm.x86_64                    5.4.12-1.el6.remi                    @remi
php-gd.x86_64                     5.4.12-1.el6.remi                    @remi
php-mbstring.x86_64               5.4.12-1.el6.remi                    @remi
php-mcrypt.x86_64                 5.4.12-1.el6.remi                    @remi
php-pdo.x86_64                    5.4.12-1.el6.remi                    @remi
php-pear.noarch                   1:1.9.4-12.el6.remi.1                @remi
php-pecl-apc.x86_64               3.1.14-1.el6.remi.1                  @remi
php-pgsql.x86_64                  5.4.12-1.el6.remi                    @remi
php-xml.x86_64                    5.4.12-1.el6.remi                    @remi


php-fpm error.log

[03-Mar-2013 10:06:55] WARNING: [pool removed] child 30395 exited on signal 11 (SIGSEGV) after 306.091446 seconds from start
[03-Mar-2013 10:06:55] NOTICE: [pool removed] child 30481 started
[03-Mar-2013 10:06:55] WARNING: [pool removed] child 30396 exited on signal 11 (SIGSEGV) after 306.161719 seconds from start
[03-Mar-2013 10:06:55] NOTICE: [pool removed] child 30483 started
[03-Mar-2013 10:06:55] WARNING: [pool removed] child 30392 exited on signal 11 (SIGSEGV) after 306.245529 seconds from start
[03-Mar-2013 10:06:55] NOTICE: [pool removed] child 30485 started


httpd domain_error.log-20130303

2013/03/03 10:06:55 [error] 24379#0: *1581 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 84.55.106.150, server: domain, request: "GET removed", upstream: "removed", host: "domain", referrer: ""

Re: PHP-FPM with APC SIGSIEV on CentOS 6.3

Try to downgrade APC to 3.1.13 (still available in the repo).

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

3 (edited by atitan 2013-06-08 17:39:48)

Re: PHP-FPM with APC SIGSIEV on CentOS 6.3

I got the same problem with PHP 5.4.16 and APC 3.1.14 or 3.1.15(svn).

Disabling APC solves this.

Besides, if only runs one php-fpm pool(one website), everything works fine.
It seems like shared memory(shared within master process) causes the problem.

Re: PHP-FPM with APC SIGSIEV on CentOS 6.3

Read: PHP : opcode and user data caches

And so try php-pecl-zendopcache.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

5 (edited by atitan 2013-06-09 06:55:12)

Re: PHP-FPM with APC SIGSIEV on CentOS 6.3

Thanks for suggestion. Zend Opcache works fine with many php-fpm pools.