Re: Apache consuming lot of memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/22/07, solidzh <solidzh@xxxxxxxxx> wrote:
> 2007/8/22, Joshua Slive <joshua@xxxxxxxx>:
> > On 8/21/07, solidzh <solidzh@xxxxxxxxx> wrote:
> > > 2007/8/21, Joshua Slive <joshua@xxxxxxxx>:
> > > > On 8/20/07, Jeff Peng <jeffpeng@xxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux