Results 1 to 2 of 2

Thread: ClamAV causes server to crash

  1. #1
    Join Date
    Apr 2024
    Beans
    1

    ClamAV causes server to crash

    Hi

    I have an Ubuntu server version 22.04.4 running on AWS as a small instance - 1 cpu and 2gig of ram.

    When I run clamscan against a file from the terminal with

    Code:
    /usr/bin/clamscan testfile.txt
    the cpu spikes to 100%, the memory is gobbled up and the server locks up entirely. I have to force reset it.

    I have attached an strace but I can't see any obvious issues in the clam logs or syslog so i'm at a loss as to what to try next.

    clamavtrace.txt

  2. #2
    Join Date
    May 2024
    Beans
    Hidden!

    Re: ClamAV causes server to crash

    You could use strace to attach to the clamav process and see what system calls its performing when misbehaving.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •