----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


Blackdown JDK 1.2.2
Jserv 1.1.2
Linux RH6.1

I want to turn on green threads for the java interpreter for
jserv. Before you blast me for doing this, i don't want this for
production, but i want to do this for our test jserv environents, of
which we have several on one machine, and they are chewing up too many
processes.

I have tried the following in jserv.properties:

   >  wrapper.bin.parameters=-green

and


   >  wrapper.bin.parameters=-threads=green

but get this in my logs:

> Unrecognized option: -green
> Could not create the Java virtual machine.

and

> Unrecognized option: -threads=green
> Could not create the Java virtual machine.

If you can tell me what I am doing wrong, I would apreciate it.


<aspestos-suit>

BTW, I know Linus T. is a nice brilliant guy, but he is wrong about
the 1 thread = 1 process architecture in Linux. In recent testing
(http://www.javalobby.org/features/jpr/) it was shown that Windows
scaled better in # of Java threads than Linux. These results because
even the nimble Linux threads (read "processes") are still much more
heavy-weight than Windows threads, which are N:1 type I believe. 

We all make mistakes. I think he is quite wrong on this one. And we
are paying for his intransigence (on this issue). If anything, this
is one of the most likely areas for Linux kernal forking...

For more info:
 1 -  http://www-4.ibm.com/software/developer/library/java2/index.html
      "Java technology, threads, and scheduling in Linux
      Patching the kernel scheduler for better Java performance"
      Ray Bryant and Bill Hartner 
      IBM Linux Technology Center
      January 2000
 2 - here is the threads FAQ, another very good (read "relatively
     unbiased") resource:
     http://www.serpentine.com/~bos/threads-faq/
 3 - here is the very FUDy linux threads faq
     http://pauillac.inria.fr/~xleroy/linuxthreads/faq.html

my $0.02

</aspestos-suit>

thanks,

        glen


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to