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.2Sophos Anti-Virus for Linux 7.6.0
Operating systems Linux
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.
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.
Every comment submitted here is read (by a human) but we do not reply to specific technical questions. If you need technical support please post a question to our community. Alternatively for licensed products open a support ticket.