Dovecot - Cannot allocate memory

calamus

Member
Sep 30, 2011
17
0
51
cPanel Access Level
Root Administrator
Hi,
tonight the service lmtp stop working.
I try restart service, system reboot, force upgrade ... service still down

MAILLOG
Aug 4 09:50:24 srv08 dovecot: lmtp: Error: dovecot/lmtp: error while loading shared libraries: libdl.so.2: failed to map segment from shared object: Cannot allocate memory
Aug 4 09:50:24 srv08 dovecot: master: Error: service(lmtp): command startup failed, throttling for 2 secs
Aug 4 09:50:24 srv08 dovecot: lmtp: Fatal: master: service(lmtp): child 3029 returned error 127
Aug 4 09:50:24 srv08 dovecot: master: Warning: Killed with signal 15 (by pid=3033 uid=0 code=kill)
Aug 4 09:50:25 srv08 dovecot: master: Dovecot v2.2.25 (7be1766) starting up for lmtp, imap, pop3 (core dumps disabled)
Aug 4 09:50:25 srv08 dovecot: master: Error: service(pop3-login): command startup failed, throttling for 2 secs
Aug 4 09:50:25 srv08 dovecot: master: Error: service(imap-login): command startup failed, throttling for 2 secs

Thanks in advance
Piero
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
dovecot: lmtp: Error: dovecot/lmtp: error while loading shared libraries: libdl.so.2: failed to map segment from shared object: Cannot allocate memory
Hello,

Internal case CPANEL-7829 is open to address an issue where the vsz_limit configuration value for Dovecot is too low on 64-bit systems. I'll update this thread once a resolution associated with this case is published. In the meantime, the temporary workaround is to manually modify the following Dovecot configuration value to "512" via "WHM >> Service Configuration >> Mail Server Configuration":

Maximum Size of a Mail Process (MB)

Thank you.
 
  • Like
Reactions: eva2000

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,884
2,250
463
Hello,

The resolution associated with CPANEL-7829 is included with cPanel version 58.0.17:

Fixed case CPANEL-7829: Increase memory limits when converting to dovecot delivery on 64bit systems.

This version is currently published to the "Edge" and "Current" build tiers. You can review the full change log, information on updating cPanel/WHM, and information on the build/release process at:

58 Change Log - Change Logs - cPanel Documentation
How can I update cPanel & WHM?
Product Versions and the Release Process - cPanel Knowledge Base - cPanel Documentation

Thank you.
 
  • Like
Reactions: eva2000