Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scheduler in TcpIpConnectionManager not finished after instance.shutdown() called #9187

Closed
vloo opened this issue Oct 27, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@vloo
Copy link

commented Oct 27, 2016

scheduler in TcpIpConnectionManager not finished after instance.shutdown() called
private final ScheduledExecutorService scheduler = new ScheduledThreadPoolExecutor(4);

which causes problem in our spring boot environment - those threads run indefinitely and our aplication is not finished

how to reproduce with sample app:

  1. run 4 instances java -jar hazelcast-test-1.0-SNAPSHOT.jar
  2. every member is in clusetr
  3. 1st instace - watch threads in jvisualvm
  4. 2nd-4th kill them - (-9, no ctrl+c)
  5. start another 3 instances

repeat 4) and 5) until pool-2-thread-1, pool-2-thread-2, pool-2-thread-3 and pool-2-thread-4 are created

now hit ctrl + c in console of 1st instace, all threads are finished except pool-2-thread-1, pool-2-thread-2, pool-2-thread-3 and pool-2-thread-4
they are eventually finised too, but only in this simplified example (after 60 seconds)

sample: HzlTest.java in https://github.com/vloo/hazelcast-test repo

@jerrinot jerrinot added this to the 3.7.3 milestone Oct 27, 2016

@jerrinot

This comment has been minimized.

Copy link
Contributor

commented Oct 27, 2016

@vloo: thanks for this bug report. We'll fix this with the next patch release.

@jerrinot jerrinot self-assigned this Oct 27, 2016

pveentjer added a commit to pveentjer/hazelcast that referenced this issue Oct 30, 2016

TcpIpConnectionManager shutdown scheduler
The internal scheduler was not shutdown on stop. Fix hazelcast#9187

pveentjer added a commit to pveentjer/hazelcast that referenced this issue Oct 30, 2016

TcpIpConnectionManager shutdown scheduler
The internal scheduler was not shutdown on stop. Fix hazelcast#9187

pveentjer added a commit to pveentjer/hazelcast that referenced this issue Oct 31, 2016

TcpIpConnectionManager shutdown scheduler
The internal scheduler was not shutdown on stop. Fix hazelcast#9187

pveentjer added a commit to pveentjer/hazelcast that referenced this issue Oct 31, 2016

TcpIpConnectionManager shutdown scheduler
The internal scheduler was not shutdown on stop. Fix hazelcast#9187
@Petikoch

This comment has been minimized.

Copy link

commented Nov 7, 2016

We are suffering from this issues as well... @pveentjer any idea's about a release date for 3.7.3?

Best regards,
Peti

@jerrinot

This comment has been minimized.

Copy link
Contributor

commented Nov 7, 2016

@Petikoch: we are planning to release 3.7.3 in a few days. = this week if our internal testing is smooth.

emrahkocaman added a commit to emrahkocaman/hazelcast that referenced this issue Nov 25, 2016

TcpIpConnectionManager shutdown scheduler
The internal scheduler was not shutdown on stop. Fix hazelcast#9187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.