httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: cvs commit: apache-2.0/src/modules/mpm/prefork prefork.c
Date Fri, 10 Nov 2000 22:07:50 GMT
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 <David.D.Hill@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...

Mime
View raw message