Re: replicator: Panic: data stack: Out of memory when allocating 268435496 bytes
Aki Tuomi
aki.tuomi at open-xchange.com
Fri Jan 6 07:53:13 UTC 2023
On January 6, 2023 3:56:39 AM GMT+02:00, Gerben Wierda <gerben.wierda at rna.nl> wrote:
>One step further in my quest to create a replacement mail server.
>
>I now have my old mail server (2.3.19.1, macOS + MacPorts) and my new (2.3.20, Alpine Linux, Docker, apk package). When I turn on replication it works, but, after a while I see:
>
>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): child 133 killed with signal 6 (core dumped)
>Jan 06 00:50:32 lmtp(pid 195 user sysbh): Warning: replication(sysbh): Sync failure:
>Jan 06 00:50:32 lmtp(pid 195 user sysbh): Warning: replication(sysbh): Remote sent invalid input: -
>
>I've removed synchronous operation for now (found a message on the net suggesting that) but is this known and what does it mean?
>
>Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>)
>R&A IT Strategy <https://ea.rna.nl/> (main site)
>Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
>Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>
>
Dovecot default memory limit is 256M. You should probably set
service replicator {
vsz_limit = 2G
}
because replicator might have to use more memory, especially for larger indexes.
Aki
More information about the dovecot
mailing list