Good... what ever part of the day pleases... :-) Another look at the new shm.c and would comment on a design point, perhaps to consider for 2.0.5.
The setAttributes() list for shm.c includes a 'resetEndpointStats' element, which is not a 'property' of shm but a means to reset its counters.... as such it is actually closer to a method for the shm object. It is a matter of design interpretation, but I see setAttributes() as a mechanism for setting the value of a property rather than an alternate means to call local object functions. My $0.02. Norm > Hi, > > > -----Original Message----- > > From: NormW > > jakarta-tomcat-connectors/jk/xdocs/jk2 configwebcom.xml > > > > Good morning. > > It depends where :-) > > > In looking at the new shm, note the following: > > > > 1. SHM no longer works on NetWare with either file option. > > ... will have to look into that. > > > > Good. It shouldn't, cause shm is not officially supported on Netware. > That's why I've added the memory (changed to useMemory) option, where the > mapping is done using plain allocated memory. > That enables to use the stats and lb factors consistently. > If you wish that useMemory will be the default behavior disable the apr's > APR_HAS_SHARED_MEMORY flag. > > Since you have only single child process shm is not needed after all. > I think that shm was planned to be the communication channel too, but that > was never implemented. > > > 2. Is it possible to have a 'slots' 'auto' option that gets > > the value from either the platform or the build rather than a > > hard coded 256? > > > > Perhaps in 2.0.5 > But I'll see if I can put that to workerEnv > > > 3. Can the shm 'memory' option be changed to 'memoryType' so > > that it more self-explanatory. [memory=0 isn't.] > > > > Changed to useMemory. > > > 4. The fourth line added should read "...memory. If set to > > 'anonymous' use the anonymous shared memory". > > > > 5. The second last line added should read "Use the process > > memory..." I think. > > > > 6. Can the size, file, slots and memory[Type] properties be > > added to a shm getAttribute method? > > > > Perhaps in 2.0.5 > > > Thanks for any feedback, > > Norm > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]