Re: [users@httpd] httpd Ouf of memory on IA32 Linux

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

 



On 4/13/05, yan, tommy (CSG-MKG-BJ) <tommy.yan@xxxxxx> wrote:
> Hi,
> 
> For apache 2.0.53, RHEL4(2.6.9-5.ELsmp), I just started up 10000 httpd
> processes (with StartServers 10000, MaxSpareServers 10000, MaxClients
> 10000 in httpd.conf), and my IA32 machine got out of memory.
> 
> This machine has 32GB mem, but when I 'cat /proc/meminfo', 'LowFree' has
> just a few MB, while others in 'HighFree'. I tried same apache in rhel4
> x86_64 version, LowFree are xxGB, HighFree is zero.
> 
> My questions is, since apache has thousands of processes(not just one),
> why does it only burn out LowMem, with HighMem untouched.

I'm no expert in this issue, but if I had to guess, I would say that
the apache processes need to share the same memory space because they
have a parent-child relationship along with shared file descriptors,
shared memory, etc.  You would probably find that things looked
different if you launched a second instance of apache.

Of course, it is no surprise that you don't see this problem on a
64bit OS, since that OS can directly address all the memory without
the highmem hacks.

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