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, 21:25:31

Author Topic: Apache dying when graceful restart after update to Kloxo-MR 7.0b  (Read 1155 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Please see the logs - each domain add on causes downtime of about 30 seconds:

Quote
[Mon Sep 08 00:41:12 2014] [error] child process 28503 still did not exit, sending a SIGKILL
[Mon Sep 08 00:41:12 2014] [error] child process 29915 still did not exit, sending a SIGKILL
[Mon Sep 08 00:41:12 2014] [error] child process 30328 still did not exit, sending a SIGKILL
[Mon Sep 08 00:41:12 2014] [error] child process 29557 still did not exit, sending a SIGKILL
[Mon Sep 08 00:41:12 2014] [error] child process 23360 still did not exit, sending a SIGKILL
[Mon Sep 08 00:41:12 2014] [error] child process 21728 still did not exit, sending a SIGKILL
[Mon Sep 08 00:42:19 2014] [alert] (4)Interrupted system call: FastCGI: read() from pipe failed (0)
[Mon Sep 08 00:42:19 2014] [alert] (4)Interrupted system call: FastCGI: the PM is shutting down, Apache seems to have disappeared - bye

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
When I graceful apache itself it does not happen but if Kloxo sends nginx and apache to be gracefulled/reloaded at the same time then yes !

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
/etc/init.d/nginx reload no downtime
/etc/init.d/httpd graceful just a slowdown but it takes content from nginx-proxy cache so it's not visible for customer

When Kloxo does both of these it doesn't work then !!!

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
This happens when Kloxo is removing configs !!!

Then after about 2-3 seconds it restarts services:

23:23 Sep/08/2014: Closed Exec /usr/local/lxlabs/kloxo/cexe/closeinput '/etc/init.d/httpd graceful' >/dev/null 2>&1 &
23:23 Sep/08/2014: Closed Exec /usr/local/lxlabs/kloxo/cexe/closeinput '/etc/init.d/nginx reload' >/dev/null 2>&1 &

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
This is really annoying - today I've found that Kloxo removed my /etc/init.d/httpd causing all pages to go down !

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.045 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM