Merge lp:~soren/nova/eventlet-subprocess into lp:~hudson-openstack/nova/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Vish Ishaya | ||||
Approved revision: | 671 | ||||
Merged at revision: | 674 | ||||
Proposed branch: | lp:~soren/nova/eventlet-subprocess | ||||
Merge into: | lp:~hudson-openstack/nova/trunk | ||||
Diff against target: |
19 lines (+1/-1) 1 file modified
nova/utils.py (+1/-1) |
||||
To merge this branch: | bzr merge lp:~soren/nova/eventlet-subprocess | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vish Ishaya (community) | Approve | ||
Thierry Carrez (community) | Approve | ||
Jay Pipes (community) | Approve | ||
Review via email: mp+49698@code.launchpad.net |
Commit message
Use eventlet.
Description of the change
Use eventlet.
Eventlet's monkey patching causes the os.wait call in the standard
subprocess module to be non-blocking. This means that if it happens
to call self.wait on a Popen object that hasn't completely terminated
it'll be left as a zombie and its fd's are also leaked.
Oh, there's an eventlet side to this, too, so your eventlet will need patching.
The eventlet.
Patched packages are available in the trunk PPA for Lucid and Maverick or in Ubuntu proper for Natty. The details (and the patch) are here
https:/
Well, that was easy :)