Hi Igniters,

We are on 1.5.0.final and have been on it for a while. But we started seeing
this issue in production recently. We want a JVM to call System.exit() when
its done its work, but we see the below locking. This affects us badly, we
cannot kill the processes on linux with a Ctrl+C either. we have to involve
support to run a kill -9.

We are unable to reproduce this issue on windows. And it happens on Linux
most of the times now.

Can you please look at the thread dump and suggest some solution?

Name: Thread-3
State: WAITING on java.lang.Object@43ba110c
Total blocked: 9  Total waited: 12

Stack trace: 
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
org.apache.ignite.internal.util.worker.GridWorker.join(GridWorker.java:233)
org.apache.ignite.internal.util.IgniteUtils.join(IgniteUtils.java:7295)
org.apache.ignite.internal.util.ipc.shmem.IpcSharedMemoryServerEndpoint.close(IpcSharedMemoryServerEndpoint.java:467)
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$ShmemAcceptWorker.cancel(TcpCommunicationSpi.java:2913)
org.apache.ignite.internal.util.IgniteUtils.cancel(IgniteUtils.java:4446)
org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi.spiStop(TcpCommunicationSpi.java:1775)
org.apache.ignite.internal.managers.GridManagerAdapter.stopSpi(GridManagerAdapter.java:279)
org.apache.ignite.internal.managers.communication.GridIoManager.stop(GridIoManager.java:546)
org.apache.ignite.internal.IgniteKernal.stop0(IgniteKernal.java:1928)
org.apache.ignite.internal.IgniteKernal.stop(IgniteKernal.java:1794)
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop0(IgnitionEx.java:2207)
   - locked
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance@5dadab2f
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance.stop(IgnitionEx.java:2170)
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance$2.run(IgnitionEx.java:1731)




Name: main
State: WAITING on
org.apache.ignite.internal.IgnitionEx$IgniteNamedInstance$2@6eecdcff
Total blocked: 82  Total waited: 105

Stack trace: 
java.lang.Object.wait(Native Method)
java.lang.Thread.join(Thread.java:1258)
java.lang.Thread.join(Thread.java:1332)
java.lang.ApplicationShutdownHooks.runHooks(ApplicationShutdownHooks.java:106)
java.lang.ApplicationShutdownHooks$1.run(ApplicationShutdownHooks.java:46)
java.lang.Shutdown.runHooks(Shutdown.java:123)
java.lang.Shutdown.sequence(Shutdown.java:167)
java.lang.Shutdown.exit(Shutdown.java:212)
   - locked java.lang.Class@34c1cab5
java.lang.Runtime.exit(Runtime.java:107)
java.lang.System.exit(System.java:960)
com.tudor.reconcile.ReconcilePositions.reconcile(ReconcilePositions.java:353)
com.tudor.reconcile.ReconcilePositions.main(ReconcilePositions.java:113)




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/System-exit-not-exiting-cleanly-locked-on-IgnitionEx-IgniteNamedInstance-tp5814.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to