Edit report at https://bugs.php.net/bug.php?id=62160&edit=1

 ID:                 62160
 Comment by:         f...@php.net
 Reported by:        geeky at geeky dot de
 Summary:            Add Option: Low-Priority Pool
 Status:             Analyzed
 Type:               Feature/Change Request
 Package:            FPM related
 Operating System:   Debian 6.0
 PHP Version:        5.4.4RC1
 Assigned To:        fat
 Block user comment: N
 Private report:     N

 New Comment:

FPM is not design to manage priority between its processes. It just 
stop/start/restart/watch them.

One thing which can be done is to play with nice(2) or setpriority(2).

We can add a priority=[-19,20] parameter in the configuration file for each 
pool 
and the corresponding priority will be set when processes will be created.

Is that something that can fit your needs ?

thx for the answer.

++ fat


Previous Comments:
------------------------------------------------------------------------
[2012-05-25 17:26:54] geeky at geeky dot de

Description:
------------
It would be nice if a pool could be set to "low priority pool" (or even set a 
priority).

Example: a website consisting of two parts:
(1) frontend: responsive-time is essential here
(2) background-synchronisation: should not slow down frontend, response-time is 
not important.

In this case the background-pool should only use minimal/unused cpu-time in 
order 
to keep the frontend-pool at full speed.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=62160&edit=1

Reply via email to