Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48089 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70019 invoked from network); 26 Apr 2010 14:08:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Apr 2010 14:08:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=jille@quis.cx; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jille@quis.cx; sender-id=unknown Received-SPF: error (pb1.pair.com: domain quis.cx from 82.94.237.14 cause and error) X-PHP-List-Original-Sender: jille@quis.cx X-Host-Fingerprint: 82.94.237.14 mulgore.hexon-is.nl Received: from [82.94.237.14] ([82.94.237.14:52483] helo=mulgore.hexon-is.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C8/62-58325-06E95DB4 for ; Mon, 26 Apr 2010 10:08:33 -0400 Received: from adidas.hexon-nijmegen.nl (gw.hexon-nijmegen.nl [82.93.241.107]) by mulgore.hexon-is.nl (8.14.3/8.14.3) with ESMTP id o3QE8Of9003587; Mon, 26 Apr 2010 16:08:24 +0200 Received: from [10.0.0.142] (HENK.hexon-nijmegen.nl [10.0.0.142]) by adidas.hexon-nijmegen.nl (8.14.3/8.14.3) with ESMTP id o3QE8OOX000904; Mon, 26 Apr 2010 16:08:24 +0200 Message-ID: <4BD59E4D.4040906@quis.cx> Date: Mon, 26 Apr 2010 16:08:13 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Antony Dovgal CC: =?ISO-8859-1?Q?J=E9r=F4me_Loyet?= , internals@lists.php.net References: <4BD54437.2020304@daylessday.org> <4BD54D42.5070400@daylessday.org> <4BD564A9.2060000@daylessday.org> <4BD57525.50803@daylessday.org> <4BD59CF5.6010909@quis.cx> <4BD59DA0.5040101@daylessday.org> In-Reply-To: <4BD59DA0.5040101@daylessday.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Hexon-MailScanner-Information: Please contact the ISP for more information X-Hexon-MailScanner-ID: o3QE8Of9003587 X-Hexon-MailScanner: Found to be clean X-Hexon-MailScanner-From: jille@quis.cx X-Hexon-MailScanner-Watermark: 1272895705.46321@8uyMjnZweep5E+dDgs3+lQ Subject: Re: [PHP-DEV] One suggestion to PHP-FPM From: jille@quis.cx (Jille Timmermans) Op 26-4-2010 16:05, Antony Dovgal schreef: > On 26.04.2010 18:02, Jille Timmermans wrote: >> memtrack could do the usual trick; stopping the current script or whatever. >> and FPM could flag the process as 'over the memory limit' and can kill it as >> soon as there are no other threads running in that process. > > There are no threads in FPM or FastCGI. > So, there is no problem for them. Let it use memtrack's calculation code and let the SAPI handle as appropriate: killing the process. -- Jille