Skip to content
Snippets Groups Projects
Commit 1957b788 authored by Matevz Erzen's avatar Matevz Erzen
Browse files

Resolved ClamAV restart timeouts

parent 21a2ec4e
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ $ docker logs -ft evidence-collector ...@@ -57,7 +57,7 @@ $ docker logs -ft evidence-collector
### ClamAV (re)start failed/timed out ### ClamAV (re)start failed/timed out
Try re-running `make provision` one more time. If this doesn't help, comment out the last task in `/ansible/clamav/tasks/install-clamav.yml` & try restarting ClamAV manually. ClamAV restart can time-out due to slow disk read/write speeds (if using HDD) and lack of memory. To resolve this, provide the machine with more RAM. Current implementation has it set to `1024` MB (which should suffice for the majoirty of host machine configurations). If you're using SSD, you can lower it to `512` MB.
### Vagrant issue: ### Vagrant issue:
......
...@@ -13,14 +13,14 @@ servers=[ ...@@ -13,14 +13,14 @@ servers=[
:hostname => "agent1", :hostname => "agent1",
:ip => "192.168.33.11", :ip => "192.168.33.11",
:box => "centos/8", :box => "centos/8",
:ram => 512, :ram => 1024,
:cpu => 1 :cpu => 1
}, },
{ {
:hostname => "agent2", :hostname => "agent2",
:ip => "192.168.33.12", :ip => "192.168.33.12",
:box => "centos/8", :box => "centos/8",
:ram => 512, :ram => 1024,
:cpu => 1 :cpu => 1
}, },
{ {
......
...@@ -13,14 +13,14 @@ servers=[ ...@@ -13,14 +13,14 @@ servers=[
:hostname => "agent1", :hostname => "agent1",
:ip => "192.168.33.11", :ip => "192.168.33.11",
:box => "centos/8", :box => "centos/8",
:ram => 512, :ram => 1024,
:cpu => 1 :cpu => 1
}, },
{ {
:hostname => "agent2", :hostname => "agent2",
:ip => "192.168.33.12", :ip => "192.168.33.12",
:box => "centos/8", :box => "centos/8",
:ram => 512, :ram => 1024,
:cpu => 1 :cpu => 1
} }
] ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment