add register cleanup utility to cli

Bug #754318 reported by Kapil Thangavelu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Confirmed
Wishlist
Unassigned

Bug Description

This bug is mostly relevant to the unit test runner, when running test loops, and has already been worked around.

To enable automatic cleanup of zookeeper clients. Some sort of global registry of cleanups in ensemble/control/command .. executed by the ensemble/command.Commander class on shutdown. and a common utility function for registering a client with it in control/utils.

Changed in ensemble:
milestone: none → budapest
importance: Undecided → Low
Revision history for this message
Jim Baker (jimbaker) wrote :

This problem impacted trunk as of r193 due to the lack of cleanup exhausting connections. As a temporary measure, r194 changed the ZK config such that maxClientCnxns=0 (unlimited connections). In the future, we can test the effectiveness of a fix to this bug by reducing the max limit to a small number (presumably close to the parallelism of our tests, which currently is 1).

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 754318] Re: add register cleanup utility to cli

Excerpts from Jim Baker's message of Fri Apr 08 18:50:19 UTC 2011:
> This problem impacted trunk as of r193 due to the lack of cleanup
> exhausting connections. As a temporary measure, r194 changed the ZK
> config such that maxClientCnxns=0 (unlimited connections). In the
> future, we can test the effectiveness of a fix to this bug by reducing
> the max limit to a small number (presumably close to the parallelism of
> our tests, which currently is 1).
>

Its a bit more than one, some tests do parallel connections, but point taken.

Changed in ensemble:
assignee: nobody → Kapil Thangavelu (hazmat)
Revision history for this message
Jim Baker (jimbaker) wrote :

Indeed that was my expectation on a small number :)

Changed in ensemble:
assignee: Kapil Thangavelu (hazmat) → nobody
Changed in ensemble:
milestone: budapest → dublin
Changed in ensemble:
milestone: dublin → none
Changed in juju:
importance: Low → Wishlist
status: New → Confirmed
description: updated
Changed in juju:
milestone: none → 0.8
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.