Welcome! Log In Create A New Profile

Advanced

How to force php-fpm to produce a core file?

Posted by Momchil Ivanov 
Momchil Ivanov
How to force php-fpm to produce a core file?
December 14, 2009 04:04PM
Hi,

I'm seeing some segmentation faults and would like to know where do they come
from. How can I force php-fpm to save a core file on segfault?

Thanks,
Momchil
Re: How to force php-fpm to produce a core file?
December 14, 2009 04:38PM
i think i get core files but i don't have anything specific in
../configure for php or for php-fpm...

i do have this in php-fpm.conf, not sure if it helps

value name="rlimit_core" = unlimited

(put it in XML, of course)


On Mon, Dec 14, 2009 at 1:02 PM, Momchil Ivanov <slogster@gmail.com> wrote:
> Hi,
>
> I'm seeing some segmentation faults and would like to know where do they come
> from. How can I force php-fpm to save a core file on segfault?
>
> Thanks,
> Momchil
>
Momchil Ivanov
Re: How to force php-fpm to produce a core file?
December 14, 2009 04:52PM
На понеделник 14 декември 2009 22:36:50 Michael Shadle написа:
> i think i get core files but i don't have anything specific in

^^ it depends on the OS and the configuration options if you are going to get
one at all, since the bug only happens once in 2-4 weeks (at say about 500
req/sec) I want to be sure, that I will get a core next time. I've tried
setting ulimit to unlimited in bash and was in a directory, writeable by php,
when I started the daemon, but I didn't get a core :( I want ot get it for
sure next time, since it's a nasty bug and I'm running at 1/5 the of the
capacity now due to debug symbols.

I'm using GNU/Linux (gentoo) if that helps.

Thanks,
Momchil
Momchil Ivanov
Re: How to force php-fpm to produce a core file?
December 14, 2009 04:58PM
На понеделник 14 декември 2009 22:51:32 Momchil Ivanov написа:
> I'm using GNU/Linux (gentoo) if that helps.

^^ s/gentoo/Debian/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 51
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready