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. 2017-11-08, 01:45:16

Author Topic: How to increase php-fpm children from 6 to more ?  (Read 1133 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
How to increase php-fpm children from 6 to more ?
« on: 2014-04-12, 22:28:21 »
Is it possible ?

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to increase php-fpm children from 6 to more ?
« Reply #1 on: 2014-04-13, 03:39:34 »
Yes for 6.5.1.b with click 'limit' in each client and then set 'Number Of FastCGI Children'
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 3,944
  • Karma: +1/-0
    • View Profile
Re: How to increase php-fpm children from 6 to more ?
« Reply #2 on: 2014-04-13, 17:10:08 »
I doesn't work - I've set 10 and it still says 6 :/

[ravan32lt]
;catch_workers_output = yes
;listen = 127.0.0.1:57945
listen = /home/php-fpm/sock/ravan32lt.sock
listen.backlog = 65536
listen.allowed_clients = 127.0.0.1
user = ravan32lt
group = ravan32lt
;pm = dynamic
pm = ondemand
pm.max_children = 6
;pm.start_servers = 4
;pm.min_spare_servers = 2
;pm.max_spare_servers = 4
pm.max_requests = 1000

;pm.status_path = /status
;ping.path = /ping
;ping.response = pong
request_terminate_timeout = 120s
request_slowlog_timeout = 90s
slowlog = /var/log/php-fpm/slow.log
rlimit_files = 2048
rlimit_core = 0
;chroot =
;chdir = /var/www
catch_workers_output = yes
security.limit_extensions = .php .php3 .php4 .php5

env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp

php_admin_value[zlib.output_compression] = off
php_admin_value[disable_functions] = shell_exec
php_admin_value[display_errors] = off
php_admin_value[file_uploads] = on
php_admin_value[upload_max_filesize] = 256M
php_admin_value[log_errors] = off
php_admin_value[output_buffering] = off
php_admin_value[register_argc_argv] = on
;;php_admin_value[magic_quotes_gpc] =
;;php_admin_value[magic_quotes_runtime] =
php_admin_value[mysql.allow_persistent] = off
php_admin_value[max_execution_time] = 180
php_admin_value[max_input_time] = 180
php_admin_value[memory_limit] = 256M
php_admin_value[post_max_size] = 256M
php_admin_value[allow_url_fopen] = on
php_admin_value[allow_url_include] = on
php_admin_value[session.save_path] = /dev/shm/session
php_admin_value[cgi.force_redirect] = on
;;php_admin_value[safe_mode] =
php_admin_value[enable_dl] = on
php_admin_value[open_basedir] = /home/ravan32lt/:/tmp/:/usr/share/pear/:/var/lib/php/session/:/home/kloxo/httpd/script/:/home/kloxo/httpd/disable/

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to increase php-fpm children from 6 to more ?
« Reply #3 on: 2014-04-14, 04:49:54 »
Update limit not automatically run 'sh /script/fixphp --client=<client>'. Will be fixed in next update.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to increase php-fpm children from 6 to more ?
« Reply #4 on: 2014-04-14, 07:06:37 »
Possible fix on next upload but only for 'new' client. Existing still need manually update.

I want add 'updateall' in 'php configure' under 'server' but still not work. Look like something wrong with 'updateall' process (like 'updateall' in 'appearance').
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.049 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM