[GH-ISSUE #1879] IMAP server issues #1472

Closed
opened 2026-02-27 11:17:17 +03:00 by kerem · 5 comments
Owner

Originally created by @Shae-ai on GitHub (Apr 23, 2020).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1879

Impacted versions

  • Modoboa: 1.5.3
  • installer used: Not sure
  • Webserver: NA

Steps to reproduce

It's intermittent.
Accessing IMAP via an email client and/or Modoboa's webmail interface.

Current behavior

Without any particular pattern, we receive IMAP server errors from both email clients , Mail, Outlook and Modoboa's own webmail client.
We get: Socket error: EOF from the webmail interface.
Email clients report generic server errors with IMAP.
After waiting minutes, it usually comes back by itself, but then goes "offline" again.

Originally created by @Shae-ai on GitHub (Apr 23, 2020). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1879 # Impacted versions * Modoboa: 1.5.3 * installer used: Not sure * Webserver: NA # Steps to reproduce It's intermittent. Accessing IMAP via an email client and/or Modoboa's webmail interface. # Current behavior Without any particular pattern, we receive IMAP server errors from both email clients , Mail, Outlook and Modoboa's own webmail client. We get: Socket error: EOF from the webmail interface. Email clients report generic server errors with IMAP. After waiting minutes, it usually comes back by itself, but then goes "offline" again.
kerem closed this issue 2026-02-27 11:17:17 +03:00
Author
Owner

@tonioo commented on GitHub (Apr 24, 2020):

@anthrophitech Please check server logs, you'll have more information about the issue.

<!-- gh-comment-id:618922010 --> @tonioo commented on GitHub (Apr 24, 2020): @anthrophitech Please check server logs, you'll have more information about the issue.
Author
Owner

@Shae-ai commented on GitHub (Apr 28, 2020):

Thanks Antoine, but when viewing Logs in web interface, there is nothing of help.

Are there logs I can view via SSH that can shed some light on the problem? Where do I look?

Thank-you for your help.

From: Antoine Nguyen notifications@github.com
Sent: Friday, 24 April 2020 20:04
To: modoboa/modoboa modoboa@noreply.github.com
Cc: anthrophitech tech@anthrophi.com; Mention mention@noreply.github.com
Subject: Re: [modoboa/modoboa] IMAP server issues (#1879)

@anthrophitech https://github.com/anthrophitech Please check server logs, you'll have more information about the issue.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/modoboa/modoboa/issues/1879#issuecomment-618922010 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APJVYJOFVRPIZASBLIGAM33ROFP2HANCNFSM4MOXGJ4Q . https://github.com/notifications/beacon/APJVYJPBR7BWV3VMXRCKDPLROFP2HA5CNFSM4MOXGJ42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOETSAAGQ.gif

--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

<!-- gh-comment-id:620449685 --> @Shae-ai commented on GitHub (Apr 28, 2020): Thanks Antoine, but when viewing Logs in web interface, there is nothing of help. Are there logs I can view via SSH that can shed some light on the problem? Where do I look? Thank-you for your help. From: Antoine Nguyen <notifications@github.com> Sent: Friday, 24 April 2020 20:04 To: modoboa/modoboa <modoboa@noreply.github.com> Cc: anthrophitech <tech@anthrophi.com>; Mention <mention@noreply.github.com> Subject: Re: [modoboa/modoboa] IMAP server issues (#1879) @anthrophitech <https://github.com/anthrophitech> Please check server logs, you'll have more information about the issue. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <https://github.com/modoboa/modoboa/issues/1879#issuecomment-618922010> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/APJVYJOFVRPIZASBLIGAM33ROFP2HANCNFSM4MOXGJ4Q> . <https://github.com/notifications/beacon/APJVYJPBR7BWV3VMXRCKDPLROFP2HA5CNFSM4MOXGJ42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOETSAAGQ.gif> -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Author
Owner

@Shae-ai commented on GitHub (Apr 28, 2020):

I have found the following:

Apr 28 02:13:16 ip-172-31-37-255 dovecot: imap(): Fatal: pool_system_realloc(2097152): Out of memory

Apr 28 02:13:16 ip-172-31-37-255 dovecot: imap(): Fatal: master: service(imap): child 9974 returned error 83 (Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it) - set DEBUG_OUTOFMEM=1 environment to get core dump)

Apr 28 02:13:17 ip-172-31-37-255 dovecot: imap(): Fatal: pool_system_realloc(2097152): Out of memory

Apr 28 02:13:17 ip-172-31-37-255 dovecot: imap(): Fatal: master: service(imap): child 9989 returned error 83 (Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it) - set DEBUG_OUTOFMEM=1 environment to get core dump)

Apr 28 02:13:20 ip-172-31-37-255 dovecot: imap(): Fatal: pool_system_realloc(2097152): Out of memory

Apr 28 02:13:20 ip-172-31-37-255 dovecot: imap(): Fatal: master: service(imap): child 10011 returned error 83 (Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it) - set DEBUG_OUTOFMEM=1 environment to get core dump)

