Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48022 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22203 invoked from network); 20 Apr 2010 14:18:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Apr 2010 14:18:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=tly.phpfans@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tly.phpfans@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.221.173 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tly.phpfans@gmail.com X-Host-Fingerprint: 209.85.221.173 mail-qy0-f173.google.com Received: from [209.85.221.173] ([209.85.221.173:43095] helo=mail-qy0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/12-08958-CC7BDCB4 for ; Tue, 20 Apr 2010 10:18:53 -0400 Received: by qyk4 with SMTP id 4so6841660qyk.17 for ; Tue, 20 Apr 2010 07:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=RYaaZNhL+jgJmARZPYwf5m+ODVya5gHng7CUUNk8THQ=; b=qF5+JQxrhU7zlNLoYqCXGifn3tH2dEILCdai4kDvhmOFoazjdlPVvdl3j9SKqa5BYy N9kHzXiYmcjJWyekLbrR26wPX68kgDfGi9IHpQjvnjd6aU/uUvlyepaiThGIPfmT0RQ2 wLsbluU5QaxX5YTQYPvsAuQvhZ7EgC935knxQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kgkjeEjQp6XF6WjHGtH0G8et24low/aPHZOwdOgR/n8QNk75xlZ/PnTI75Lf12pA+K ri50//J5tS042HgNQbL0DVo62DCsu/82i0eMpQ6bxfKRsf60986XMpkQkqSVZfznv2R1 q7lABZH2MVmzcamrz78bNWwcwOQrSzYYD/lZc= MIME-Version: 1.0 Received: by 10.224.80.146 with HTTP; Tue, 20 Apr 2010 07:18:49 -0700 (PDT) In-Reply-To: References: Date: Tue, 20 Apr 2010 22:18:49 +0800 Received: by 10.224.32.10 with SMTP id a10mr2284620qad.80.1271773129422; Tue, 20 Apr 2010 07:18:49 -0700 (PDT) Message-ID: To: =?ISO-8859-1?B?Suly9G1lIExveWV0?= Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=000feaea1c689d395f0484abc182 Subject: Re: [PHP-DEV] One suggestion to PHP-FPM From: tly.phpfans@gmail.com (looyao teng) --000feaea1c689d395f0484abc182 Content-Type: text/plain; charset=ISO-8859-1 hi, thank you for reading my suggestion, and now I hope that PHP_FPM can add process control to prevent from system memory running out. There are many ways to do this, my patch is to check the PHP heap memory, this is very easy. We can also control the child process's life time, all I need is to control the FPM child process, so ensure my system have enough free memory, and I think many people also need this feature. thanks. looyao --000feaea1c689d395f0484abc182--