Edit report at https://bugs.php.net/bug.php?id=52569&edit=1
ID: 52569 Comment by: f...@php.net Reported by: mplomer at gmx dot de Summary: Implement "ondemand" process-manager (to allow zero children) Status: Analyzed Type: Feature/Change Request Package: FPM related PHP Version: 5.3.3 Assigned To: fat Block user comment: N Private report: N New Comment: Here is a complete new release of the ondemand patch: the version 11. I've rewritten entierly the event part in order to have access to the following mechanism: select (posix) poll (posix) <- was the mechanism in used before epoll (linux) kqueue (*bsd) /dev/poll (solaris) port (solaris) all this mechanism supports classic Level-Triggered events which is not adapted for what we need for the ondemand patch. epoll and kqueue also supports Edge-Triggered events which suits very well the ondemand patch needs. choice is made automatically by detection and the best is used. You can overrride the detection by setting events.mechanism in [global] So now, ondemand PM will only works if kqueue or epoll is selected. It will only work on Linux and *BSD. But, it should work has expected without the previous drity trick: events.delays or pm.min_delay_between_fork. so, to test it: get the lastest 5.3 or 5.4 snapshot, apply the patch and: ./vcsclean ./buildconf ./config.nice (or configure ... --enable-fpm) make set pm to ondemand and run /* enjoy */ Previous Comments: ------------------------------------------------------------------------ [2011-07-14 18:38:24] f...@php.net The following patch has been added/updated: Patch Name: fpm-ondemand.v11-5.3.patch Revision: 1310683104 URL: https://bugs.php.net/patch-display.php?bug=52569&patch=fpm-ondemand.v11-5.3.patch&revision=1310683104 ------------------------------------------------------------------------ [2011-07-14 18:27:18] f...@php.net The following patch has been added/updated: Patch Name: fpm-ondemand.v11.patch Revision: 1310682438 URL: https://bugs.php.net/patch-display.php?bug=52569&patch=fpm-ondemand.v11.patch&revision=1310682438 ------------------------------------------------------------------------ [2011-07-11 04:09:43] f...@php.net As 5.3.7 is in a RC release process, only bugfixes are going there until 5.3.7 is out. so the ondemand will be added in 5.3.7+ and 5.4 and marked as experimental. ------------------------------------------------------------------------ [2011-07-11 02:36:28] dbetz at df dot eu Hello all, now all works fine for me. Great work !! +1 I hope this gets implemented in 5.3.7 stable release :-) Im testing on an Gentoo 1.12.13 Greetings, Daniel ------------------------------------------------------------------------ [2011-07-10 18:20:12] trollofdarkness at gmail dot com Ok, thanks for the information :) -- Troll ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=52569 -- Edit this bug report at https://bugs.php.net/bug.php?id=52569&edit=1