The machine itself has not run out of memory at any point according to monitoring though.

From: Antoine Nguyen notifications@github.com
Sent: Friday, 24 April 2020 20:04
To: modoboa/modoboa modoboa@noreply.github.com
Cc: anthrophitech tech@anthrophi.com; Mention mention@noreply.github.com
Subject: Re: [modoboa/modoboa] IMAP server issues (#1879)

@anthrophitech https://github.com/anthrophitech Please check server logs, you'll have more information about the issue.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/modoboa/modoboa/issues/1879#issuecomment-618922010 , or unsubscribe https://github.com/notifications/unsubscribe-auth/APJVYJOFVRPIZASBLIGAM33ROFP2HANCNFSM4MOXGJ4Q . https://github.com/notifications/beacon/APJVYJPBR7BWV3VMXRCKDPLROFP2HA5CNFSM4MOXGJ42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOETSAAGQ.gif

--
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

<!-- gh-comment-id:620451062 --> @Shae-ai commented on GitHub (Apr 28, 2020): I have found the following: Apr 28 02:13:16 ip-172-31-37-255 dovecot: imap(): Fatal: pool_system_realloc(2097152): Out of memory Apr 28 02:13:16 ip-172-31-37-255 dovecot: imap(): Fatal: master: service(imap): child 9974 returned error 83 (Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it) - set DEBUG_OUTOFMEM=1 environment to get core dump) Apr 28 02:13:17 ip-172-31-37-255 dovecot: imap(): Fatal: pool_system_realloc(2097152): Out of memory Apr 28 02:13:17 ip-172-31-37-255 dovecot: imap(): Fatal: master: service(imap): child 9989 returned error 83 (Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it) - set DEBUG_OUTOFMEM=1 environment to get core dump) Apr 28 02:13:20 ip-172-31-37-255 dovecot: imap(): Fatal: pool_system_realloc(2097152): Out of memory Apr 28 02:13:20 ip-172-31-37-255 dovecot: imap(): Fatal: master: service(imap): child 10011 returned error 83 (Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it) - set DEBUG_OUTOFMEM=1 environment to get core dump) The machine itself has not run out of memory at any point according to monitoring though. From: Antoine Nguyen <notifications@github.com> Sent: Friday, 24 April 2020 20:04 To: modoboa/modoboa <modoboa@noreply.github.com> Cc: anthrophitech <tech@anthrophi.com>; Mention <mention@noreply.github.com> Subject: Re: [modoboa/modoboa] IMAP server issues (#1879) @anthrophitech <https://github.com/anthrophitech> Please check server logs, you'll have more information about the issue. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <https://github.com/modoboa/modoboa/issues/1879#issuecomment-618922010> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/APJVYJOFVRPIZASBLIGAM33ROFP2HANCNFSM4MOXGJ4Q> . <https://github.com/notifications/beacon/APJVYJPBR7BWV3VMXRCKDPLROFP2HA5CNFSM4MOXGJ42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOETSAAGQ.gif> -- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Author
Owner

@MrGeneration commented on GitHub (Apr 28, 2020):

You can adjust your dovecot configuration to have a higher vsz_limit as stated by your error message:

Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it

I've done the same within my installation. Personally I don't see this as a modoboa bug directly, as this setting highly depends on your needs and 256MB might be perfectly fine for other users.

<!-- gh-comment-id:620453424 --> @MrGeneration commented on GitHub (Apr 28, 2020): You can adjust your dovecot configuration to have a higher vsz_limit as stated by your error message: `Out of memory (service imap { vsz_limit=256 MB }, you may need to increase it` I've done the same within my installation. Personally I don't see this as a modoboa bug directly, as this setting highly depends on your needs and 256MB might be perfectly fine for other users.
Author
Owner

@tonioo commented on GitHub (Apr 30, 2020):

I do agree with @MrGeneration. Thanks for your reply anyway. I close this issue.

<!-- gh-comment-id:621717961 --> @tonioo commented on GitHub (Apr 30, 2020): I do agree with @MrGeneration. Thanks for your reply anyway. I close this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1472
No description provided.