Re: Php-fpm will crash when perf runs with call graph option

From: Jiri Olsa
Date: Wed Jan 10 2018 - 10:22:31 EST


On Tue, Dec 26, 2017 at 10:29:34AM +0800, çèé wrote:
> Hi, Jirka
> This issue happens always. The perf is running on the host machine and the
> command line is as follow:
>
> $perf record -ag -F 100
>
> But I do not find anything about race condition from the call stack in gdb.
> The only thing I find is that some functions' rbp is really strange(0x1,
> 0x31).
>
> There is a simple method to reproduce this issue. Just run a docker in a
> server(OS : centos7.3), and run php-fpm(php-7.0.6) in the docker, then run
> some shell scripts from another server to send data package to the php-fpm
> in the docker. When perf runs on the server which contains the docker, the
> php-fpm will crash in just several seconds.

could you provide exact steps/commands for this?

thanks,
jirka