Are you sure you have successfully upgrade HornetQ to 2.2.5? I only saw that on paging and 2.2.2.
Can you attach a thread dump at the time this is happening?
Thanks Clebert for looking into this.
I am attaching the thread dump from the hornetQ process ( this is not a complete dump, as this is the limit of what i could copyfrom the windows console).
I am also attaching the hornetQ logs, so that you can verify the version.
Please let me know, if you need additional information.
The dump is free. I don't see any activity.. just empty threads..
Are you sure the issue was happening at the time you extracted the dump?
Also, redirect it to a console, and you may get the whole thing
I am not sure what you are looking for in the threads, but i took one more dump ( this time the thread-pool-max-size and scheduled-thread-pool-max-size was left as default). Since this is happening randamloy, i tried to take at the time i saw the warning in the logs ( you can see the warnings in this log and than the dump)
HornetQ_Dump_2.txt.zip 5.3 KB
What's your use case?
It seems you are over-using LastValueQueues. Maybe we could improve / optimize and remove a synchronized LastValueQueue.addTail
I suspect you configured it as LVQ by mistake, did you?
Yes, the queue was setup as LVQ and after changing that i do not see the warning messages. Will do some further testing to confirm this.
But looks good for now.
Ok, the use case for LVQ is like receiving a stock ticket where the last value is replaced.
I will keep the JIRA open as an improvement, but I believe you were using it wrong.
ya we did not intent to use the LVQ setting and were unsing it unknowlighly. We have tested after changing the settign and have not seen the Warning message since than.
So how did you change this I believe that we may in advertantly have this set up as well! We are getting this Exception.
@acarbs12: Kapil had a wrong setting on the queue... setting last-value-queue without setting the last-value-attribute. That was the issue.
Our server was running fine for last 3 months and suddenly we have also started seeing this same issue. We dont have any LVQ (verfied that there is no last-value-queue).
[Old I/O server worker (parentId: 292826622, [id: 0x11742dfe, jms3.abcd.com/10.28.7.20:5445])] 08:16:14,851 WARNING [org.hornetq.core.server.impl.QueueImpl] Couldn't finish waiting executors. Try increasing the thread pool size