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

Join the conversation

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

Guest
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.

Loading...
 Share

×
×
  • Create New...