Welcome! Log In Create A New Profile

Advanced

php-fpm config example

Posted by silly sad 
silly sad
php-fpm config example
June 17, 2010 02:44AM
вопрос по документации.

вот авторский комент к конфигу:
; Sets the number of server processes created on startup.
; Used only with 'dynamic' pm.style
; default : min_spare + (max_spare - min_spare) / 2

b + (a-b)/2 == b + a/2 -b/2 == (a+b)/2
Antony Dovgal
Re: php-fpm config example
June 17, 2010 04:28AM
On 17.06.2010 10:41, silly sad wrote:
> вопрос по документации.
>
> вот авторский комент к конфигу:
> ; Sets the number of server processes created on startup.
> ; Used only with 'dynamic' pm.style
> ; default : min_spare + (max_spare - min_spare) / 2
>
> b + (a-b)/2 == b + a/2 -b/2 == (a+b)/2
>

On 17.06.2010 12:15, Jérôme Loyet wrote:
> I think "min_spare + (max_spare - min_spare) / 2" is easier
> to understand than "(min_spare + max_spare) / 2".

Как по мне - оба варианта равнозначно понятны..

--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 70
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready