Clamd is using more memory than is installed

  • Posted on January 15, 2015
  • romeuwbAsked by romeuwb

my server is stopping completely and with the following error which are resolved when it restarts:

Out of memory: kill process 15219 (clamd) score 121 ou sacrifice child 
killed process (clamd) total-vm 440996kb, anon-rss:0KB file-rss:0kb

do not understand what the error is what can be done to solve the problem It has been suggested procedure: You may be able to limit the memory usage by editing the script in /etc/init.d/ ClamAV and add ulimit -m amountofram, or upgrade the droplet (or add a swap file) to address this most have not found ClamAV within /etc/init.d only the clamav-daemon and clamav-freshclam

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This question was answered by @ryanpq:

I believe the suggestion you received would be referring to the clamav-daemon file in /etc/init.d The other suggestions you mentioned would also help with this issue.

View the original comment