Mensaje archivado #591 de la Lista ecs-isp@2rosenthals.com

De: "Steven Levine" <ecs-isp@2rosenthals.com> Encabezados Completos
Mensaje no decodificado
Asunto: Re: [eCS-ISP] ClamAV - USE_MPOOL
Fecha: Tue, 17 Oct 2023 17:14:41 -0800
Para: "eCS ISP Mailing List" <ecs-isp@2rosenthals.com>

In <list-8113084@2rosenthals.com>, on 10/15/23
   at 05:45 PM, "Paul Smedley" <ecs-isp@2rosenthals.com> said:

Hi Paul,

Is there a reason you are not building with USE_MPOOL?  Looking at:

libclamav\mpool.c:637
void *mpool_malloc(struct MP *mp, size_t size)

and friends, the OS/2 code seems to be in place to support mpool using
DosAllocMem rather than mmap.  However, it looks like configure is missing
the code to allow OS/2 to enable mpool support.  Looking at

configure:22851
have_mempool="no"
if test "$enable_mempool" = "yes"; then

configure will not allow enable_mempool because it assumes that OS/2 is
going to use mmap to implement the pool.

My debug results so far imply that we are running out of memory because of
heap fragmentation.  The mpool logic should go a long way to avoiding
this.

The last freshclam test run ran out of memory at line 56725 of daily.idb.
Daily.ldb contains 245172 lines to be processed. tmp-daily.cld contains 25
files to be processed and  daily.ldb is file 15 of 25.  We are not even
close to the finish line with the current build.

BTW, when you get a moment, please commit your configure and build cmd
files to the repo.  They are a useful reference.

Thanks,

Steven

--
----------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  Warp/DIY/BlueLion etc.
www.scoug.com www.arcanoae.com www.warpcave.com
----------------------------------------------------------------------


Suscribirse: Todos, Compendio, Indice.
Desuscribirse
Correo al dueño de la Lista