From: "Steven Levine" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTP id 11203714 for ecs-isp@2rosenthals.com; Sat, 02 Nov 2024 12:09:50 -0400 Received: from secmgr-va.2rosenthals.com ([50.73.8.217]:41524 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.97.1) (envelope-from ) id 1t7Gh2-000000006SI-1uf3 for ecs-isp@2rosenthals.com; Sat, 02 Nov 2024 12:09:40 -0400 Received: from mta-102b.earthlink-vadesecure.net ([51.81.61.67]:56509 helo=mta-102a.earthlink-vadesecure.net) by mail2.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.97.1) (envelope-from ) id 1t7Ggs-000000003CL-0b5I for ecs-isp@2rosenthals.com; Sat, 02 Nov 2024 12:09:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; bh=iNRg3CoFatcp+gQkQS1cuo5gyDKnOpqRwBIlzu 1UFy0=; c=relaxed/relaxed; d=earthlink.net; h=from:reply-to:subject: date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to: references:list-id:list-help:list-unsubscribe:list-unsubscribe-post: list-subscribe:list-post:list-owner:list-archive; q=dns/txt; s=dk12062016; t=1730563769; x=1731168569; b=ZZ2SpX32sqeiV3hkVjozEt5RyPb qTK2O5Y22XeLCMAlbpDinIBXrj4hMYng5yDOZnhf1o797+DFWRlCbdAziVzMnBqXbJu8nRg y8hia4oZSU2wD9/HwE0tI+6fkq/pcdpo8QCXOSI1Xg/crwDemrWryzWT2VTvsrHSShKf915 dxeshCUD3sFgQsj4199cqJER9YTAr/Mxtd1jhePeiNhKjwBgeBtxvueYSf3BH4H7Ca0zbYw ZM1zJasXhmqwJT9oHoJ3jgFAbBv4ZEe22cb6uwtdp2hOd1qJqohx1/sb1CIg7lpgLYp+Dri qpf10jj4Q3CsPZc6cu3tr4MgAAMlVcQ== Received: from slamain ([172.58.117.14]) by vsel1nmtao02p.internal.vadesecure.com with ngmta id c8afed84-180432944ba28e08; Sat, 02 Nov 2024 16:09:29 +0000 Message-ID: <67264757.3.mr2ice.fgrirsq@earthlink.net> Date: Sat, 02 Nov 2024 08:37:59 -0700 To: "eCS ISP Mailing List" In-Reply-To: Subject: Re: [eCS-ISP] clamscan issue - directories with a lot of files Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v3.00.11.24/60 In , on 11/01/24 at 12:05 PM, "Massimo S." said: HI Massimo, >>> damn, i just deleted a debug.txt output for mistake.. :-( Oops. >>> anyway it was a 4GB file, i don't have it in the bkups, >>> maybe ZIP is not able to add a so large file Depends on the version of zip. >>> and i guess that the issue of "Can't read file ERROR" >>> is not related to a directory with a lot of files inside >>> since it appears allmost the times in "big dirs", but >>> it may happens that clamscan keep on working again in the same dir >>> e.g. in this case: >>> X:/weasel/MailRoot/mydomain.com/myemail/OLAYI6.MSG: Can't read file E= RROR >>> X:/weasel/MailRoot/mydomain.com/myemail/OLAZFS.MSG: Can't read file E= RROR >>> X:/weasel/MailRoot/mydomain.com/myemail/OLB25S.MSG: Can't read file E= RROR >>> X:/weasel/MailRoot/mydomain.com/myemail/OLB3TA.MSG: Can't read file E= RROR >>> X:/weasel/MailRoot/mydomain.com/myemail/OLB5K9.MSG: Can't read file E= RROR >> i'm able to reproduce the debug output >> uncompressed it's 5,6GB..=A0 doh=A0 :-) >> compressed is 2,6GB For a file this large, I recommed you use 7z. >> i can put it on an ftp >> let me know Not yet. I busy with some other projects. >when it show the errors i see a lot of these in the output on the screen= : >LibClamAV Error: fmap_readpage: pread error: Not enough memory That message pretty much explains itself. >the VM has 4GB ram assigned (i know /2 see only about 3,3GB) and >vaddresslimit is 3072 That's as good as it's going to get. Clamscan is a memory hog. There are two issues - overall memory usage an= d fragmentation. I don't seem to have a copy of your clamscan command line. I suspect you are going have to break the clamscan run into smaller chunk= s to avoid the memory issues. Steven -- ---------------------------------------------------------------------- "Steven Levine" Warp/DIY/BlueLion etc. www.scoug.com www.arcanoae.com www.warpcave.com ----------------------------------------------------------------------