Re: PHP 4.0 Bug #8889: Memory is not being freed.
| From: | Brian Moon | Date: | Tue, 30 Jan 2001 00:23:56 +0000 |
| Subject: | Re: PHP 4.0 Bug #8889: Memory is not being freed. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-45286@lists.php.net to get a copy of this message | ||
Ok, so what are the benefits of not returning memory to the system? It
seems that no one who can do it wants to so there must be a good reason.
Brian Moon
--------------------------------------------------------------
Phorum Dev Team - http://phorum.org
Making better forums with PHP
--------------------------------------------------------------
----- Original Message -----
From: "Rasmus Lerdorf" <rasmus@linuxcare.com>
To: "Brian Moon" <brian@phorum.org>
Cc: "Filip Sielimowicz" <sielim@wp-sa.pl>; <php-dev@lists.php.net>
Sent: Monday, January 29, 2001 5:03 PM
Subject: Re: [PHP-DEV] PHP 4.0 Bug #8889: Memory is not being freed.
> Seems to me like it would be a lot easier just to add more RAM. $89 for
> 256M these days. RAM is cheap.
>
> -Rasmus
>
> On Mon, 29 Jan 2001, Brian Moon wrote:
>
> > That is what we are doing now. We have it at 5. Any higher and we are
> > running out. There is only 128MB of RAM in our machine. I am
considering
> > switching to CGI PHP just to eliviate this problem. Of course, that
sucks.
> >
> > Brian Moon
> > --------------------------------------------------------------
> > Phorum Dev Team - http://phorum.org
> > Making better forums with PHP
> > --------------------------------------------------------------
> >
> >
> > ----- Original Message -----
> > From: "Rasmus Lerdorf" <rasmus@linuxcare.com>
> > To: "Filip Sielimowicz" <sielim@wp-sa.pl>
> > Cc: "Brian Moon" <brian@phorum.org>; <php-dev@lists.php.net>
> > Sent: Monday, January 29, 2001 6:56 AM
> > Subject: Re: [PHP-DEV] PHP 4.0 Bug #8889: Memory is not being freed.
> >
> >
> > > > Yes, yes, I agree ! But this is the problem ! Unfortunatelly "memory
> > > > hungry script" happens from time to time and there's no chance to
> > prevent
> > > > httpd processes from keeping memory (which is not used again in most
> > > > cases). Maybe it is not a problem for you, but it is for us.
> > >
> > > A quick fix would be to set your MaxRequestsPerChild to a lower value.
> > >
> > > -Rasmus
> > >
> > >
> >
>
>