Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46336 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91065 invoked from network); 7 Dec 2009 19:13:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Dec 2009 19:13:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike503@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike503@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.44 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mike503@gmail.com X-Host-Fingerprint: 209.85.160.44 mail-pw0-f44.google.com Received: from [209.85.160.44] ([209.85.160.44:53507] helo=mail-pw0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D0/04-31234-8E35D1B4 for ; Mon, 07 Dec 2009 14:13:45 -0500 Received: by pwi15 with SMTP id 15so1055717pwi.23 for ; Mon, 07 Dec 2009 11:13:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=7bYgWnMjd801BoQZ1+ty2W5MyPknX7W8PPsftfKP8Jg=; b=H/5bP0a/8HRlqzUblrMZDqc21SGk06inezsjVt5cIng1EkuhM+YtlrQTXE+lSgKNYa 8ovOqouFVp+mXlDWyf5sQDu9fe3QStczsuBeuE47tXtqGkF0fA0yqkVHWRs+BFMLf/Lm 4FnBHeI/p3LaDNWTAFxDiDTihyYni/QSC0zkM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=uhnRxyGpw61NUjBp0xpJ1DO5Jy3jKcLZj8LjhhjGabvjg/YqmxK9VtJ2gqEu82AX83 RsTYWylRFZ/INv6iY+86eaBUOJbrVROX+B8jBLF1BDOLVjDMK9cQOJHZ7VHqpJHQfvXr FAYtPUV8lhmAOyURhmawHFUh93yt6Vt7kK1mM= Received: by 10.114.248.35 with SMTP id v35mr12763055wah.9.1260213221957; Mon, 07 Dec 2009 11:13:41 -0800 (PST) Received: from ?10.25.12.9? ([166.205.135.179]) by mx.google.com with ESMTPS id 23sm5389634pzk.8.2009.12.07.11.13.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Dec 2009 11:13:40 -0800 (PST) References: <4B190660.2050107@daylessday.org> <4B1CCA1F.90802@daylessday.org> <3bea96c40912070557t66084de1v6995c2d3a69eea23@mail.gmail.com> <71BBECA1121447DABA6FC42B5A919414@master37e73933> Message-ID: To: Reinis Rozitis In-Reply-To: <71BBECA1121447DABA6FC42B5A919414@master37e73933> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7D11) Mime-Version: 1.0 (iPhone Mail 7D11) Date: Mon, 7 Dec 2009 11:13:33 -0800 Cc: php-dev Subject: Re: [PHP-DEV] FPM is available in a separate SVN branch From: mike503@gmail.com (Michael Shadle) The problem with running a static amount of processes is trying to figure out the right number. Also it is not elastic in any fashion. Shared hosts would love the elasticity as it will allow sites to flex up and down as needed without giving each individual user more processes than they really need A global max amount of processes or memory consumption metric might be useful to throttle the entire daemon from spawning new children. Sent from my iPhone On Dec 7, 2009, at 10:26 AM, "Reinis Rozitis" wrote: >> Correct. Biggest lacking feature. > > While this maybe a bit out of topic, but just out of curiosity why > do you think that adaptive spawning is any good (trying to run more > processes in given time period than started) - "stepping" back to > how apache operates with its prefork mechanism (iirc there are even > people from php-dev community which suggested running apache with > start/maxservers identical so there is always constant number of > childs (for php processing) to avoid unwanted/unexpected resource > consumption? > > There should be reasons why it was also dropped from the other > external process manager lighty/spawn-fcgi and never planned in > webservers like nginx .. > > > I would rather want to see one day php (master process) return > FCGI_OVERLOADED for the webserver/application to decide what to do > next. > > rr > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >