1 (edited by sandeepetainement 2023-12-04 19:23:39)

Topic: Fatal: block_alloc(67108864): Out of memory

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  1.6.4 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Ubuntu 22.04.3 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Our main inbox is very big with around 750k emails as of now. When we login to Roundcube and click the main inbox shows "The list is empty." and backend Dovecot status shows following and attached error:

----
<346268><AV8ZSK0Laqd/AAAB>: Fatal: block_alloc(67108864): Out of memory
<346268><AV8ZSK0Laqd/AAAB>: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(backtrace_append+0x46) [0x7fc2>
<346268><AV8ZSK0Laqd/AAAB>: Fatal: master: service(imap): child 346268 returned error 83 (Out of memory (service >
----

Just for information we have already increased the size of "vsz_limit" to 4 GB (Please see attached in reply)

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Fatal: block_alloc(67108864): Out of memory

root@ir:/etc/dovecot# doveconf | grep vsz_limit
default_vsz_limit = 256 M
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 4 G
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B
  vsz_limit = 18446744073709551615 B