[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [condor-users] Condor+Java+Linux doesn't work
- Date: Thu, 08 Jan 2004 00:33:31 +0000
- From: richmc@xxxxxxxxxxx
- Subject: Re: [condor-users] Condor+Java+Linux doesn't work
Hi Todd, Mark, and others,
The machine I'm running on does indeed have more RAM than the Java heap size limit on x86 hardware. Following your (Todd) advice with one modification worked:
JAVA_MAXHEAP_ARGUMENT = -Xmx
JAVA_EXTRA_ARGUMENTS = -Xmx750M
Note that if JAVA_MAXHEAP_ARGUMENT is left empty, it does not work. If it is set as shown above it works.
Thanks for the help people!!
> At 12:30 PM 1/7/2004, richmc@xxxxxxxxxxx wrote:
> >Hello people,
> >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 = :
> >JAVA_EXTRA_ARGUMENTS =
> Definitely try everything Mark suggested.
> Another possibility:
> 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
> JAVA_MAXHEAP_ARGUMENT =
> # 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>
Condor Support Information:
To Unsubscribe, send mail to majordomo@xxxxxxxxxxx with
unsubscribe condor-users <your_email_address>