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, 20:43:37

Author Topic: php-fpm lags  (Read 1928 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 lags
« on: 2015-09-19, 20:39:36 »
No special load, but pages are lagging:

Quote
[19-Sep-2015 20:02:20] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:08:20] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:09:08] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:11:12] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:12:09] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:12:23] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:13:14] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:19:29] ERROR: failed to ptrace(PEEKDATA) pid 11560: Input/output error (5)
[19-Sep-2015 20:19:29] ERROR: failed to ptrace(PEEKDATA) pid 11562: Input/output error (5)
[19-Sep-2015 20:19:51] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:22:28] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:23:43] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:25:16] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:29:03] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:29:15] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:29:17] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:30:51] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:32:40] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:33:29] ERROR: failed to ptrace(PEEKDATA) pid 14986: Input/output error (5)
[19-Sep-2015 20:33:38] ERROR: unable to read what child say: Bad file descriptor (9)
[19-Sep-2015 20:33:59] ERROR: failed to ptrace(PEEKDATA) pid 14686: Input/output error (5)

and

Quote
2015/09/19 20:48:58 [error] 29657#29657: *1622340 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 158.222.8.171, server: webmama.com.pl, request: "GET /zakrztuszenie-malego-dziecka/ HTTP/1.0", upstream: "http://127.0.0.1:30080/zakrztuszenie-malego-dziecka/", host: "www.webmama.com.pl"
2015/09/19 20:48:58 [error] 29764#29764: *1630445 connect() failed (110: Connection timed out) while connecting to upstream, client: 87.101.72.171, server: wbiegu.abcnetvork.pl, request: "GET /wp-content/themes/intention/images/cartegory_icon.gif HTTP/1.1", upstream: "http://127.0.0.1:30080/wp-content/themes/intention/images/cartegory_icon.gif", host: "wbiegu.abcnetvork.pl", referrer: "http://wbiegu.abcnetvork.pl/"
2015/09/19 20:48:58 [error] 29657#29657: *1622342 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 158.222.8.171, server: webmama.com.pl, request: "GET /wplyw-diety-rozwoj-dziecka/ HTTP/1.0", upstream: "http://127.0.0.1:30080/wplyw-diety-rozwoj-dziecka/", host: "www.webmama.com.pl"
2015/09/19 20:48:59 [error] 29764#29764: *1624553 connect() failed (110: Connection timed out) while connecting to upstream, client: 2a01:4f8:151:7453::2, server: sport.vinse.pl, request: "GET /siatkowka_amatorska/strony/3/ HTTP/1.0", upstream: "http://127.0.0.1:30080/siatkowka_amatorska/strony/3/", host: "sport.vinse.pl", referrer: "http://sport.vinse.pl/siatkowka_amatorska/strony/2/"
« Last Edit: 2015-09-19, 20:42:14 by Spacedust »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: php-fpm lags
« Reply #1 on: 2015-09-19, 20:59:28 »
I've made some changes and it seems to help ;)


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php-fpm lags
« Reply #2 on: 2015-09-20, 03:54:20 »
Have change with select to 'medium' or 'high' for 'apache optimize' in 'webserver configure'?.
..:: 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 lags
« Reply #3 on: 2015-09-20, 16:23:02 »
Have change with select to 'medium' or 'high' for 'apache optimize' in 'webserver configure'?.

I've set high but it does not help much.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php-fpm lags
« Reply #4 on: 2015-09-20, 17:34:37 »
So, what's different between your modified and 'high' from Kloxo-MR panel?.
..:: 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 lags
« Reply #5 on: 2015-09-20, 17:51:37 »
So, what's different between your modified and 'high' from Kloxo-MR panel?.

It wasn't mine - it was high, but it increased a lot of options this time (I got 32 GB RAM now instead of 24 GB before).

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php-fpm lags
« Reply #6 on: 2015-09-20, 18:09:36 »
Have you install mod-pagespeed-stable for httpd and apc and memcached modules for php?.
..:: 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 lags
« Reply #7 on: 2015-09-20, 20:38:49 »
I don't use pagespeed and apc but I use Zend OPcache and memcached. It was working perfectly for months and now I got random 502 Errors.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: php-fpm lags
« Reply #8 on: 2015-09-21, 02:30:45 »
Possible opcache is speedier then apc but possible opcache have a security issue if using php-fpm.
..:: 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 lags
« Reply #9 on: 2015-09-21, 11:26:21 »
I got two reports of 502 errors this night ;(

I thought httpd 2.2.31 is more stable than 2.4.16.

 


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

Page created in 0.04 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM