[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot
Subject:    =?US-ASCII?Q?Re=3A_replicator=3A_Panic=3A_data_stack=3A_Out_o?= =?US-ASCII?Q?f_memory_when_allocatin
From:       Aki Tuomi <aki.tuomi () open-xchange ! com>
Date:       2023-01-06 10:24:55
Message-ID: 3DE950E6-AA19-4B32-82CE-7BD34657091F () open-xchange ! com
[Download RAW message or body]



On January 6, 2023 12:21:45 PM GMT+02:00, justina colmena ~biz <justina@colmena.biz> wrote:
>On Thursday, January 5, 2023 10:53:13 PM AKST Aki Tuomi wrote:
>> On January 6, 2023 3:56:39 AM GMT+02:00, Gerben Wierda 
><gerben.wierda@rna.nl> wrote:
>> >Jan 06 00:50:31 replicator: Panic: data stack: Out of memory when
>> >allocating 268435496 bytes Jan 06 00:50:32 replicator: Fatal: master:
>>  ...
>> service replicator {
>>   vsz_limit = 2G
>> }
>> 
>> because replicator might have to use more memory, especially for larger
>> indexes.
>> 
>> Aki
>That's probably as good a short-term fix as any, but a longer term fix will 
>probably require effectively "going on a diet," losing weight, cracking down on 
>memory leaks, matching up every malloc() and free() and getting leaner and 
>meaner with the memory allocation and Big-O time & space complexity of 
>algorithms.

mmaps are counted against vsz_limit so if you got index+cache over 256M you will run against the limit. 

Aki
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic