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: 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. Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2011-07-10 18:03:29] f...@php.net glad to hear. The slowest your server is the highest you should set events.delay. In fact 1 or 2 ms (1000 or 2000 for events.delay value) should be considered as a maximum in order not to slow down too much requests. ------------------------------------------------------------------------ [2011-07-10 17:38:06] trollofdarkness at gmail dot com Ok so I finally found why there was two requests using a browser. There was a .js file loaded in the page, which was generated by a php script. So the browser loading in parallel HTML and JS files, there was two simultaneous requests to PHP. So the conclusion is events.delays >= 1200 for me to work. If it could help, here's my server characteristics : NANO VIA U2250 // Debian Lenny 64bits // 2GB RAM // 160G SATA2 ------------------------------------------------------------------------ [2011-07-10 16:40:30] trollofdarkness at gmail dot com Ok so I got it working. When using a simple curl request, I have to put events.delay = 1200 (minimum) to get only 1fork/req When using a browser... I have to put events.delay = 4000 or 5000 (I can't remember which one was working, neither the first or the second, but I don't think, arrived at such a value, that it changes anything) but maybe Opera & Firefox (tested with the two, same behaviour) are opening two simultaneous connection to the server, I don't know. I'll try this patch on all my sites now. They're not overloaded so it won't be burn-tests but if it can help a bit... :) Anyway, thanks for your help. -- 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