Skip to content

Fix hostd resource exhaustion in high load CI (#6998)#6999

Merged
hickeng merged 1 commit intovmware:releases/1.3.0from
hickeng:hostd-1.3.0-cherry
Dec 21, 2017
Merged

Fix hostd resource exhaustion in high load CI (#6998)#6999
hickeng merged 1 commit intovmware:releases/1.3.0from
hickeng:hostd-1.3.0-cherry

Conversation

@hickeng
Copy link
Contributor

@hickeng hickeng commented Dec 21, 2017

  • Fix leak of VCHs after test runs

The delete tests for vic-machine and vic-machine-service leaks VCHs.
For the service it's because the tests deploy VCHs directly that are not
cleaned up.
For vic-machine base it's because we render the VCH invalid by moving the
endpointVM in such a manner that the deletion fails without explicit
cleanup after.

This reverts commit 7796336 because it's
apparent that increasing the page size to this extent can cause hostd to
both hit its resource limits and drastically fragment its heap.

* Fix leak of VCHs after test runs

The delete tests for vic-machine and vic-machine-service leaks VCHs.
For the service it's because the tests deploy VCHs directly that are not
cleaned up.
For vic-machine base it's because we render the VCH invalid by moving the
endpointVM in such a manner that the deletion fails without explicit
cleanup after.

* Revert "Increase event page size to 1000 (vmware#6937)"

This reverts commit 7796336 because it's
apparent that increasing the page size to this extent can cause hostd to
both hit its resource limits and drastically fragment its heap.
Copy link
Contributor

@mhagen-vmware mhagen-vmware left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@hickeng hickeng merged commit e44bf49 into vmware:releases/1.3.0 Dec 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants