How to increase the memory for ClamAV on deployments with PCC installed
search cancel

How to increase the memory for ClamAV on deployments with PCC installed

book

Article ID: 294222

calendar_today

Updated On:

Products

VMware Tanzu Gemfire

Issue/Introduction

Symptoms:
Operations Manager (Ops Manager) fails to deploy PCC (v1.5.2 or v1.6.1) with ClamAV (v1.4.39).

Environment


Cause

It has been found that ClamAV requires 1.5GB of RAM on the PCC servers to deploy and operate successfully.

Resolution

Modify the ClamAV.yml file to exclude the PCC servers from allocating only 1 GB of RAM and add a new section to increase ClamAV memory to 1.5 GB.
- exclude:
   jobs:
   - name: gemfire-server
     release: gemfire
   - name: gemfire-locator
     release: gemfire
 include:
   stemcell:
   - os: ubuntu-trusty
   - os: ubuntu-xenial
 jobs:
 - name: clamav
   release: clamav
 name: clamav
 properties:
   clamav:
     action: copy
     action_destination: <redacted>
     database_mirror: <redacted>
     memory_limit: 1073741824
     on_access: true
     scheduled: true
- include:
   jobs:
   - name: gemfire-server
     release: gemfire
   - name: gemfire-locator
     release: gemfire
 jobs:
 - name: clamav
   release: clamav
 name: clamav-pcc
 properties:
   clamav:
     action: copy
     action_destination: <redacted>
     database_mirror: <redacted>
     memory_limit: 1610612736
     on_access: true
     scheduled: true