Req #52569 [PATCH]: Implement "ondemand" process-manager (to allow zero children)
| From: | fat@php.net | Date: | Thu, 14 Jul 2011 22:27:18 +0000 |
| Subject: | Req #52569 [PATCH]: Implement "ondemand" process-manager (to allow zero children) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161889@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=52569&edit=1
ID: 52569
Patch added by: fat@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:
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
Previous Comments:
------------------------------------------------------------------------
[2011-07-11 04:09:43] fat@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
------------------------------------------------------------------------
[2011-07-10 18:03:29] fat@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
------------------------------------------------------------------------
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