[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [condor-users] Condor+Java+Linux doesn't work
- Date: Wed, 07 Jan 2004 16:11:54 -0600
- From: Todd Tannenbaum <tannenba@xxxxxxxxxxx>
- Subject: Re: [condor-users] Condor+Java+Linux doesn't work
At 12:30 PM 1/7/2004, richmc@xxxxxxxxxxx wrote:
I've installed Condor v6.6.0 on a PC running Red Hat Linux 9. The vanilla
test script works and 'condor_status' shows reasonable output, however
'condor_status -java' does not produce any output other than a newline
and jobs submitted to the queue are held because a machine with
"HasJava=True" cannot be found.
The configuration file condor_config contains the following Java settings:
JAVA = /usr/java/j2sdk1.4.2_02/bin/java
JAVA_MAXHEAP_ARGUMENT = -Xmx
JAVA_CLASSPATH_DEFAULT = $(LIB) $(LIB)/scimark2lib.jar .
JAVA_CLASSPATH_ARGUMENT = -classpath
JAVA_CLASSPATH_SEPARATOR = :
Definitely try everything Mark suggested.
Does your machine have lots of RAM (more than a gig of RAM) ?
There is a known problem in cases where the physical RAM exceeds the Sun
java max heap limitations.
Condor will append the maximum amount of system RAM to the java maxheap
argument -- and sometimes this value is larger than the Sun jvm allows ( it
depends on the platform, but according to the man page on x86 Linux I think
the max value is 2000m, which means that if your machine Linux machine has
2 gigs or more RAM, you may encounter this problem). The end result is
Condor thinks the jvm on your machine is faulty, and thus does not show up
with "condor_status -java".
If you think this the problem, add the following into your
condor_config[.local] as a workaround:
# First set JAVA_MAXHEAP_ARGUMENT to null, to disable the default of max RAM
# Now set the argument with our own value
JAVA_EXTRA_ARGUMENTS = -Xmx1906m
Hope this helps,
Todd Tannenbaum University of Wisconsin-Madison
Condor Project Research Department of Computer Sciences
tannenba@xxxxxxxxxxx 1210 W. Dayton St. Rm #3357
http://www.cs.wisc.edu/~tannenba Madison, WI 53706-1685
Phone: (608) 263-7132 FAX: (240) 359-5654
Condor Support Information:
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>