Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use init with registry since it forks #115

Merged
merged 1 commit into from
Nov 20, 2021
Merged

Conversation

swills
Copy link
Contributor

@swills swills commented Nov 20, 2021

Avoids many zombie processes left over

Description

Without this change, many zombie processes get left over in the registry container. Eventually these will run the system out of PIDs

Why is this needed

System will have issues if too many zombie processes are left over

Fixes: #

How Has This Been Tested?

Monitored number of processes via docker stats

How are existing users impacted? What migration steps/scripts do we need?

Bug fix

Checklist:

I have:

  • [N/A] updated the documentation and/or roadmap (if required)
  • [N/A] added unit or e2e tests
  • [N/A] provided instructions on how to upgrade

Avoids many zombie processes left over

Signed-off-by: Steve Wills <steve@mouf.net>
@mergify mergify bot merged commit 17a4b3f into tinkerbell:main Nov 20, 2021
mergify bot added a commit that referenced this pull request Dec 16, 2021
Prevents accidental resource exhaustion

Signed-off-by: Steve Wills <steve@mouf.net>

## Description

While looking at the issue in #115 I decided to add resource limits to avoid future accidental resource exhaustion. Not strictly required and perhaps the limits themselves can use tweaking, but it seems useful to add a safety.

## Why is this needed

See description

Fixes: #

## How Has This Been Tested?
In VM

## How are existing users impacted? What migration steps/scripts do we need?

Avoids potential issue

## Checklist:

I have:

- [N/A] updated the documentation and/or roadmap (if required)
- [N/A] added unit or e2e tests
- [N/A] provided instructions on how to upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Signal to Mergify to merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants