httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf S. Engelschall" <...@engelschall.com>
Subject Re: cvs commit: apache-2.0/src/modules/mpm/prefork prefork.c
Date Sat, 11 Nov 2000 09:49:32 GMT

In article <Pine.LNX.4.21.0011101419150.14032-100000@koj.rkbloom.net> you wrote:
> 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 <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()?
> 
> 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.

I'm already on the way adjusting the MM API so we can provide
both ways of specifying the shared memory size.

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com

Mime
View raw message