Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I install and enbale phpng-xhprof success , but php7.0-fpm sometimes exited on signal 11 #14

Closed
justanding opened this issue Apr 11, 2017 · 1 comment

Comments

@justanding
Copy link

I install and enbale phpng-xhprof success , but php7.0-fpm sometimes exited on signal 11.
This causes nginx to generate a 404 error.

php7.0-fpm log:
[11-Apr-2017 10:34:48] WARNING: [pool www] child 10335 exited on signal 11 (SIGSEGV - core dumped) after 7.301858 seconds from start
[11-Apr-2017 10:34:48] NOTICE: [pool www] child 10345 started
[11-Apr-2017 10:34:49] WARNING: [pool www] child 10336 exited on signal 11 (SIGSEGV - core dumped) after 8.289563 seconds from start

php-version:
PHP 7.0.16-3+deb.sury.org~xenial+1 (cli) (built: Feb 22 2017 10:05:52) ( NTS )

@yaoguais
Copy link
Owner

Can you show the test script?
I request the script "https://github.com/yaoguais/phpng-xhprof/blob/master/diff/enable.php" and get the right response.(PHP 7.0.16 (cli) (built: Apr 11 2017 13:54:34) ( NTS ) php-fpm)

7.0.16-enable-063149.out
array (
  'main()==>load::www/lib.php' =>
  array (
    'ct' => 1,
    'wt' => 109,
    'cpu' => 0,
    'mu' => 3216,
    'pmu' => 2720,
  ),
  'main()==>run_init::www/lib.php' =>
  array (
    'ct' => 1,
    'wt' => 2,
    'cpu' => 0,
    'mu' => 528,
    'pmu' => 0,
  ),
  'main()==>strlen' =>
  array (
    'ct' => 1,
    'wt' => 7,
    'cpu' => 0,
    'mu' => 512,
    'pmu' => 0,
  ),
  'main()==>str_replace' =>
  array (
    'ct' => 1,
    'wt' => 17,
    'cpu' => 0,
    'mu' => 520,
    'pmu' => 0,
  ),
  'main()==>eval::/home/yaoguai/php7016/www/enable.php(18) : eval()\'d code' =>
  array (
    'ct' => 1,
    'wt' => 7,
    'cpu' => 0,
    'mu' => 1016,
    'pmu' => 224,
  ),
  'main()==>run_init::www/enable.php(18) : eval()\'d code' =>
  array (
    'ct' => 1,
    'wt' => 0,
    'cpu' => 0,
    'mu' => 552,
    'pmu' => 0,
  ),
  'foo==>bar' =>
  array (
    'ct' => 5,
    'wt' => 17,
    'cpu' => 0,
    'mu' => 512,
    'pmu' => 0,
  ),
  'foo==>strlen' =>
  array (
    'ct' => 5,
    'wt' => 0,
    'cpu' => 0,
    'mu' => 512,
    'pmu' => 0,
  ),
  'bar==>bar@1' =>
  array (
    'ct' => 4,
    'wt' => 10,
    'cpu' => 0,
    'mu' => 832,
    'pmu' => 0,
  ),
  'bar@1==>bar@2' =>
  array (
    'ct' => 3,
    'wt' => 5,
    'cpu' => 0,
    'mu' => 512,
    'pmu' => 0,
  ),
  'bar@2==>bar@3' =>
  array (
    'ct' => 2,
    'wt' => 2,
    'cpu' => 0,
    'mu' => 512,
    'pmu' => 0,
  ),
  'bar@3==>bar@4' =>
  array (
    'ct' => 1,
    'wt' => 0,
    'cpu' => 0,
    'mu' => 512,
    'pmu' => 0,
  ),
  'main()==>foo' =>
  array (
    'ct' => 1,
    'wt' => 33,
    'cpu' => 0,
    'mu' => 4288,
    'pmu' => 0,
  ),
  'main()==>xhprof_disable' =>
  array (
    'ct' => 1,
    'wt' => 0,
    'cpu' => 0,
    'mu' => 520,
    'pmu' => 0,
  ),
  'main()' =>
  array (
    'ct' => 1,
    'wt' => 235,
    'cpu' => 0,
    'mu' => 10800,
    'pmu' => 2944,
  ),
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants