You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jeff Trawick <tr...@bellsouth.net> on 2000/11/10 23:07:50 UTC
Re: cvs commit: apache-2.0/src/modules/mpm/prefork prefork.c
rbb@locus.apache.org writes:
> rbb 00/11/10 13:51:10
>
> Modified: src/modules/mpm/dexter scoreboard.c
> src/modules/mpm/mpmt_pthread scoreboard.c
> src/modules/mpm/perchild scoreboard.c
> src/modules/mpm/prefork prefork.c
> Log:
> MM has a bug that when you ask for a specific amount of shared memory
> it allocates just that amount. But, MM actually uses some of it, so we
> need to over allocate just a bit. On 32 bit machines 40 bytes is enough,
> but on a 64 bit machine it isn't. So, we bump it up to 80 bytes until
> MM fixes this bug.
> Submitted by: David Hill <Da...@compaq.com>
Wouldn't it be *much* better to change mm or at least add the 80 bytes in
apr_shm_init() before calling mm_create()?
--
Jeff Trawick | trawick@ibm.net | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...
Re: cvs commit: apache-2.0/src/modules/mpm/prefork prefork.c
Posted by rb...@covalent.net.
On 10 Nov 2000, Jeff Trawick wrote:
> > MM has a bug that when you ask for a specific amount of shared memory
> > it allocates just that amount. But, MM actually uses some of it, so we
> > need to over allocate just a bit. On 32 bit machines 40 bytes is enough,
> > but on a 64 bit machine it isn't. So, we bump it up to 80 bytes until
> > MM fixes this bug.
> > Submitted by: David Hill <Da...@compaq.com>
>
> Wouldn't it be *much* better to change mm or at least add the 80 bytes in
> apr_shm_init() before calling mm_create()?
Yes, and I have spoken to Ralf about this. He is doing the work, but we
need a quick and dirty work-around in the meantime. If Ralf doesn't fix
it and release a new version soon, I will just hack MM, but right now I
just want this working on Tru64.
Ryan
_______________________________________________________________________________
Ryan Bloom rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------