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-03-28, 16:19:22

Author Topic: Services go down very often  (Read 3287 times)

0 Members and 1 Guest are viewing this topic.

Offline rsakhale

  • Valuable Member
  • *
  • Posts: 103
  • Karma: +1/-0
  • Gender: Male
  • Rohan Sakhale
    • View Profile
    • Rohan Rajan Sangita Sakhale
Services go down very often
« on: 2016-07-16, 10:55:36 »
We are using KloxoMR7 with PHP7.0.8 and branch php-worker

It is seen that after adding new customer/domain/sub-domain either services go down or something happens due to which every site gives PHP error and 500 Internal Server Error is seen.

The error says of missing libraries like common one's mysqli/mb_internal_encoding, but everything comes back after restarting the services.

Below is the system information
Code: [Select]
$/ sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016071401
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: saiashirwad.com
C. Services:
   1. MySQL: MariaDB-server-10.0.26-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php70w-cli-7.0.8-1.w6.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.39-3.el6.x86_64
     - Nginx: nginx-1.11.2-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_worker
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:         12288       1098      11189          6          0        738
   -/+ buffers/cache:        359      11928
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   simfs            60G  5.3G   55G   9% /


*** Process Time: 00:00:00:13.13462 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)


Please let me know what steps should I do to avoid this services down very often.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Services go down very often
« Reply #1 on: 2016-07-16, 11:16:38 »
Better install 'multiple php' and then use 'php70m' in 'php used' instead 'php branch'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rsakhale

  • Valuable Member
  • *
  • Posts: 103
  • Karma: +1/-0
  • Gender: Male
  • Rohan Sakhale
    • View Profile
    • Rohan Rajan Sangita Sakhale
Re: Services go down very often
« Reply #2 on: 2016-07-16, 11:30:12 »
I installed multiple PHP and using PHP7 in "PHP Used"

Using PHP Type: php-fpmworker and checked "Enable Multiple PHP As Secondary PHP"

Any further step I should carry for better usage?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Services go down very often
« Reply #3 on: 2016-07-16, 11:52:10 »
I installed multiple PHP and using PHP7 in "PHP Used"

Using PHP Type: php-fpmworker and checked "Enable Multiple PHP As Secondary PHP"

Any further step I should carry for better usage?
Depend on your RAM, better move domain to certain client (not under admin) and increase 'fastcgi children'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rsakhale

  • Valuable Member
  • *
  • Posts: 103
  • Karma: +1/-0
  • Gender: Male
  • Rohan Sakhale
    • View Profile
    • Rohan Rajan Sangita Sakhale
Re: Services go down very often
« Reply #4 on: 2016-07-16, 12:04:36 »
How to increase fastcgi children?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Services go down very often
« Reply #5 on: 2016-07-16, 12:18:04 »
In 'limit' or 'resource plan'. Unlimited mean '6' (as default).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline rsakhale

  • Valuable Member
  • *
  • Posts: 103
  • Karma: +1/-0
  • Gender: Male
  • Rohan Sakhale
    • View Profile
    • Rohan Rajan Sangita Sakhale
Re: Services go down very often
« Reply #6 on: 2016-07-16, 12:55:40 »
Thanks a lot buddy, this seems helped us.

If any problem occurs, this is the best place to seek help :D

Offline rsakhale

  • Valuable Member
  • *
  • Posts: 103
  • Karma: +1/-0
  • Gender: Male
  • Rohan Sakhale
    • View Profile
    • Rohan Rajan Sangita Sakhale
Re: Services go down very often
« Reply #7 on: 2016-07-16, 16:56:38 »
Even after the above configuration update the service just went down again, can you please help me out with this.

Let me know if any logs I can produce for a deeper dive.

Offline fossxplorer

  • Master
  • **
  • Posts: 640
  • Karma: +1/-0
    • View Profile
Re: Services go down very often
« Reply #8 on: 2016-07-16, 22:53:54 »
Can you check the value of pm.process_idle_timeout in /etc/php-fpm.d/<clientname>.conf or in /opt/configs/php-fpm/conf/php5Xm/php-fpm.d/<clientname>.conf depending on PHP settings you use with Kloxo?


Even after the above configuration update the service just went down again, can you please help me out with this.

Let me know if any logs I can produce for a deeper dive.
Kloxo-MR!

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Services go down very often
« Reply #9 on: 2016-07-17, 05:16:50 »
Try increasing 'timeout' in 'web features'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.036 seconds with 19 queries.

web stats analysis