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 


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


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
TCPSocket  3310


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...