[Dovecot] Dovecot / OS X 10.4 Mail.app and "Too Many Opened files" error message ?

Michael Guntsche mike at it-loops.com
Fri Sep 14 22:13:38 EEST 2007


On Sep 14, 2007, at 20:48, Xavier Beaudouin wrote:

> (replying to myself)
>
>> After a long time, the OS X client say error : "Too Many opened  
>> files".
>
> Seems that OS X has stupidly low number of files that can be opened...
>
> $ ulimit -a
> [...]
> open files                    (-n) 256
>
> On my MacBook Pro....
>
> This is bloody low....
>
> So I've figured to change this limit globaly, but it seems that OS  
> X don't have any limits.conf or default values....
>

Use launchctl for this under 10.4. Edit /etc/launchd.conf or create  
it if it does not exist and enter

limit maxfiles 512 1024

The first number is the soft limit the second one the hard limit.  
Reboot the computer and the limits are changed systemwide


More information about the dovecot mailing list