Bob <[EMAIL PROTECTED]> writes:
> > The problem I'm trying to avoid is the java threads showing up as 
> > individual processes under ps on redhat.  Apparently you can get a java 
> > program to have just one listing in ps if you use some flag for some 
> > threads-library on kernels greater than 2.6.  It's a bit over my head, 
> > but anyway the latest sun JVM doesn't seem to do this.  If anyone knows 
> > anything about this obscure issue, any info would be much appreciated.
> 
> Umm, and this matters to you why? Signalling the "parent" process in 
> freenet.pid should affect all of them :^)

It shouldn't matter, but the accounting software on the network I'm using
freenet on (planetlab) is dumb and shuts my nodes down because it works out my
mem usage based on the ps table.
 
> How threading is handled is an interplay between the JVM and the host system,
> you can also influence it (mostly for backwards compatability when the default
> behaviour breaks) with the LD_ASSUME_KERNEL environment variable which you've
> probably noticed start-freenet.sh does for known problematic cases. I don't
> claim to really understand it either. Blackdown can do either "green threads"
> (userspace) or "native threads" (kernelspace but higher context switch cost /
> footprint) but this is arcane stuff which it seems you shouldn't mess with

Thanks this was really helpful.. I didn't realise that the config file was
setting it up not to use NPTL.  Which brings me to the next question - are there
still problems with using NPTL?  Even with the latest Sun JVM?

Duana.



_______________________________________________
Support mailing list
[email protected]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Reply via email to