Jump to content

Limit Memory ClamAV Usage


Recommended Posts

I'm running ClamAV on Raspberry Pi 3B+ using OpenWrt with only 1GB memory. On ClamAV site there is a way to limit it by change the value of 

ConcurrentDatabaseReload

 But on my clamd.conf there is no ConcurrentDatabaseReload, do I have to write myself ?

Quote

root@OpenWrt:/etc/clamav# cat clamd.conf
LogFile  /tmp/clamd.log
LogFileMaxSize  1M
LogVerbose  no
ExtendedDetectionInfo  no
LogTime  no
OfficialDatabaseOnly  no
StreamMinPort  1024
StreamMaxPort  2048
MaxThreads  10
ReadTimeout  30
CommandReadTimeout  5
MaxDirectoryRecursion  15
FollowDirectorySymlinks  no
FollowFileSymlinks  no
SelfCheck  600
DetectPUA  yes
ScanPE  yes
DisableCertCheck  no
ScanELF  yes
AlertBrokenExecutables  no
ScanOLE2  yes
ScanPDF  yes
ScanSWF  yes
ScanMail  yes
ScanPartialMessages  no
ScanArchive  yes
TemporaryDirectory  /tmp
AlertEncrypted  yes
MaxFileSize  10M
User  nobody
ExitOnOOM  yes
DatabaseDirectory  /usr/share/clamav
TCPAddr 127.0.0.1
TCPSocket  3310
 

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...