Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46348 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60823 invoked from network); 8 Dec 2009 00:10:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Dec 2009 00:10:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=jerome@loyet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jerome@loyet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain loyet.net from 209.85.223.182 cause and error) X-PHP-List-Original-Sender: jerome@loyet.net X-Host-Fingerprint: 209.85.223.182 mail-iw0-f182.google.com Received: from [209.85.223.182] ([209.85.223.182:49625] helo=mail-iw0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/85-33458-A899D1B4 for ; Mon, 07 Dec 2009 19:10:53 -0500 Received: by iwn12 with SMTP id 12so3614478iwn.27 for ; Mon, 07 Dec 2009 16:10:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.167.204 with SMTP id r12mr1110830iby.31.1260231047815; Mon, 07 Dec 2009 16:10:47 -0800 (PST) In-Reply-To: References: <4B190660.2050107@daylessday.org> <4B197CB2.2050506@zend.com> <4B1CC918.2090408@daylessday.org> <4B1D4E1F.7030006@zend.com> <065254F2-CE2C-406F-AFDA-C1A1204F2093@gmail.com> <4B1D5E75.3050907@zend.com> <3bea96c40912071216o57b59e9dy5a744f0109eb595f@mail.gmail.com> Date: Tue, 8 Dec 2009 01:10:47 +0100 Message-ID: <3bea96c40912071610p4b584220we65df0be0d52f0cc@mail.gmail.com> To: Michael Shadle Cc: Stanislav Malyshev , Antony Dovgal , php-dev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] FPM is available in a separate SVN branch From: jerome@loyet.net (=?ISO-8859-1?B?Suly9G1lIExveWV0?=) Le 8 d=E9cembre 2009 01:04, Michael Shadle a =E9crit : > 2009/12/7 J=E9r=F4me Loyet : > > so you're saying each worker just has a worker.name prefixed > > worker.name =3D pool1 > worker.user =3D nobody > worker.group =3D nogroup > worker.static.max_children =3D 5 > worker.dynamic.max_children =3D 20 > worker.dynamic.start_servers =3D 5 > worker.dynamic.min_spare_servers =3D 5 > worker.dynamic.max_spare_servers =3D 15 > ...etc... > > worker.name =3D pool2 > worker.user =3D nobody > worker.group =3D nogroup > worker.static.max_children =3D 5 > worker.dynamic.max_children =3D 20 > worker.dynamic.start_servers =3D 5 > worker.dynamic.min_spare_servers =3D 5 > worker.dynamic.max_spare_servers =3D 15 > ...etc... > > not something like > > worker('pool2').user =3D nobody > worker('pool2').group =3D nogroup > > etc? Yes it could be this way ... but you do repeat the pattern ('pool2') for each entry. There is about 30 lines for each workers ... no imagine having a multiuser environment with 30 customers ... you have 900 times a useless repeated pattern ... gnurf > > i guess i'm fine with it either was as long as it is easy for end > users. I think we all agree here :) cf my previous comment. >also it would be nice to programatically generate it What do you mean by programatically generate it, in which goal ? > and be > able to include it (would require php.ini to have include support. > mysql does this with the !include directive, IIRC) >