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

MemoryLimit needs changing to: MemoryMax #363

Closed
alexellis opened this issue May 17, 2024 · 2 comments
Closed

MemoryLimit needs changing to: MemoryMax #363

alexellis opened this issue May 17, 2024 · 2 comments

Comments

@alexellis
Copy link
Member

Description

MemoryLimit needs changing to: MemoryMax as per this warning:

May 17 13:21:43 welcome-mole systemd[1]: /usr/lib/systemd/system/faasd.service:6: Unit uses MemoryLimit=; please use MemoryMax= instead. Support for MemoryLimit= will be removed soon.

See also: https://www.freedesktop.org/software/systemd/man/latest/systemd.resource-control.html#MemoryMax=bytes

There is another unit for faasd-provider too.

@withhaotian
Copy link

Same problem.

@alexellis
Copy link
Member Author

Hi @withhaotian this should only be a warning, not an error, but feel free to do the update I suggested in the original issue.

We will update the systemd unit file separately.

Also, how are you using faasd?

Alex

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