httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dishko Georgiev" <dishk...@rozabg.com>
Subject Re: [users@httpd] Apache child process consuming massive RAM
Date Mon, 26 Apr 2004 19:36:30 GMT
Hi,

I just solved this problem! :)

Just downgraded from apache2 to apache1 with php4.3.6 and now all is ok.
Problem is in apache, not php coz i dont have such a problem with
apache1.3.26!

Pls Apache team look whats the problem with new apache2!

Dishko Georgiev
System Administrator
Terasyst Ltd., Bulgaria


----- Original Message ----- 
From: "Joshua Slive" <joshua@slive.ca>
To: <users@httpd.apache.org>
Sent: Monday, April 26, 2004 7:37 PM
Subject: RE: [users@httpd] Apache child process consuming massive RAM


>
> On Mon, 26 Apr 2004, Harrell, Roger wrote:
>
> > >
> > >Hmmm... You originally said the processes where using 20MB each.  Are
you
> > >saying that even after all third-party modules are gone, you still have
> > >around 13MB per process?  That is way too big.
> > >
> > >I'm not a php expert, but you should take a look at what modules you
have
> > >compiled into php and see if there are some you don't need.
> >
> > With the code modules gone (php, perl, python) the httpd childs are
about 5
> > MB each.
>
> That is a reasonable size for a fairly complete apache.  Note that some
> portion of that memory is probably shared between processes, so the total
> memory is probably not (number of processes)*5MB.  As you seem to realize,
> you can go smaller by removing modules.
>
> There's a good chance you don't need any of these modules; but you should
> double-check.
>
> > LoadModule mime_magic_module modules/mod_mime_magic.so
> > LoadModule cern_meta_module modules/mod_cern_meta.so
> > LoadModule usertrack_module modules/mod_usertrack.so
> > LoadModule unique_id_module modules/mod_unique_id.so
> > LoadModule dav_module modules/mod_dav.so
> > LoadModule asis_module modules/mod_asis.so
> > LoadModule dav_fs_module modules/mod_dav_fs.so
> > LoadModule vhost_alias_module modules/mod_vhost_alias.so
> > LoadModule imap_module modules/mod_imap.so
>
> >
> > and the perl and php modules.
> >
> > With this each child is around 10MB. Still way to big.
>
> 10MB doesn't sound completely unreasonable for a server with both mod_perl
> and mod_php.  As I mentioned, you can probably cut down on that somewhat
> by trimming mod_perl and mod_php to the essentials, but I don't know
> details on how to do that.  Ask on a more specific mailing list.
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message