Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-07, 22:24:17

Author Topic: php-fpm segfaults  (Read 2119 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
php-fpm segfaults
« on: 2013-08-16, 16:38:17 »
I got tons of these inside dmesg:

Code: [Select]
traps: php-fpm[21307] general protection ip:5e8bc2 sp:7fff7865e928 error:0 in php-fpm[400000+34c000]
php-fpm[24135]: segfault at 1000721 ip 00000000005e9407 sp 00007fff7865daa0 error 4 in php-fpm[400000+34c000]
php-fpm[31801]: segfault at 7fff77e61f40 ip 0000000000583caa sp 00007fff77e61f10 error 6 in php-fpm[400000+34c000]
php-fpm[32636]: segfault at 7fff77e61f40 ip 0000000000583caa sp 00007fff77e61f10 error 6 in php-fpm[400000+34c000]
php-fpm[4245]: segfault at 7f0000000020 ip 00000000005e9407 sp 00007fff7865daa0 error 4 in php-fpm[400000+34c000]
php-fpm[14842]: segfault at 7fff77e61f40 ip 0000000000583caa sp 00007fff77e61f10 error 6 in php-fpm[400000+34c000]
php-fpm[21132]: segfault at 1000721 ip 00000000005e9407 sp 00007fff7865daa0 error 4 in php-fpm[400000+34c000]
php-fpm[6201]: segfault at 7f0000000020 ip 00000000005e9407 sp 00007fff7865daa0 error 4 in php-fpm[400000+34c000]
php-fpm[18475]: segfault at 7fff77e61f40 ip 0000000000583caa sp 00007fff77e61f10 error 6 in php-fpm[400000+34c000]
php-fpm[22856]: segfault at 7fff77e61f40 ip 0000000000583caa sp 00007fff77e61f10 error 6 in php-fpm[400000+34c000]
php-fpm[14492]: segfault at 7fff77e61f40 ip 0000000000583caa sp 00007fff77e61f10 error 6 in php-fpm[400000+34c000]
php-fpm[979]: segfault at 7fff77e61f40 ip 0000000000583caa sp 00007fff77e61f10 error 6 in php-fpm[400000+34c000]
php-fpm[4999]: segfault at 7fff77e61f40 ip 0000000000583caa sp 00007fff77e61f10 error 6 in php-fpm[400000+34c000]
php-fpm[15680]: segfault at 7fff77e61f40 ip 0000000000583caa sp 00007fff77e61f10 error 6 in php-fpm[400000+34c000]

My config:

Code: [Select]
A. Kloxo-MR: 6.5.0.f-2013031828

B. OS: CentOS release 6.4 (Final) x86_64

C. Apps:
   1. MySQL: MariaDB-server-10.0.3-1.x86_64
   2. PHP: php-5.4.17-23.el6.art.x86_64
   3. Httpd: httpd-2.2.25-1.el6.x86_64
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.5.2-1.el6.x86_64
   6. Qmail: qmail-toaster-1.03-1.3.27.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.x86_64
   7. Dns: djbdns-1.05-17.3.mr.el6.x86_64

D. Php-type (for Httpd/proxy): php-fpm_event

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:         32198      31543        655          0        406       9373
   -/+ buffers/cache:      21762      10436
   Swap:         2047       1761        286
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php-fpm segfaults
« Reply #1 on: 2013-08-16, 18:44:22 »
Better investigate information from /var/log/php-fpm/error.log and slow.log instead dmesg. It's because we don't know segfault happens from restart or on process php file.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php-fpm segfaults
« Reply #2 on: 2013-08-16, 18:49:37 »
Quote from: "MRatWork"
Better investigate information from /var/log/php-fpm/error.log and slow.log instead dmesg. It's because we don't know segfault happens from restart or on process php file.

error.log:

Code: [Select]
[16-Aug-2013 14:47:01] WARNING: [pool admin] child 3041 said into stderr: " in Unknown on line 0"
[16-Aug-2013 14:47:04] WARNING: [pool kora72] child 9794, script '/home/kora72/filmy.xxx.pl/cron-10min.php' (request: "GET /cron-10min.php") execution timed out (123.584135 sec), terminating
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php-fpm segfaults
« Reply #3 on: 2013-08-16, 19:11:37 »
What's info from slow.log?. Because look like cron-10min.php use more time to process where it's maybe higher than timeout limit.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php-fpm segfaults
« Reply #4 on: 2013-08-16, 19:50:21 »
Quote from: "MRatWork"
What's info from slow.log?. Because look like cron-10min.php use more time to process where it's maybe higher than timeout limit.

Example:

Code: [Select]
[16-Aug-2013 15:49:35]  [pool kam15] pid 15718
script_filename = /home/kam15/sport.xxx.pl/cron-10min.php
[0x00007f79782fd630] system() /home/kam15/sport.xxx.pl/cron-10min.php:2
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.04 seconds with 16 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM