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-05-27, 11:43:49

Author Topic: Kloxo FPM is crashing  (Read 5500 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Kloxo FPM is crashing
« on: 2016-05-01, 22:52:33 »
Please see - then it shows Internal Server Error 500:

Quote
[01-May-2016 04:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 04:05:03] ERROR: FPM initialization failed
[01-May-2016 05:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 05:05:03] ERROR: FPM initialization failed
[01-May-2016 06:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 06:05:03] ERROR: FPM initialization failed
[01-May-2016 07:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 07:05:03] ERROR: FPM initialization failed
[01-May-2016 06:42:09 Europe/London] PHP Notice:  Undefined offset: 1 in /usr/local/lxlabs/kloxo/httpdocs/lib/redirect.php on line 10
[01-May-2016 08:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 08:05:03] ERROR: FPM initialization failed
[01-May-2016 09:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 09:05:03] ERROR: FPM initialization failed
[01-May-2016 10:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 10:05:03] ERROR: FPM initialization failed
[01-May-2016 11:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 11:05:03] ERROR: FPM initialization failed
[01-May-2016 12:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 12:05:03] ERROR: FPM initialization failed
[01-May-2016 13:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 13:05:03] ERROR: FPM initialization failed
[01-May-2016 14:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 14:05:03] ERROR: FPM initialization failed
[01-May-2016 15:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 15:05:03] ERROR: FPM initialization failed
[01-May-2016 16:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 16:05:03] ERROR: FPM initialization failed
[01-May-2016 18:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 18:05:03] ERROR: FPM initialization failed
[01-May-2016 19:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 19:05:03] ERROR: FPM initialization failed
[01-May-2016 20:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 20:05:03] ERROR: FPM initialization failed
[01-May-2016 21:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 21:05:03] ERROR: FPM initialization failed
[01-May-2016 22:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 22:05:03] ERROR: FPM initialization failed
[01-May-2016 23:05:03] ERROR: An another FPM instance seems to already listen on /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
[01-May-2016 23:05:03] ERROR: FPM initialization failed

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo FPM is crashing
« Reply #1 on: 2016-05-03, 13:17:09 »
Try start but sock file still exists. Try with 'pkill -9 php-fpm'.
..:: 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: Kloxo FPM is crashing
« Reply #2 on: 2016-05-03, 19:33:20 »
It restarts automatically, but it's so annoying when you're actually doing something important in Kloxo.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo FPM is crashing
« Reply #3 on: 2016-05-03, 20:57:35 »
Tight croning (let say 1-2 seconds/cron) may trouble restart process.
..:: 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: Kloxo FPM is crashing
« Reply #4 on: 2016-05-04, 20:33:06 »
Tight croning (let say 1-2 seconds/cron) may trouble restart process.

I do not restart 1-2 seconds but each one minute if needed.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo FPM is crashing
« Reply #5 on: 2016-05-04, 21:20:54 »
What's content of your cron?.
..:: 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: Kloxo FPM is crashing
« Reply #6 on: 2016-05-05, 11:08:57 »
What's content of your cron?.

It's like this:

Quote
#!/bin/bash
if curl -k https://localhost:7777 | grep "Error 503"
then
echo "Kloxo shows 503 error!"
curl -k https://localhost:7777 | grep "Error 503" >> /tmp/kloxocheck
/bin/mail -s "[AWARIA] Kloxo shows 503 error" admin@email.com < /tmp/kloxocheck
rm -f /tmp/kloxocheck;
echo "Fixing Kloxo..."
/etc/init.d/kloxo restart;
else
echo "Kloxo works fine!"
fi

Please note it's not this script a problem because it would sent me and e-mail.

It happens for a second then Kloxo works fine so there is something crashing inside it's own fpm. Sometimes instead of 500 Error it shows cannot establish encrypted connection.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Kloxo FPM is crashing
« Reply #7 on: 2016-05-05, 11:42:35 »
Please see:


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Kloxo FPM is crashing
« Reply #8 on: 2016-05-05, 13:56:18 »
Is it problem in kloxo or website?.
..:: 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: Kloxo FPM is crashing
« Reply #9 on: 2016-05-05, 15:05:00 »
Is it problem in kloxo or website?.

On Kloxo itself ;( When using in CGI mode it's perfectly stable.

I'm using Kloxo with https on 7777 port.

Offline noob

  • Valuable Member
  • *
  • Posts: 98
  • Karma: +0/-0
  • Gender: Male
    • View Profile
    • KombatHost
Re: Kloxo FPM is crashing
« Reply #10 on: 2016-05-09, 10:35:49 »
try to change:
Code: [Select]
/etc/init.d/kloxo restart;
to:
Code: [Select]
sh /script/restart -y;

perhaps
http://kombathost.com | Your ultimate webhosting

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Kloxo FPM is crashing
« Reply #11 on: 2016-05-09, 18:58:15 »
It's not about restarting. I can even remove this script and it will restart instantly in a second. Kloxo php-fpm is crashing itself for unknown reasons...

Offline lanuma

  • Valuable Member
  • *
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: Kloxo FPM is crashing
« Reply #12 on: 2016-05-09, 20:16:20 »
same problem, i must restart kloxo to fix this.

 


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

Page created in 0.05 seconds with 22 queries.

web stats analysis