zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laxman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1140) server shutdown is not stopping threads
Date Mon, 01 Aug 2011 14:52:09 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13073561#comment-13073561
] 

Laxman commented on ZOOKEEPER-1140:
-----------------------------------

Reposting the comment as I'm not able to edit my previous comment.

Thanks for the clarifications Flavio.
I agree with your explanation in #1 and #2.

{quote}
shutdown() should have no effect if the zookeeper server hasn't started. Are you concerned
that we might end up creating RO zookeeper servers and using them unnecessarily?
{quote}

Yes, while debugging the flow I've noticed that many servers are getting spawned continuously.

> server shutdown is not stopping threads
> ---------------------------------------
>
>                 Key: ZOOKEEPER-1140
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1140
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server, tests
>    Affects Versions: 3.4.0
>            Reporter: Patrick Hunt
>            Priority: Blocker
>             Fix For: 3.4.0
>
>
> Near the end of QuorumZxidSyncTest there are tons of threads running - 115 "ProcessThread"
threads, similar numbers of SessionTracker.
> Also I see ~100 ReadOnlyRequestProcessor - why is this running as a separate thread?
(henry/flavio?)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message