httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Apache consuming lot of memory
Date Wed, 22 Aug 2007 13:16:01 GMT
On 8/22/07, solidzh <solidzh@gmail.com> wrote:
> 2007/8/22, Joshua Slive <joshua@slive.ca>:
> > On 8/21/07, solidzh <solidzh@gmail.com> wrote:
> > > 2007/8/21, Joshua Slive <joshua@slive.ca>:
> > > > On 8/20/07, Jeff Peng <jeffpeng@gmx.net> wrote:
> > > >
> > > > >
> > > > > There is almost nothing reasons on those parameters setting,but it
seems your application program itself is large.
> > > > > Also after install Apache,you could strip httpd to reduce some memory
usage.
> > > >
> > > > I doubt that stripping the binary is going to do any good.
> > > >
> > >
> > > Why not? I once also striped the httpd,it reduce the size from 2M to 300K.
> > > If you're running 300 httpd,this really reduce some memory.
> >
> > That's just the size of the binary on disk. It normally won't have an
> > effect on actual memory usage. And even if it does have an effect, it
> > is in a part of memory that can be shared between all the processes.
> >
>
> Sorry but why it's shared by all the processes?From my
> understanding,all processes have their own memory area for storing
> codes.

A modern OS will minimize memory usage by sharing memory between
multiple instances of the same binary wherever possible.

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


Mime
View raw message