You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by swara <sw...@ekaplus.com> on 2021/04/01 09:54:45 UTC

Re: Ignite hanging with log "TcpCommunicationSpi - TCP client created"

	
Thank you for your response. 

we are querying the same cache object concurrently and executing the
cache.query() eagerly. The second request is invoking the cursor.iterator()
without the first request getting completed and all the next subsequent
requests are getting stuck.

***The first request got stuck for 4hours now with these errors.

org.apache.ignite.internal.processors.cache.QueryCursorImpl.iterator(QueryCursorImpl.java:92)
org.apache.ignite.internal.processors.cache.query.RegisteredQueryCursor.iter(RegisteredQueryCursor.java:73)
org.apache.ignite.internal.processors.cache.QueryCursorImpl.iter(QueryCursorImpl.java:102)
org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$7.iterator(IgniteH2Indexing.java:1731)
org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:608)
org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.awaitAllReplies(GridReduceQueryExecutor.java:947)
org.apache.ignite.internal.util.IgniteUtils.await(IgniteUtils.java:7697)
java.util.concurrent.CountDownLatch.await(CountDownLatch.java:277)
java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
sun.misc.Unsafe.park(Native Method)

***Second request logs

log info: o.a.i.s.c.tcp.TcpCommunicationSpi - TCP client created
[client=null, node addrs=[/(*.*.*.*:48112, /127.0.0.1:48112],
duration=209ms]
 log info: o.a.i.s.c.tcp.TcpCommunicationSpi - TCP client created
[client=null, node addrs=[/*.*.*.*:48112, /127.0.0.1:48112], duration=206ms]
 log info: o.a.i.s.c.tcp.TcpCommunicationSpi - TCP client created
[client=null, node addrs=[/*.*.*.*:48112, /127.0.0.1:48112], duration=208ms]
 log info: o.a.i.s.c.tcp.TcpCommunicationSpi - TCP client created
[client=null, node addrs=[/*.*.*.*:48112, /127.0.0.1:48112], duration=209ms]

What should we do to kill these processes in ignite as the application is
getting stuck for hours with no response and getting released on its own ??

Thank you 
Swara





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite hanging with log "TcpCommunicationSpi - TCP client created"

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

Can you please provide a runnable reproducer for this behavior?

Regards,
-- 
Ilya Kasnacheev


чт, 1 апр. 2021 г. в 12:54, swara <sw...@ekaplus.com>:

>
> Thank you for your response.
>
> we are querying the same cache object concurrently and executing the
> cache.query() eagerly. The second request is invoking the cursor.iterator()
> without the first request getting completed and all the next subsequent
> requests are getting stuck.
>
> ***The first request got stuck for 4hours now with these errors.
>
>
> org.apache.ignite.internal.processors.cache.QueryCursorImpl.iterator(QueryCursorImpl.java:92)
>
> org.apache.ignite.internal.processors.cache.query.RegisteredQueryCursor.iter(RegisteredQueryCursor.java:73)
>
> org.apache.ignite.internal.processors.cache.QueryCursorImpl.iter(QueryCursorImpl.java:102)
>
> org.apache.ignite.internal.processors.query.h2.IgniteH2Indexing$7.iterator(IgniteH2Indexing.java:1731)
>
> org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.query(GridReduceQueryExecutor.java:608)
>
> org.apache.ignite.internal.processors.query.h2.twostep.GridReduceQueryExecutor.awaitAllReplies(GridReduceQueryExecutor.java:947)
> org.apache.ignite.internal.util.IgniteUtils.await(IgniteUtils.java:7697)
> java.util.concurrent.CountDownLatch.await(CountDownLatch.java:277)
>
> java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1328)
>
> java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1037)
> java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
> sun.misc.Unsafe.park(Native Method)
>
> ***Second request logs
>
> log info: o.a.i.s.c.tcp.TcpCommunicationSpi - TCP client created
> [client=null, node addrs=[/(*.*.*.*:48112, /127.0.0.1:48112],
> duration=209ms]
>  log info: o.a.i.s.c.tcp.TcpCommunicationSpi - TCP client created
> [client=null, node addrs=[/*.*.*.*:48112, /127.0.0.1:48112],
> duration=206ms]
>  log info: o.a.i.s.c.tcp.TcpCommunicationSpi - TCP client created
> [client=null, node addrs=[/*.*.*.*:48112, /127.0.0.1:48112],
> duration=208ms]
>  log info: o.a.i.s.c.tcp.TcpCommunicationSpi - TCP client created
> [client=null, node addrs=[/*.*.*.*:48112, /127.0.0.1:48112],
> duration=209ms]
>
> What should we do to kill these processes in ignite as the application is
> getting stuck for hours with no response and getting released on its own ??
>
> Thank you
> Swara
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>