[ https://issues.apache.org/jira/browse/GEODE-9040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17302097#comment-17302097 ]
ASF subversion and git services commented on GEODE-9040: -------------------------------------------------------- Commit 46270d29384937a4d31548af221f5753201cf987 in geode's branch refs/heads/feature/GEODE-9040 from Barry Oglesby [ https://gitbox.apache.org/repos/asf?p=geode.git;h=46270d2 ] GEODE-9040: Shutdown ExecutorService when the SingleThreadColocationLogger is stopped > The SingleThreadColocationLogger executorService is not shutdown when the > server is stopped > ------------------------------------------------------------------------------------------- > > Key: GEODE-9040 > URL: https://issues.apache.org/jira/browse/GEODE-9040 > Project: Geode > Issue Type: Bug > Components: logging > Reporter: Barrett Oglesby > Assignee: Barrett Oglesby > Priority: Major > Labels: pull-request-available > > When a server is shutdown, its JVM remains alive because the ExecutorService > created by the SingleThreadColocationLogger is not terminated nor is its > thread a daemon: > {noformat} > "ColocationLogger for customer" #57 prio=5 os_prio=31 tid=0x00007fb39d4e4000 > nid=0xb203 waiting on condition [0x000070000dc58000] > java.lang.Thread.State: WAITING (parking) > at sun.misc.Unsafe.park(Native Method) > - parking to wait for <0x0000000785268818> (a > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) > at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) > at > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) > at > java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) > at > java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > {noformat} > The SingleThreadColocationLogger only gets created when there are missing > co-located regions. > We can either terminate the ExecutorService or make its thread a daemon or > both. -- This message was sent by Atlassian Jira (v8.3.4#803005)