[Swift-devel] Java hangs on new rcc hardware

Mihael Hategan hategan at mcs.anl.gov
Sat Jul 14 01:22:08 CDT 2012


For reference, this was solved. The issue was a bug in the linux kernel
futex() implementation (which is how Thread.sleep() and Object.wait()
are using) that was triggered by the leap second introduced a while ago.
For details, see https://lkml.org/lkml/2012/6/30/122

Mihael

On Mon, 2012-07-09 at 11:24 -0500, Michael Wilde wrote:
> The problematic Swift script seems to run fine with 32-bit Java 1.6.
> 
> - Mike
> 
> ----- Original Message -----
> > From: "Michael Wilde" <wilde at mcs.anl.gov>
> > To: "Mihael Hategan" <hategan at mcs.anl.gov>
> > Cc: "Swift Devel" <swift-devel at ci.uchicago.edu>
> > Sent: Monday, July 9, 2012 8:19:55 AM
> > Subject: [Swift-devel] Java hangs on new rcc hardware
> > Java is acting strange for me on the new RCC "midway" cluster. The
> > symptom is that the jvm seems to go into a tight cpu loop across
> > several (3 or more) cores.
> > 
> > I see this first in the polling loop in the local scheduler provider,
> > which calls Thread.sleep() and seems to not return. But each time I
> > suspect and resume the jvm with ^Z, fg, ^Z, bg, it progresses further.
> > Doing this twice enables the jvm to successfully complete the Swift
> > script its running (which tests a single PBS job).
> > 
> > I see what appears to be similar behavior in the Swift build. The ant
> > redist will hang somewhere around where Swift compiles the antlr
> > output, then a similar suspect-resume sequence will cause it to
> > continue.
> > 
> > I saw this first with the Java 1.7 that was installed on midway; then
> > with the latest JDK 1.6, and also with what I think is a more
> > recent/latest JDK 1.7.
> > 
> > Im still debugging, but any help or suggestions would be most welcome.
> > 
> > Thanks,
> > 
> > - Mike
> > 
> > --
> > Michael Wilde
> > Computation Institute, University of Chicago
> > Mathematics and Computer Science Division
> > Argonne National Laboratory
> > 
> > _______________________________________________
> > Swift-devel mailing list
> > Swift-devel at ci.uchicago.edu
> > https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
> 





More information about the Swift-devel mailing list