Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42560 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43399 invoked from network); 11 Jan 2009 15:40:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2009 15:40:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain daylessday.org designates 89.208.40.236 as permitted sender) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 89.208.40.236 mail.daylessday.org Linux 2.6 Received: from [89.208.40.236] ([89.208.40.236:49896] helo=daylessday.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/55-17244-EE21A694 for ; Sun, 11 Jan 2009 10:40:31 -0500 Received: from [192.168.3.44] (unknown [212.42.62.198]) by daylessday.org (Postfix) with ESMTPSA id 4F80DD023F; Sun, 11 Jan 2009 18:40:27 +0300 (MSK) Message-ID: <496A12D6.1050104@daylessday.org> Date: Sun, 11 Jan 2009 18:40:06 +0300 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: jvlad CC: internals@lists.php.net References: <200901101830.35403.thomas@koch.ro> <8E.40.26912.68B39694@pb1.pair.com> <4969B6C9.4070903@daylessday.org> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: php daemons, memory From: tony@daylessday.org (Antony Dovgal) On 11.01.2009 17:51, jvlad wrote: >> On 11.01.2009 03:21, jvlad wrote: >>> Almost. >>> Try to compile your very-own-version of php, using configure argument >>> --disable-zend-memory-manager >> >> There is no such configure option since ages. > > seems you're flying too high. > RHEL5 still ships php5.1.6 and it has this option and it undefines > ZEND_USE_ZEND_ALLOC. PHP 5.2.0 has been released more than 2 (two) years ago, which should be enough for a distro to catch up, don't you think so? > For the newer versions (5.2.x) it can be set at the environment, which is > not that good btw. Please elaborate. >> That won't affect memory usage very much. > > I gives appox 2MB per php-cli instance. Sometimes it's good enough, if for > example you need to run 200 instances. Shared libs are, well, shared among the processes, so I don't think it's "per instance". -- Wbr, Antony Dovgal