-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Nats client hangs without any UNSUBSCRIBE and/or Exception #319
Comments
TLS is no active |
@pentolone , is this behavior repeatable? do you have server logs for the time when tis happens? |
Hello,
thanks for the answer. The behaviour is not repeatable as it happens
randomically.
We have 4 running servers, only in one we have this strange thing. The nats
logfile shows that messages are sent but the client stops receiving until a
restart.
I do not have any Exception caught in client's log files.
The onMessage looks like it is stopped or waiting for something.
We have one server where the client has been running since almost one month
ago, it receives thousands of messages every day without any problem.
The difference between the server running well and the other is O.S.
version (the good one is "Linux 4.19.0-8-amd64 #1 SMP Debian
4.19.98-1+deb10u1 (2020-04-27) x86_64 GNU/Linux", the bad one is "Linux
4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64
GNU/Linux").
Both run NATS server 2.0.2. The good one runs NATS client jnats 2.6.6, the
bad one runs jnats 2.6.8 (it is a last upgrade, we had the problem also
with 2.6.6).
Hope this helps!
Best,
Luca
…On Tue, Jul 28, 2020 at 7:19 PM Matthias Hanel ***@***.***> wrote:
@pentolone <https://github.com/pentolone> , is this behavior repeatable?
do you have server logs for the time when tis happens?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#319 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJMLUMADG674YG2NEA6IMHTR54CBHANCNFSM4OEP3PTA>
.
--
Luca Romano
luke.romano@gmail.com
---------------------------------------
Have fun!
|
@pentolone next time this happens, would you mind dumping and sharing the stack traces of your program using jstack -l |
Sure Matthias,
have a nice evening!
Luca
…On Thu, Jul 30, 2020 at 7:25 PM Matthias Hanel ***@***.***> wrote:
@pentolone <https://github.com/pentolone> next time this happens, would
you mind dumping and sharing the stack traces of your program using jstack
-l <https://docs.oracle.com/en/java/javase/13/docs/specs/man/jstack.html>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#319 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJMLUMAB36XAMJ2UGSJQGY3R6GUJ3ANCNFSM4OEP3PTA>
.
--
Luca Romano
luke.romano@gmail.com
---------------------------------------
Have fun!
|
Hello Matthias,
-
I run the command as requested, here is the output (hope this helps)
/usr/lib/jvm/jdk-13.0.1/bin/jstack -l 8616
root@cloud4-02
2020-07-31 15:12:07
Full thread dump OpenJDK 64-Bit Server VM (11.0.7+10-post-Debian-3deb10u1
mixed mode, sharing):
Threads class SMR info:
_java_thread_list=0x00007fc21c001ea0, length=18, elements={
0x00007fc274015800, 0x00007fc27428e000, 0x00007fc274290000,
0x00007fc274295800,
0x00007fc274297800, 0x00007fc27429a000, 0x00007fc27429c000,
0x00007fc2742d3000,
0x00007fc2742d8000, 0x00007fc274901000, 0x00007fc27490a800,
0x00007fc27490c800,
0x00007fc274917000, 0x00007fc27497e000, 0x00007fc274984800,
0x00007fc274a35000,
0x00007fc274a6a800, 0x00007fc21c001000
}
"main" #1 prio=5 os_prio=0 cpu=1402.53ms elapsed=5223.98s
tid=0x00007fc274015800 nid=0x21a9 in Object.wait() [0x00007fc279811000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(java.base@11.0.7/Native Method)
- waiting on <0x0000000615200000> (a java.lang.Class for nodexx.NodexxMain)
at java.lang.Object.wait(java.base@11.0.7/Object.java:328)
at nodexx.NodexxMain.waitEvents(NodexxMain.java:90)
- waiting to re-lock in wait() <0x0000000615200000> (a java.lang.Class for
nodexx.NodexxMain)
at nodexx.NodexxMain.main(NodexxMain.java:83)
Locked ownable synchronizers:
- None
"Reference Handler" #2 daemon prio=10 os_prio=0 cpu=3.02ms elapsed=5223.94s
tid=0x00007fc27428e000 nid=0x21b0 waiting on condition [0x00007fc25c584000]
java.lang.Thread.State: RUNNABLE
at java.lang.ref.Reference.waitForReferencePendingList(java.base@11.0.7/Native
Method)
at java.lang.ref.Reference.processPendingReferences(java.base@11.0.7
/Reference.java:241)
at java.lang.ref.Reference$ReferenceHandler.run(java.base@11.0.7
/Reference.java:213)
Locked ownable synchronizers:
- None
"Finalizer" #3 daemon prio=8 os_prio=0 cpu=1.70ms elapsed=5223.94s
tid=0x00007fc274290000 nid=0x21b1 in Object.wait() [0x00007fc25c483000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(java.base@11.0.7/Native Method)
- waiting on <0x0000000615201ca0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(java.base@11.0.7
/ReferenceQueue.java:155)
- waiting to re-lock in wait() <0x0000000615201ca0> (a
java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(java.base@11.0.7
/ReferenceQueue.java:176)
at java.lang.ref.Finalizer$FinalizerThread.run(java.base@11.0.7
/Finalizer.java:170)
Locked ownable synchronizers:
- None
"Signal Dispatcher" #4 daemon prio=9 os_prio=0 cpu=0.94ms elapsed=5223.93s
tid=0x00007fc274295800 nid=0x21b2 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"C2 CompilerThread0" #5 daemon prio=9 os_prio=0 cpu=28352.45ms
elapsed=5223.93s tid=0x00007fc274297800 nid=0x21b3 waiting on condition
[0x0000000000000000]
java.lang.Thread.State: RUNNABLE
No compile task
Locked ownable synchronizers:
- None
"C1 CompilerThread0" #8 daemon prio=9 os_prio=0 cpu=2895.99ms
elapsed=5223.93s tid=0x00007fc27429a000 nid=0x21b4 runnable
[0x0000000000000000]
java.lang.Thread.State: RUNNABLE
No compile task
Locked ownable synchronizers:
- None
"Sweeper thread" #9 daemon prio=9 os_prio=0 cpu=763.39ms elapsed=5223.93s
tid=0x00007fc27429c000 nid=0x21b5 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"Service Thread" #10 daemon prio=9 os_prio=0 cpu=0.41ms elapsed=5223.90s
tid=0x00007fc2742d3000 nid=0x21b6 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"Common-Cleaner" #11 daemon prio=8 os_prio=0 cpu=22.06ms elapsed=5223.90s
tid=0x00007fc2742d8000 nid=0x21b8 in Object.wait() [0x00007fc244e82000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(java.base@11.0.7/Native Method)
- waiting on <no object reference available>
at java.lang.ref.ReferenceQueue.remove(java.base@11.0.7
/ReferenceQueue.java:155)
- waiting to re-lock in wait() <0x0000000615201aa0> (a
java.lang.ref.ReferenceQueue$Lock)
at jdk.internal.ref.CleanerImpl.run(java.base@11.0.7/CleanerImpl.java:148)
at java.lang.Thread.run(java.base@11.0.7/Thread.java:834)
at jdk.internal.misc.InnocuousThread.run(java.base@11.0.7
/InnocuousThread.java:134)
Locked ownable synchronizers:
- None
"pool-3-thread-1" #15 prio=5 os_prio=0 cpu=4.76ms elapsed=5222.58s
tid=0x00007fc274901000 nid=0x21c2 waiting on condition [0x00007fc23ddfe000]
java.lang.Thread.State: WAITING (parking)
at jdk.internal.misc.Unsafe.park(java.base@11.0.7/Native Method)
- parking to wait for <0x00000006155b2330> (a
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(java.base@11.0.7
/LockSupport.java:194)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.7
/AbstractQueuedSynchronizer.java:2081)
at java.util.concurrent.LinkedBlockingQueue.take(java.base@11.0.7
/LinkedBlockingQueue.java:433)
at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@11.0.7
/ThreadPoolExecutor.java:1054)
at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.7
/ThreadPoolExecutor.java:1114)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.7
/ThreadPoolExecutor.java:628)
at java.lang.Thread.run(java.base@11.0.7/Thread.java:834)
Locked ownable synchronizers:
- None
"brnodexx:1" #16 prio=5 os_prio=0 cpu=2642.27ms elapsed=5222.57s
tid=0x00007fc27490a800 nid=0x21c3 runnable [0x00007fc23dcfd000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(java.base@11.0.7/Native Method)
at java.net.SocketInputStream.socketRead(java.base@11.0.7
/SocketInputStream.java:115)
at java.net.SocketInputStream.read(java.base@11.0.7
/SocketInputStream.java:168)
at java.net.SocketInputStream.read(java.base@11.0.7
/SocketInputStream.java:140)
at io.nats.client.impl.SocketDataPort.read(SocketDataPort.java:101)
at
io.nats.client.impl.NatsConnectionReader.run(NatsConnectionReader.java:111)
at java.util.concurrent.Executors$RunnableAdapter.call(java.base@11.0.7
/Executors.java:515)
at java.util.concurrent.FutureTask.run(java.base@11.0.7/FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.7
/ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.7
/ThreadPoolExecutor.java:628)
at java.lang.Thread.run(java.base@11.0.7/Thread.java:834)
Locked ownable synchronizers:
- <0x00000006155a0cb8> (a java.util.concurrent.ThreadPoolExecutor$Worker)
"brnodexx:2" #17 prio=5 os_prio=0 cpu=3360.34ms elapsed=5222.57s
tid=0x00007fc27490c800 nid=0x21c4 waiting on condition [0x00007fc23dbfc000]
java.lang.Thread.State: TIMED_WAITING (parking)
at jdk.internal.misc.Unsafe.park(java.base@11.0.7/Native Method)
- parking to wait for <0x00000006155b5688> (a
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.parkNanos(java.base@11.0.7
/LockSupport.java:234)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(java.base@11.0.7
/AbstractQueuedSynchronizer.java:2123)
at java.util.concurrent.LinkedBlockingQueue.poll(java.base@11.0.7
/LinkedBlockingQueue.java:458)
at io.nats.client.impl.MessageQueue.poll(MessageQueue.java:161)
at io.nats.client.impl.MessageQueue.accumulate(MessageQueue.java:218)
at
io.nats.client.impl.NatsConnectionWriter.run(NatsConnectionWriter.java:123)
at java.util.concurrent.Executors$RunnableAdapter.call(java.base@11.0.7
/Executors.java:515)
at java.util.concurrent.FutureTask.run(java.base@11.0.7/FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.7
/ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.7
/ThreadPoolExecutor.java:628)
at java.lang.Thread.run(java.base@11.0.7/Thread.java:834)
Locked ownable synchronizers:
- <0x00000006155b58b8> (a java.util.concurrent.ThreadPoolExecutor$Worker)
"Nats Connection Timer" #18 prio=5 os_prio=0 cpu=158.00ms elapsed=5222.57s
tid=0x00007fc274917000 nid=0x21c5 in Object.wait() [0x00007fc23dafb000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(java.base@11.0.7/Native Method)
- waiting on <no object reference available>
at java.util.TimerThread.mainLoop(java.base@11.0.7/Timer.java:553)
- waiting to re-lock in wait() <0x00000006155b34d0> (a java.util.TaskQueue)
at java.util.TimerThread.run(java.base@11.0.7/Timer.java:506)
Locked ownable synchronizers:
- None
"brnodexx:3" #19 prio=5 os_prio=0 cpu=758667.71ms elapsed=5222.55s
tid=0x00007fc27497e000 nid=0x21c6 runnable [0x00007fc23d9f9000]
java.lang.Thread.State: RUNNABLE
at nodexx.protocol.NodexxParser.deCoupleData(NodexxParser.java:664)
at nodexx.protocol.NodexxParser.parseResponse(NodexxParser.java:525)
at
nodexx.protocol.nats.NatsClientNodexx.manageData(NatsClientNodexx.java:166)
at nodexx.nats.NodexxNatsHandler.onMessage(NodexxNatsHandler.java:48)
- locked <0x00000006155d7908> (a nodexx.nats.NodexxNatsHandler)
at io.nats.client.impl.NatsDispatcher.run(NatsDispatcher.java:98)
at java.util.concurrent.Executors$RunnableAdapter.call(java.base@11.0.7
/Executors.java:515)
at java.util.concurrent.FutureTask.run(java.base@11.0.7/FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.7
/ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.7
/ThreadPoolExecutor.java:628)
at java.lang.Thread.run(java.base@11.0.7/Thread.java:834)
Locked ownable synchronizers:
- <0x00000006156c1648> (a java.util.concurrent.ThreadPoolExecutor$Worker)
"pool-4-thread-1" #20 prio=5 os_prio=0 cpu=7.02ms elapsed=5222.54s
tid=0x00007fc274984800 nid=0x21c7 waiting on condition [0x00007fc23d8f9000]
java.lang.Thread.State: WAITING (parking)
at jdk.internal.misc.Unsafe.park(java.base@11.0.7/Native Method)
- parking to wait for <0x00000006155b26b8> (a
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(java.base@11.0.7
/LockSupport.java:194)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@11.0.7
/AbstractQueuedSynchronizer.java:2081)
at
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@11.0.7
/ScheduledThreadPoolExecutor.java:1170)
at
java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(java.base@11.0.7
/ScheduledThreadPoolExecutor.java:899)
at java.util.concurrent.ThreadPoolExecutor.getTask(java.base@11.0.7
/ThreadPoolExecutor.java:1054)
at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.7
/ThreadPoolExecutor.java:1114)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.7
/ThreadPoolExecutor.java:628)
at java.lang.Thread.run(java.base@11.0.7/Thread.java:834)
Locked ownable synchronizers:
- None
"Leitfeld-Refresh-Thread (brnodexx)" #21 daemon prio=1 os_prio=0
cpu=217.76ms elapsed=5222.53s tid=0x00007fc274a35000 nid=0x21c8 waiting on
condition [0x00007fc23d5f8000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(java.base@11.0.7/Native Method)
at br.thread.BridgeRefreshThread.run(BridgeRefreshThread.java:118)
- locked <0x00000006155b66a8> (a br.thread.BridgeRefreshThread)
at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.7
/ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.7
/ThreadPoolExecutor.java:628)
at java.lang.Thread.run(java.base@11.0.7/Thread.java:834)
Locked ownable synchronizers:
- <0x00000006155b6798> (a java.util.concurrent.ThreadPoolExecutor$Worker)
"Leitfeld-Bridge-Retry-Thread (brnodexx)" #22 daemon prio=10 os_prio=0
cpu=593.35ms elapsed=5222.51s tid=0x00007fc274a6a800 nid=0x21c9 sleeping
[0x00007fc23d239000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(java.base@11.0.7/Native Method)
at br.thread.BridgeRetryThread.run(BridgeRetryThread.java:35)
- locked <0x00000006155b2990> (a br.thread.BridgeRetryThread)
at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@11.0.7
/ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@11.0.7
/ThreadPoolExecutor.java:628)
at java.lang.Thread.run(java.base@11.0.7/Thread.java:834)
Locked ownable synchronizers:
- <0x00000006155b2a68> (a java.util.concurrent.ThreadPoolExecutor$Worker)
"Attach Listener" #23 daemon prio=9 os_prio=0 cpu=1.82ms elapsed=308.38s
tid=0x00007fc21c001000 nid=0x316f waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
Locked ownable synchronizers:
- None
"VM Thread" os_prio=0 cpu=2657.61ms elapsed=5223.95s tid=0x00007fc27428b000
nid=0x21af runnable
"GC Thread#0" os_prio=0 cpu=543.30ms elapsed=5223.98s
tid=0x00007fc27402e000 nid=0x21aa runnable
"GC Thread#1" os_prio=0 cpu=529.70ms elapsed=5222.97s
tid=0x00007fc230001000 nid=0x21bb runnable
"GC Thread#2" os_prio=0 cpu=580.60ms elapsed=5222.97s
tid=0x00007fc230002800 nid=0x21bc runnable
"GC Thread#3" os_prio=0 cpu=489.39ms elapsed=5222.97s
tid=0x00007fc230004000 nid=0x21bd runnable
"GC Thread#4" os_prio=0 cpu=549.08ms elapsed=5222.97s
tid=0x00007fc230005800 nid=0x21be runnable
"GC Thread#5" os_prio=0 cpu=496.33ms elapsed=5222.96s
tid=0x00007fc230007000 nid=0x21bf runnable
"GC Thread#6" os_prio=0 cpu=520.40ms elapsed=5222.96s
tid=0x00007fc230008800 nid=0x21c0 runnable
"GC Thread#7" os_prio=0 cpu=511.43ms elapsed=5222.96s
tid=0x00007fc23000a000 nid=0x21c1 runnable
"G1 Main Marker" os_prio=0 cpu=1.87ms elapsed=5223.98s
tid=0x00007fc274067800 nid=0x21ab runnable
"G1 Conc#0" os_prio=0 cpu=0.30ms elapsed=5223.98s tid=0x00007fc274069800
nid=0x21ac runnable
"G1 Refine#0" os_prio=0 cpu=1.23ms elapsed=5223.97s tid=0x00007fc2741e5000
nid=0x21ad runnable
"G1 Young RemSet Sampling" os_prio=0 cpu=2788.89ms elapsed=5223.97s
tid=0x00007fc2741e7000 nid=0x21ae runnable
"VM Periodic Task Thread" os_prio=0 cpu=6146.84ms elapsed=5223.90s
tid=0x00007fc2742d6000 nid=0x21b7 waiting on condition
JNI global refs: 19, weak refs: 0
…On Thu, Jul 30, 2020 at 9:03 PM Luca Romano ***@***.***> wrote:
Sure Matthias,
have a nice evening!
Luca
On Thu, Jul 30, 2020 at 7:25 PM Matthias Hanel ***@***.***>
wrote:
> @pentolone <https://github.com/pentolone> next time this happens, would
> you mind dumping and sharing the stack traces of your program using jstack
> -l <https://docs.oracle.com/en/java/javase/13/docs/specs/man/jstack.html>
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#319 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AJMLUMAB36XAMJ2UGSJQGY3R6GUJ3ANCNFSM4OEP3PTA>
> .
>
--
Luca Romano
***@***.***
---------------------------------------
Have fun!
--
Luca Romano
luke.romano@gmail.com
---------------------------------------
Have fun!
|
What is your code doing in NodexxParser.java:664?
These two threads hold locks while sleeping.
|
thanks for the answer, I am currently investigating... maybe an infinite
loop..
Luca
…On Wed, Aug 5, 2020 at 7:05 PM Matthias Hanel ***@***.***> wrote:
@pentolone <https://github.com/pentolone>
What is your code doing in NodexxParser.java:664?
Is it possible that your logic ends up spinning or takes unexpectedly long?
"brnodexx:3" #19 prio=5 os_prio=0 cpu=758667.71ms elapsed=5222.55s
tid=0x00007fc27497e000 nid=0x21c6 runnable [0x00007fc23d9f9000]
java.lang.Thread.State: RUNNABLE
at nodexx.protocol.NodexxParser.deCoupleData(NodexxParser.java:664)
at nodexx.protocol.NodexxParser.parseResponse(NodexxParser.java:525)
at
nodexx.protocol.nats.NatsClientNodexx.manageData(NatsClientNodexx.java:166)
at nodexx.nats.NodexxNatsHandler.onMessage(NodexxNatsHandler.java:48)
- locked <0x00000006155d7908> (a nodexx.nats.NodexxNatsHandler)
at io.nats.client.impl.NatsDispatcher.run(NatsDispatcher.java:98)
at ***@***.***
/Executors.java:515)
at ***@***.***/FutureTask.java:264)
at ***@***.***
/ThreadPoolExecutor.java:1128)
at ***@***.***
/ThreadPoolExecutor.java:628)
at ***@***.***/Thread.java:834)
Locked ownable synchronizers:
- <0x00000006156c1648> (a java.util.concurrent.ThreadPoolExecutor$Worker)
These two threads hold locks while sleeping.
"Leitfeld-Refresh-Thread (brnodexx)" #21 daemon prio=1 os_prio=0
cpu=217.76ms elapsed=5222.53s tid=0x00007fc274a35000 nid=0x21c8 waiting on
condition [0x00007fc23d5f8000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at ***@***.***/Native Method)
at br.thread.BridgeRefreshThread.run(BridgeRefreshThread.java:118)
- locked <0x00000006155b66a8> (a br.thread.BridgeRefreshThread)
at ***@***.***
/ThreadPoolExecutor.java:1128)
at ***@***.***
/ThreadPoolExecutor.java:628)
at ***@***.***/Thread.java:834)
Locked ownable synchronizers:
- <0x00000006155b6798> (a java.util.concurrent.ThreadPoolExecutor$Worker)
"Leitfeld-Bridge-Retry-Thread (brnodexx)" #22 daemon prio=10 os_prio=0
cpu=593.35ms elapsed=5222.51s tid=0x00007fc274a6a800 nid=0x21c9 sleeping
[0x00007fc23d239000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at ***@***.***/Native Method)
at br.thread.BridgeRetryThread.run(BridgeRetryThread.java:35)
- locked <0x00000006155b2990> (a br.thread.BridgeRetryThread)
at ***@***.***
/ThreadPoolExecutor.java:1128)
at ***@***.***
/ThreadPoolExecutor.java:628)
at ***@***.***/Thread.java:834)
Locked ownable synchronizers:
- <0x00000006155b2a68> (a java.util.concurrent.ThreadPoolExecutor$Worker)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#319 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJMLUMEQFCYZBYHNWQB4FULR7GGMBANCNFSM4OEP3PTA>
.
--
Luca Romano
luke.romano@gmail.com
---------------------------------------
Have fun!
|
@pentolone Have this been resolved? We'd like to close this issue. |
Yes, the problem was a bug not related to NATS. You can close the issue.
Thanks
…On Mon, Mar 8, 2021 at 5:34 PM Scott Fauerbach ***@***.***> wrote:
@pentolone <https://github.com/pentolone> Have this been resolved? We'd
like to close this issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#319 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJMLUMBB7FOWSR7OTG4OVYTTCT4BXANCNFSM4OEP3PTA>
.
--
Luca Romano
luke.romano@gmail.com
---------------------------------------
Have fun!
|
I have this strange behaviour, after a while the client Java stops printing incoming messages.
No UNSUBSCRIBE and the nats server shows PUB and MSG with the two clients.
I am using gnatsd 2.0.2 and Java Nats client 2.6.6
Thanks in advance
` @OverRide
public synchronized void onMessage(Message msg) throws InterruptedException {
try {
String[] tmp = msg.getSubject().split(Pattern.quote("."));
if(tmp.length < minLenSub || (!tmp[1].equalsIgnoreCase(NodexxNats.connectionName) && !tmp[1].equalsIgnoreCase(NodexxConfig.bridgeModel) && !tmp[1].equalsIgnoreCase(Nats.broadCast)))
throw new IOException("Invalid Nats Subject: " + msg.getSubject());
The text was updated successfully, but these errors were encountered: