MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: rsakhale 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
$/ 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.
-
Better install 'multiple php' and then use 'php70m' in 'php used' instead 'php branch'.
-
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?
-
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'.
-
How to increase fastcgi children?
-
In 'limit' or 'resource plan'. Unlimited mean '6' (as default).
-
Thanks a lot buddy, this seems helped us.
If any problem occurs, this is the best place to seek help :D
-
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.
-
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.
-
Try increasing 'timeout' in 'web features'.