Sophos Anti-Virus for Linux: Performance issues running Java application servers

  • Article ID: 118988
  • Rating:
  • 1 customers rated this article 4.0 out of 6
  • Updated: 01 Jun 2015


When running Java Application servers such as TomCat or Jboss you may encounter latency or performance issues.  The application service may hang when starting or fail to start.

First seen in
Sophos Anti-Virus for Linux 9.1.2
Sophos Anti-Virus for Linux 7.6.0

Operating systems


Performance issues with Java applications are often caused by the scanning of archive files.  Typically .JAR archives contain many java class files.  The .JAR file cannot be accessed until the On-Access scanner has unpacked and scanned the complete contents.

What To Do

Scanning inside archives is disabled by default and not recommended for on-access scanning.  The feature can be disabled via Sophos Enterprise Console (managed installations) or by running:

/opt/sophos-av/bin/savconfig set ScanArchives false
/etc/init.d/sav-protect restart

It is not usually necessary to perform on-access scans of archive files, because files within the archive will be scanned the moment they are extracted or executed.

Alternatively, you may be able to improve performance by excluding common .JAR files associated with the JRE or your application.

If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent