rootman22 at comcast.net
Thu Oct 30 08:48:38 PST 2003
On Saturday 25 October 2003 06:08 pm, Antony T Curtis wrote:
> On Sun, 2003-10-26 at 00:02, Joe Warner wrote:
> > On Saturday 25 October 2003 09:04 am, Antony T Curtis wrote:
> > > On Sat, 2003-10-25 at 15:21, Joe Warner wrote:
> > > > Hi,
> > > >
> > > > Does anyone know how to control the number of Java processes that get
> > > > spawned when running one of the variants in /usr/ports/java..? I'm
> > > > running linux-ibm-jdk1.3.1 and when I launch
> > > > /usr/local/linux-ibm-jdk1.3.1/bin/java it spawns 5 processes of java
> > > > and it's bringing my system to it's knees! There was an older version
> > > > that I used to run that only spawned 1 process and my system could
> > > > handle it fine.
> > >
> > > Each thread in a Linux binary becomes 1 process under FreeBSD.
> > >
> > > > I've looked through the supplied documentation, this list and even
> > > > Google and can't find any instructions on how to limit these
> > > > processes.
> > >
> > > Try using -classic option.
> > What kind of option is that? Java command line or make option?
> The first option on the java command line.
> Alternatively, you can use JDK1.3 (Diablo) on FreeBSD, it will only
> create one process.
Ok, here's an update on this..
The -classic command option had no effect so I installed /usr/ports/java/
diablo-jdk13 and it's been rock solid all week. 8^)
Thanks for all your help on this!
More information about the freebsd-java