Sponsor:
Server and Web Integrator
Link:
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:
Donate...
MRatWork
Forum
Please
login
or
register
.
2024-04-29, 11:14:10
Home
Help
Search
Calendar
Login
Register
MRatWork Forum by Mustafa Ramadhan
»
Sawo Project - Kloxo-MR Discussions
»
Kloxo-MR Technical Helps
»
503 error
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: 503 error (Read 3114 times)
0 Members and 1 Guest are viewing this topic.
shoque
Junior Member
Posts: 35
Karma: +0/-0
503 error
«
on:
2014-03-24, 18:23:20 »
Hello
After adding 17 domain under admin account I got '503 service unavailable or capacity problem' error in some domains but my server responding well in ping test and kloxo blackened still working fast while that error appearing. so please tell me which file to edit to increase the value. I'm using apache and fcgid event. Is this enough to remove that 503?
etc/php-fpm.d ....................
pm.max_children = 250
pm.start_servers = 50
pm.min_spare_servers = 50
pm.max_spare_servers = 50
pm.max_requests = 3000
do I need to edit httd.conf?
thanks
Logged
MRatWork
Administrator
The Elite
Posts: 15,807
Karma: +119/-11
Gender:
Re: 503 error
«
Reply #1 on:
2014-03-24, 18:32:36 »
Hi,
Option like 'pm.max_children' for php-fpm_worker/_event in httpd. Not related to fcgid.
By default, fcgid set 'PHP_FCGI_CHILDREN' for 5. So, modified /home/apache/tpl/php5.fcgid.tpl with 'customize rule'.
Logged
..::
MRatWork
(Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator -
Web Hosting
(Kloxo-MR READY!) --
shoque
Junior Member
Posts: 35
Karma: +0/-0
Re: 503 error
«
Reply #2 on:
2014-03-24, 18:42:38 »
So I'm chaging value of /home/apache/tpl/php5.fcgid.tpl
<?php
$maxchildren = '500';
$maxrequests = '5000';
?>
how much ram this value could take? is it enough now to avoid 503?
thanks
Logged
MRatWork
Administrator
The Elite
Posts: 15,807
Karma: +119/-11
Gender:
Re: 503 error
«
Reply #3 on:
2014-03-24, 18:47:08 »
maxchidren is php thread where every thread need certain memory (let say 32MB for average).
So, setting '500' may need 16GB RAM.
Better increase little bit more. Let say 10 until 20.
Logged
..::
MRatWork
(Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator -
Web Hosting
(Kloxo-MR READY!) --
Print
Pages: [
1
]
Go Up
« previous
next »
MRatWork Forum by Mustafa Ramadhan
»
Sawo Project - Kloxo-MR Discussions
»
Kloxo-MR Technical Helps
»
503 error
MRatWork Affiliates:
BIGRAF(R) Inc.
House of LMAR
EFARgrafix
Design By SMFSimple.com
SMF 2.0.15
|
SMF © 2017
,
Simple Machines
Page created in 0.026 seconds with 18 queries.