Issue 339 in jss7: The ExecutorService in CpuThread class is never shut down

0 views
Skip to first unread message

js...@googlecode.com

unread,
May 27, 2015, 5:09:16 AM5/27/15
to mobicents-all-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-SS7 Roadmap-Fix

New issue 339 by rics...@gmail.com: The ExecutorService in CpuThread class
is never shut down
https://code.google.com/p/jss7/issues/detail?id=339

What steps will reproduce the problem?
1. Start the scheduler
2. Stop the scheduler

What is the expected output? What do you see instead?
The ExecutorService used in CpuThread is exepected to shut down and release
the allocated threads (2 per cpu/core) - but it doesn't. This is a leak
which also prevents the VM from shutting down clean.

What version of the product are you using? On what operating system?
2.1.0-FINAL

Please provide any additional information below.
Suggested fix is to shut down the executor service in shutdown()-method.
(Some re-factoring in place if you would be able to "re-start the thread"
using activate())

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

js...@googlecode.com

unread,
May 27, 2015, 6:41:31 AM5/27/15
to mobicents-all-...@googlegroups.com

Comment #1 on issue 339 by rics...@gmail.com: The ExecutorService in
CpuThread class is never shut down
https://code.google.com/p/jss7/issues/detail?id=339

Perhaps I wasn't clear enough regarding "scheduler". I'm talking about the
class org.mobicents.protocols.ss7.scheduler.Scheduler in POM
org.mobicents.protocols.ss7.scheduler:scheduler
Reply all
Reply to author
Forward
0 new messages