Hi there,

On Sat, 31 Oct 2020, Tsutomu Oyamada wrote:

Scanning certain files will result in a memory error in clamd version 0.101.5.

That is rather an old version, released over a year ago.  There have
been some significant changes since then.  You should upgrade.

The platform is AIX.  This behavior does not occur in CVD version
25904, but does occur in CVD version 25973. (I don't know which
version came to happen.)

25904 was released on August 17th and 25973 on Oct 30th, almost 70
releases between the two.  Perhaps it might help if you could narrow
it down, so that just one or two signatures/changes are implicated.

File: com.ibm.tws.panels_9.2.0.201402121518.jar

Error: Can't Allocate Memory ERROR

Can you give me some advice on how to resolve this situation?

There were no problems scanning that file here, although it took a while:

8<----------------------------------------------------------------------
$ md5sum com.ibm.tws.panels_9.2.0.201402121518.jar bc14659c084333c99bfcc728ef6744bd com.ibm.tws.panels_9.2.0.201402121518.jar $ clamdscan com.ibm.tws.panels_9.2.0.201402121518.jar com.ibm.tws.panels_9.2.0.201402121518.jar: OK

----------- SCAN SUMMARY -----------
Infected files: 0
Time: 60.804 sec (1 m 0 s)
8<----------------------------------------------------------------------

The above scan was done using our dedicated clamd server, which is
running version 0.103-rc2 (with just a couple of small patches which
have no bearing on this issue).  The clamd server has 4GBytes of RAM:

8<----------------------------------------------------------------------
$ top -b -n1 | grep MiB
MiB Mem :   3827.9 total,    965.3 free,   1677.2 used,   1185.4 buff/cache
MiB Swap: 8192.0 total, 8037.0 free, 155.0 used. 1808.9 avail Mem 8<----------------------------------------------------------------------

As Mr. Fortescue says you need plenty of RAM for clamd.

Looking at the .jar file itself, it's an archive of three-quarters of
a megabyte, contains 235 files, and supports at least three different
architectures.  It seems to me there may be some room for improvement
in efficiency there.

--

73,
Ged.

_______________________________________________

clamav-users mailing list
[email protected]
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to