-
Notifications
You must be signed in to change notification settings - Fork 102
GelfREDISSender.close() does not stop Sentinel pool #200
Comments
Can you grab a thread dump to see which threads are preventing shutdown? |
Seems that we do not close the |
logstash-gelf aims for maximum compatibility. That's why we keep dependency versions as low as possible to not accidentally use functionality that is available only in newer library versions. We're still compatible with Java 1.6 runtimes and pretty old logging library versions and this is, why we keep Redis also on version 2.8. |
We now destroy the pool to release potentially attached pool resources when shutting down the sender.
We now destroy the pool to release potentially attached pool resources when shutting down the sender.
awesome, thank you! |
Thanks a lot. The stack trace confirms my assumption that |
Hi Mark, thank you for such quick reply! I've just compiled/tested version 1.14.0-SNAPSHOT and with same results, tdump attached. https://gist.github.com/alejojo/225aadc92aa8925173ded58d76f9a149 catalina.out:
Cheers, |
Thanks a lot. I took a look at Jedis code. The Thread shutdown sets just a flag and sends a disconnect signal to the Socket connection which leaves the thread still active. We cannot do anything more from our side. I would suggest downgrading to an earlier Jedis version for your case. |
got it. thanks |
Hi @mp911de, I've been using
logstash-gelf
-> graylog with no issues for the last 2 or 3 years, thank you!Now I want to add caching redundancy so I am checking
redis-sentinel
. So far is working fine, except when stopping tomcat.When starting up there is no problem, but when shutting down it stays in
INFO: Stopping Coyote HTTP/1.1 on http-PORT
until I kill it.libs ver:
log4j.properties
:Logs catalina.out
Make sure that:
btw: Makefile is pointing to redis-2.8-something but latest release is 5.0.4
The text was updated successfully, but these errors were encountered: