This article provides information about how Sophos Anti-Virus for Linux/Unix handles an out of memory condition in the temp folder (Default /tmp). When trying to open a compressed using the gzip format (including .tar.gz), if the TMP directory does not have enough space to expand the compressed file, it will report that the file is corrupt.
The following sections are covered:
Applies to the following Sophos products and versions
Sophos Anti-Virus for Linux
Sophos Anti-Virus for Unix
While the engine will not be able to scan the file, it will not impede the rest of the scan.
It is recommended to increase the size of the /tmp folder on the system. If this is not possible, it is possible to redirect the temp directory by setting the environment variable SAV_TMP to an alternate location.
If you’ve spotted an error or would like to provide feedback on this article, please use the section below to rate and comment on the article.
This is invaluable to us to ensure that we continually strive to give our customers the best information possible.