amazon-sqs-java-messaging-lib icon indicating copy to clipboard operation
amazon-sqs-java-messaging-lib copied to clipboard

Fix for SQSSessionCallbackScheduler zombie threads

Open yeshodhan opened this issue 7 years ago • 3 comments

After checking for session.isRunning() and adding a timeout for callbackQueue.wait(), I was able to achieve the results as below:

I'm not sure if the timeout needs to be configured somewhere ?

screenshot 2017-11-26 12 41 56

Easiest way to reproduce the issue is to disconnect from internet and run the spring DefaultMessageListenerContainer.

yeshodhan avatar Nov 26 '17 20:11 yeshodhan

any news on this?

tamershahin avatar Feb 07 '18 17:02 tamershahin

can this be related to https://github.com/awslabs/amazon-sqs-java-messaging-lib/pull/108?

volkanto avatar May 19 '22 23:05 volkanto

@yeshodhan I took over this library and recently doing some clean-up. This PR LGTM, can you do a git pull and push another commit? And how to interpret the graph you posted?

ziyanli-amazon avatar Dec 09 '22 02:12 ziyanli-amazon