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-04-27, 21:39:51

Author Topic: How to properly set pm.max_children for admin ?  (Read 2557 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
How to properly set pm.max_children for admin ?
« on: 2014-05-14, 12:22:36 »
It's always forcing me to 6 with no way to change.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to properly set pm.max_children for admin ?
« Reply #1 on: 2014-05-14, 12:33:26 »
By design, there impossible to 'limit' (including 'fastcgi children') for admin.

Need using custom.php53-fpm-pool.conf.tpl with modified:
Code: [Select]
if ($maxchildren) {

to:
Code: [Select]
if ($user === 'admin') {
$maxchildren = '12';
} elseif ($user === 'apache') {
// using by cp and webmail
$maxchildren = '6';
  }

if ($maxchildren) {
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.063 seconds with 19 queries.

web stats analysis