Just in case anyone else needs this:
It's actually -XX:SelfDestructTimer=30
See
http://stas-blogspot.blogspot.de/2011/07/most-complete-list-of-xx-options-for.html#SelfDestructTimer
Regards
Christoph Kaser
Am 30.01.2015 um 15:37 schrieb Michael McCandless:
Thanks Uwe & Dawid, next time I'll try try to SIGHUP it.
I never knew about this -DSelfDestructTime=30!
Mike McCandless
http://blog.mikemccandless.com
On Mon, Jan 26, 2015 at 3:21 PM, Dawid Weiss
<[email protected]> wrote:
If you encounter a situation like this, please stack dump the hung
JVM, ok? (send a SIGHUP signal to it). If you can't provoke the JVM to
dump its stack then it's very likely a JVM error. Otherwise I'll have
something to debug.
An alternative solution to force-kill a forked JVM (Oracle only) is to
pass the magic switch to it:
-DSelfDestructTimer=30
The number is in minutes; from JDK sources:
product(intx, SelfDestructTimer, 0, \
"Will cause VM to terminate after a given time (in minutes) " \
"(0 means off)")
Dawid
On Mon, Jan 26, 2015 at 8:42 PM, Uwe Schindler <[email protected]> wrote:
Hi,
This happens in most cases under OOM situations. In that case the test runner loses control and is
unable to shut down. In this case it could be something different, because you still see a
"test method" in the hearbeat. On OOM situations in most cases you see just the test case
name and no method. We have that quite often with Solr tests on Policeman Jenkins, too. If you want
to be sure that a build is aborted, you can also set a maximum timeout for the whole build in
Jenkins. Jenkins will then "kill -9" the whole process structure it launched. Please note
that Jenkins measures the whole build time, so give enough buffer.
Uwe
-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: [email protected]
-----Original Message-----
From: Michael McCandless [mailto:[email protected]]
Sent: Monday, January 26, 2015 7:10 PM
To: Lucene/Solr dev
Subject: Why would test timeout not kick in...?
This test (TestCompressingTermVectorsFormat.testClone) just kept
HEARTBEAT-ing for 2 days:
http://build-eu-
00.elasticsearch.org/job/lucene_linux_java8_64_test_only/26953/console
The test class / super classes are not annotated with longer timeouts ...
Shouldn't it have timed out at 7200 seconds?
Mike McCandless
http://blog.mikemccandless.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional
commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Dipl.-Inf. Christoph Kaser
IconParc GmbH
Sophienstrasse 1
80333 München
www.iconparc.de
Tel +49 -89- 15 90 06 - 21
Fax +49 -89- 15 90 06 - 49
Geschäftsleitung: Dipl.-Ing. Roland Brückner, Dipl.-Inf. Sven Angerer. HRB
121830, Amtsgericht München
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]