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



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...@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...@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...@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