clamav在htop中显示两次,占用大量内存,并且服务有错误,但正在运行

当显示clamav的状态时,我看到以下内容

clamav-daemon.service - Clam AntiVirus userspace daemon
   Loaded: loaded (/lib/systemd/system/clamav-daemon.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/clamav-daemon.service.d
           └─extend.conf
   Active: active (running) since Fri 2020-02-07 12:03:15 UTC; 1s ago
     Docs: man:clamd(8)
           man:clamd.conf(5)
           https://www.clamav.net/documents/
  Process: 3483 ExecStartPre=/bin/chown clamav /run/clamav (code=exited, status=0/SUCCESS)
  Process: 3482 ExecStartPre=/bin/mkdir /run/clamav (code=exited, status=1/FAILURE)
 Main PID: 3484 (clamd)
    Tasks: 1 (limit: 614)
   CGroup: /system.slice/clamav-daemon.service
           └─3484 /usr/sbin/clamd --foreground=true

Feb 07 12:03:15 vps48064754.local systemd[1]: Starting Clam AntiVirus userspace daemon...
Feb 07 12:03:15 vps48064754.local systemd[1]: Started Clam AntiVirus userspace daemon.

How can I check the reason for this error: process 3482 ExecStartPre=/bin/mkdir /run/clamav (code=exited, status=1/FAILURE)? As you can see, it's still running so I'm not sure what's going on.

另外,在运行htop时,我看到clamav两次,并且需要800多个内存:

3532 clamav     20   0 1113M  866M 16960 S  0.0 42.3  0:00.00 /usr/sbin/clamd --foreground=true 

3484 clamav     20   0 1113M  866M 16960 S  0.0 42.3  0:15.20 /usr/sbin/clamd --foreground=true

3484的时间是0:15,而3532的时间是0:00。我读到,这就是clamav的工作方式,但是每小时都会醒来的某种工作呢?魔术会变成睡眠吗?

谢谢

评论