Bug Report: Regression results in dangling ContainerBackgroundSessionProcessor threads #6747
Labels
Status: Open
Issue has been triaged by the front-line engineers and is being worked on verification
Type: Bug
Label issue as a bug defect
Brief Summary
Looks like #6637 introduced a regression.
ContainerBackgroundSessionProcessor
threads aren't getting removed when an application is undeployed.Looking at the code, I don't see any obvious issues, but thread dumps show that the threads are dangling.
This prevents application from unloading and creates more memory leaks, and prevents #6677 from working.
I will try to debug and see what I can find out, and submit a PR if I can.
But currently, I can't see any obvious cause of this.
Expected Outcome
ContainerBackgroundSessionProcessor
threads exit when application is unloadedCurrent Outcome
Dangling
ContainerBackgroundSessionProcessor
As you can see in the image below, there are more
ContainerBackgroundSessionProcessor
threads thanContainerBackgroundProcessor
threads, which is wrongReproducer
Any WAR application will show this behavior
Operating System
Any
JDK Version
Any
Payara Distribution
Payara Server Full Profile, Payara Server Web Profile
The text was updated successfully, but these errors were encountered: