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

Fighting with other Resources on the server #20

Closed
kcgaisford opened this issue Feb 28, 2020 · 1 comment
Closed

Fighting with other Resources on the server #20

kcgaisford opened this issue Feb 28, 2020 · 1 comment

Comments

@kcgaisford
Copy link

I set up my Moroz instance on a server that I already had. (Its a Foreman/Puppet Server) I didn't think it would really have any problems because moroz seems to be 'Santa' TCP listener.

But Moroz seems to be competing with Foreman for resources on the server, and it slowly escalates until the server is maxed out.

My current load is load average: 0.13, 0.32, 1.00, but when I woke up this morning the server was rocking 44.00 across the board. Had to kill a few services and restart them.

I know this is an environment issue, but is there any way to cap the resources that Moroz is trying to use?

@groob
Copy link
Owner

groob commented Mar 13, 2020

You can cap resources with systemd. Consult the systemd documentation for how to do that.

I'm wondering about the load issue, is there a resource leak maybe? All moroz is really doing is reading files from disk and serving them over HTTP, and that is not so expensive. Do you have a large fleet? How often does Santa check in?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants