Skip to first unread message


Feb 5, 2021, 3:30:38 AM2/5/21
to membrane-monitor

Hi Guys,

com.predic8.membrane.core.interceptor.balancer; SessionCleanupThread

Looks this thread runs more time and I could see close to 1000 individual threads on WAITING state on this class.
Whenever Balancer constructor is called, this class kicks in and it runs the clean up process with few wait times, so when does this will stop.

If  i want to alter the waiting time , can i use any property to set it.

Sessions which are more than an hour are eligible for clearing, can i set it to some minutes.

Please share your thoughts


Apr 25, 2021, 11:58:40 PM4/25/21
Guys do I have any update.

Much needed solution.

You received this message because you are subscribed to the Google Groups "membrane-monitor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Tobias Polley

May 3, 2021, 12:18:59 PM5/3/21
to membrane-monitor
Hi bhaskaran,

spawning a SessionCleanupThread could be avoided by converting Balancer.clusters from a Hashtable into a Cache (from the guava library, configured with the timeout).

Pull requests are welcome.

Best, Tobias
Reply all
Reply to author
0 new messages