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

Memory leak #88

Open
pinko-fowle opened this issue Nov 20, 2024 · 1 comment
Open

Memory leak #88

pinko-fowle opened this issue Nov 20, 2024 · 1 comment

Comments

@pinko-fowle
Copy link

pinko-fowle commented Nov 20, 2024

Hey there. First; thanks for this clamav-http service! Running it in our clamav container has greatly simplified deployment of clamav scanning.

We do see a slow & stead memory leak. clamav-http grew about ~0.5GB in a week. Shown below, the past one week, showing a steady climb until the container ran into it's memory limit and restarted:

Screenshot 2024-11-20 at 3 30 14 PM

Assorted notes:

  • We have very little real traffic to this server, other than an AWS load balancer health checking /v1alpha/healthz quite regularly.
  • We have clamav and clamav-http running in the same container, and have used ps to verify that it's the clamav-http process which grows over time.
@kuzaxak
Copy link

kuzaxak commented Dec 15, 2024

@pinko-fowle I found a few cases where channels weren't closed, so I proposed my changes here

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