tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mladen Turk" <mt...@apache.org>
Subject RE: What's left for JK2.0.4?
Date Mon, 01 Mar 2004 11:30:08 GMT
 

> -----Original Message-----
> From: Henri Gomez
> > 
> > How about inproc JNI?
> > I'd like to disable that for all multi process mpm's, 
> meaning almost 
> > everything except winnt.
> > (It doesnt't work or ever will).
> 
> Multi process MPM ? you means multi-threaded and prefork models ?
> 

Yes, the ones that create multiple child processes.
Each child in that case wishes to run it's own Tomcat process, with the same
config.
The consecutive TC instance fails to load (same config, same ports).

> > What is the status of shm?
> > Again, it's useless for all single mpm's.
> > How about to disable that for those mpm's that don't need this?
> 
> It seems we also have a problem in Apache 2.0 at init time, 
> where I see many message telling that jk2 can't find child 
> XXX in the 256 scoreboard slots
> 

IMO we should use the Apache scoreboard image.
If it's not present then our shm shouldn't be too.
also instead getpid() call we should use:
ap_get_scoreboard_process(i);  (Look at the mod_status)

Then set our own worker->childId to be the scoreboard slot number not the
process id.

I don't have access for a moment to any nix machine so couldn't test that.


MT.




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message