Welcome! Log In Create A New Profile

Advanced

pm.start_servers and pm.min_spare_servers accepting value 0

Posted by Gerson Schwinn 
Hello!

In fact, this topic is an RFC.
I wish it were considered the possibility of setting value 0 in the options
pm.start_servers and pm.min_spare_servers to reduce memory consumption when
there is no requests being handled, as is implemented in mod_fcgid and
works very well.

Is this possible?

Thanks!

--

---
You received this message because you are subscribed to the Google Groups "highload-php-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
hello

you can switch the "pm" parameter to "ondemand".
Set "pm.max_children" to set the maximum number of concurent process FPM
will fork for this pool
Set "pm.process_idle_timeout" to set the time after which a process without
having received any requests will stopped

The related doc:

; ondemand - no children are created at startup. Children will be forked when
; new requests will connect. The following parameter are used:
; pm.max_children - the maximum number of children that
; can be alive at the same time.
; pm.process_idle_timeout - The number of seconds after which
; an idle process will be killed.




2013/5/21 Gerson Schwinn <gersonfs@gmail.com>

> Hello!
>
> In fact, this topic is an RFC.
> I wish it were considered the possibility of setting value 0 in the
> options pm.start_servers and pm.min_spare_servers to reduce memory
> consumption when there is no requests being handled, as is implemented in
> mod_fcgid and works very well.
>
> Is this possible?
>
> Thanks!
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "highload-php-en" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to highload-php-en+unsubscribe@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

--

---
You received this message because you are subscribed to the Google Groups "highload-php-en" group.
To unsubscribe from this group and stop receiving emails from it, send an email to highload-php-en+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 88
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready