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. 2024-04-24, 19:09:07

Author Topic: Something is wrong with PHP/httpd/nginx  (Read 6234 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Something is wrong with PHP/httpd/nginx
« on: 2016-07-19, 16:46:51 »
When I refresh my page - it doesn't work, then I refresh again and it works.

See example: http://bit.ly/29RjINn

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Something is wrong with PHP/httpd/nginx
« Reply #1 on: 2016-07-19, 16:53:13 »
Log is full of:

2016/07/19 17:11:17 [error] 20145#20145: *258 limiting requests, excess: 25.300 by zone "req_limit_per_ip", client: 163.172.24.45, server: domena.com, request: "GET /obrazki/20160718/1468857324-578_small.jpg HTTP/2.0", host: "domena.com", referrer: "https://domena.com/"
2016/07/19 17:11:17 [error] 20145#20145: *258 limiting requests, excess: 25.300 by zone "req_limit_per_ip", client: 163.172.24.45, server: domena.com, request: "GET /obrazki/20160719/1468940122-1573_small.jpg HTTP/2.0", host: "domena.com", referrer: "https://domena.com/"
2016/07/19 17:11:17 [error] 20145#20145: *258 limiting requests, excess: 25.240 by zone "req_limit_per_ip", client: 163.172.24.45, server: domena.com, request: "GET /obrazki/20160719/1468940104-074_small.jpg HTTP/2.0", host: "domena.com", referrer: "https://domena.com/"
2016/07/19 17:11:17 [error] 20145#20145: *258 limiting requests, excess: 25.450 by zone "req_limit_per_ip", client: 163.172.24.45, server: domena.com, request: "GET /files/arrow.gif HTTP/2.0", host: "domena.com", referrer: "https://domena.com/"
2016/07/19 17:11:17 [error] 20145#20145: *258 limiting requests, excess: 25.450 by zone "req_limit_per_ip", client: 163.172.24.45, server: domena.com, request: "GET /obrazki/20160719/1468925740-1987_small.jpg HTTP/2.0", host: "domena.com", referrer: "https://domena.com/"
2016/07/19 17:11:17 [error] 20145#20145: *258 limiting requests, excess: 25.410 by zone "req_limit_per_ip", client: 163.172.24.45, server: domena.com, request: "GET /obrazki/20160719/1468932950-4956_small.jpg HTTP/2.0", host: "domena.com", referrer: "https://domena.com/"

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Something is wrong with PHP/httpd/nginx
« Reply #2 on: 2016-07-19, 16:56:02 »
Disabled lines:

#        limit_conn conn_limit_per_ip 25;
#        limit_req zone=req_limit_per_ip burst=25 nodelay;

and it works fine again !

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Something is wrong with PHP/httpd/nginx
« Reply #3 on: 2016-07-19, 17:19:24 »
More than 25 connection from 1 outside IP as attacker with limit_conn and limit_req.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Something is wrong with PHP/httpd/nginx
« Reply #4 on: 2016-07-26, 12:43:49 »
More than 25 connection from 1 outside IP as attacker with limit_conn and limit_req.

It's just localhost not attack ! If you have cron jobs working it will simply exceed it !

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Something is wrong with PHP/httpd/nginx
« Reply #5 on: 2016-07-26, 12:55:55 »
More than 25 connection from 1 outside IP as attacker with limit_conn and limit_req.

It's just localhost not attack ! If you have cron jobs working it will simply exceed it !
Not sure, maybe localhost not included for blocked.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: Something is wrong with PHP/httpd/nginx
« Reply #6 on: 2016-07-26, 13:23:50 »
@MR @SPACEDUST
I already wrote that this nginx  Config is wrong..  see here: https://forum.mratwork.com/kloxo-mr-bugs-and-requests/nginx-configuration-problem/msg52574/ for correct settings for WordPress sites I tested..

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Something is wrong with PHP/httpd/nginx
« Reply #7 on: 2016-07-26, 13:41:16 »
In latest upload, burst increased to 250.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Something is wrong with PHP/httpd/nginx
« Reply #8 on: 2016-07-26, 14:20:15 »
In latest upload, burst increased to 250.

OK. I will test.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.076 seconds with 19 queries.

web stats analysis