-
Notifications
You must be signed in to change notification settings - Fork 31
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
clamd process memory balloons on first loading, causes out-of-memory hangs #63
Comments
IMO you need more memory. What was in minimum spec some years ago is out of date. To wit: I think it's normal and there is nothing that can be done about it - I'm observing similar. |
@AndrewSav With the new |
@AndrewSav see my comments in PR #64 - I can now see my spam dashboard again. In the recent past, the rspamd page would often hang trying to render, and was very sluggish when it did render. |
Ah alright that sounds good. |
Can you approve the PR and I'll go ahead and merge it then? @AndrewSav |
@ksylvan at the first opportunity! |
@AndrewSav I merged the commit and closed this issue. Without setting CLAMD_MEORY_FIX, it was a no-op for existing installs, so basically there's zero risk of screwing up existing installations. And I ran it over the last few days on two production domains I have. |
Classification
Reproducibility
Docker information
Description
The clamd process uses up so much memory on loading that it brings the system to a halt.
This is a known issue.
See https://betatim.github.io/posts/clamav-memory-usage/ for a possible workaround.
Steps to reproduce
My VPS has 2GB of RAM.
Expected results
Actual results
Debugging information
Configuration (docker-compose.yml, traefik.toml...etc)
The text was updated successfully, but these errors were encountered: