You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by siva <si...@bizruntime.com> on 2019/07/03 16:09:20 UTC

On ServerNode Thread TIMED_WAITING Lock

Hi,
I have Apache Ignite V2.7.5 and Windows VM CPU=32,RAM=128.

Whenever any operation doing like sql Query,Put or Get cache getting thread
time waiting exception on server log.

*Server configuration:*
-----------------------
server-config.xml
<http://apache-ignite-users.70518.x6.nabble.com/file/t1379/server-config.xml>  


*The following is the log exception*:
--------------------------------------
*Thread *[name="sys-#8480%ServerNode%", id=8599, state=*TIMED_WAITING*,
blockCnt=0, waitCnt=*1*]
    *Lock
*[object=java.util.concurrent.locks.*AbstractQueuedSynchronizer*$ConditionObject@10b04b9c,
ownerName=null, ownerId=-1]
        at sun.misc.Unsafe.park(Native Method)
        at
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
        at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
        at
java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)
        at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

*Thread* [name="sys-#8479%ServerNode%", id=8598, state=*TIMED_WAITING*,
blockCnt=0, waitCnt=1]
    Lock
[object=java.util.concurrent.locks.*AbstractQueuedSynchronizer*$ConditionObject@10b04b9c,
ownerName=null, ownerId=-1]
        at sun.misc.Unsafe.park(Native Method)
        at
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
        at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
        at
java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)
        at
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

*Thread Dump file:*
--------------------
threaddump.txt
<http://apache-ignite-users.70518.x6.nabble.com/file/t1379/threaddump.txt>  

Any other log or configuration needed,let me know.

Please,any help to solve this.



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

Re: On ServerNode Thread TIMED_WAITING Lock

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

It seems that one thread is busy reading pages from disk, so other thread
can't acquire write lock.

May happen if you have block device with bad characteristics, such as HDD,
and issue queries which overwhelm it.

Regards,
-- 
Ilya Kasnacheev


чт, 4 июл. 2019 г. в 16:51, siva <si...@bizruntime.com>:

> Hi,Thanks for reply.
>
> Please find the below log file.In this file don't know why these many
> thread
> are waiting state and because of thread lock or some other reason due to
> application also getting hang.
>
> Log file:
> --------
> ignite-e3c80688.log
> <
> http://apache-ignite-users.70518.x6.nabble.com/file/t1379/ignite-e3c80688.log>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Re: On ServerNode Thread TIMED_WAITING Lock

Posted by siva <si...@bizruntime.com>.
Hi,Thanks for reply.

Please find the below log file.In this file don't know why these many thread
are waiting state and because of thread lock or some other reason due to
application also getting hang.

Log file:
--------
ignite-e3c80688.log
<http://apache-ignite-users.70518.x6.nabble.com/file/t1379/ignite-e3c80688.log>  



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

Re: On ServerNode Thread TIMED_WAITING Lock

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

I can't see any exceptions in the posted material. Thread dumps look normal
(those two threads are just waiting for tasks). Do you have any specific
problem? Please consider sharing log.

Regards,
-- 
Ilya Kasnacheev


ср, 3 июл. 2019 г. в 19:09, siva <si...@bizruntime.com>:

> Hi,
> I have Apache Ignite V2.7.5 and Windows VM CPU=32,RAM=128.
>
> Whenever any operation doing like sql Query,Put or Get cache getting thread
> time waiting exception on server log.
>
> *Server configuration:*
> -----------------------
> server-config.xml
> <
> http://apache-ignite-users.70518.x6.nabble.com/file/t1379/server-config.xml>
>
>
>
> *The following is the log exception*:
> --------------------------------------
> *Thread *[name="sys-#8480%ServerNode%", id=8599, state=*TIMED_WAITING*,
> blockCnt=0, waitCnt=*1*]
>     *Lock
>
> *[object=java.util.concurrent.locks.*AbstractQueuedSynchronizer*$ConditionObject@10b04b9c
> ,
> ownerName=null, ownerId=-1]
>         at sun.misc.Unsafe.park(Native Method)
>         at
> java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
>         at
>
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
>         at
> java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
>
> *Thread* [name="sys-#8479%ServerNode%", id=8598, state=*TIMED_WAITING*,
> blockCnt=0, waitCnt=1]
>     Lock
>
> [object=java.util.concurrent.locks.*AbstractQueuedSynchronizer*$ConditionObject@10b04b9c
> ,
> ownerName=null, ownerId=-1]
>         at sun.misc.Unsafe.park(Native Method)
>         at
> java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
>         at
>
> java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
>         at
> java.util.concurrent.LinkedBlockingQueue.poll(LinkedBlockingQueue.java:467)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1073)
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>         at java.lang.Thread.run(Thread.java:748)
>
> *Thread Dump file:*
> --------------------
> threaddump.txt
> <http://apache-ignite-users.70518.x6.nabble.com/file/t1379/threaddump.txt>
>
>
> Any other log or configuration needed,let me know.
>
> Please,any help to solve this.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>