SOLVED: Re: Dovecot does not start on MacOS 12.01, and now 13.2.1 - RLIMIT_DATA

James Brown jlbrown at bordo.com.au
Fri Feb 17 12:28:40 UTC 2023


Sorry, replying to an old thread found on mail-archive.com <http://mail-archive.com/>, so it’s not threaded email.

https://www.mail-archive.com/dovecot@dovecot.org/msg84776.html


I have just installed Dovecot onto Mac Studio running Ventura (macOS 13.2.1) and get the same error with Dovecot 2.3.20:

service(log): Fatal: setrlimit(RLIMIT_DATA, 268435456): Invalid argument

Adding the ’service log’ stanza to 10-master.conf fixed the issue.

Is this still the correct way to handle it?

If so it would be great to have it documented somewhere. Just lucky I found the above mail thread.

Thanks,

James.



Hi!

That solution is bit overly broad way to solve this, I would instead recommend
service log {
  vsz_limit = 0
}

so that only service log is affected.

Aki

> On 31/10/2021 20:36 Don Feliciano <don.felici... at icloud.com> wrote:
> 
> 
> 
> A kind person who isn’t on the mailing list share the solution to this with 
> me:
> 
> default_vsz_limit = 0
> 
> 
> > On Oct 28, 2021, at 12:12 PM, Don Feliciano <don.felici... at icloud.com> 
> > wrote:
> > 
> >
> > Warning: fd limit (ulimit -n) is lower than required under max. load (256 < 
> > 1000), because of default_client_limit
> > Oct 28 12:08:48 service(log): Fatal: setrlimit(RLIMIT_DATA, 268435456): 
> > Invalid argument
> > 
> > 
> > > On Oct 27, 2021, at 11:08 AM, Don Feliciano <don.felici... at icloud.com> 
> > > wrote:
> > > 
> > > I've been happily running Dovecot on my Mac for many years (installed via 
> > > Homebrew). After upgrading to Monterey (MacOS 12.01), it no longer starts:
> > > 
> > > $ sw_vers
> > > ProductName: macOS
> > > ProductVersion: 12.0.1
> > > BuildVersion: 21A559
> > > 
> > > $ uname -a
> > > Darwin dfelicia-mac 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 
> > > 17:33:23 PDT 2021; root:xnu-8019.41.5~1/RELEASE_X86_64 x86_64
> > > 
> > > $ sudo dovecot -F
> > > Oct 27 10:11:18 service(log): Fatal: setrlimit(RLIMIT_DATA, 268435456): 
> > > Invalid argument

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://dovecot.org/pipermail/dovecot/attachments/20230217/0514ff0d/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: apple-touch-icon-114x114.png
Type: image/png
Size: 4011 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20230217/0514ff0d/attachment.png>


More information about the dovecot mailing list