Create the new login class for dovecot as stated here and you should be fine.
http://www.openbsd.org/cgi-bin/cvsweb/ports/mail/dovecot/pkg/README-server?rev=1.1 On Fri, Jul 27, 2012 at 09:18:21PM +0400, Wesley wrote: > I tried this : > > ulimit -a give me : > time(cpu-seconds) unlimited > file(blocks) unlimited > coredump(blocks) unlimited > data(kbytes) 2097152 > stack(kbytes) 8192 > lockedmem(kbytes) 1016125 > memory(kbytes) 3043896 > nofiles(descriptors) 7030 > processes 1310 > > when i type '/etc/rc.d/dovecot start' give me again : > > dovecotJul 27 21:12:08 current dovecot: master: Dovecot v2.1.8 > starting up > (ok) > # Jul 27 21:12:08 current dovecot: master: Error: service(doveadm): > pipe() failed: Too many open files > Jul 27 21:12:08 current dovecot: master: Error: service(dns_client): > pipe() failed: Too many open files > Jul 27 21:12:08 current dovecot: master: Error: service(director): > pipe() failed: Too many open files > Jul 27 21:12:08 current dovecot: master: Error: service(dict): > pipe() failed: Too many open files > Jul 27 21:12:08 current dovecot: master: Error: service(config): > pipe() failed: Too many open files > Jul 27 21:12:08 current dovecot: master: Error: service(auth): > pipe() failed: Too many open files > Jul 27 21:12:08 current dovecot: master: Error: > service(auth-worker): pipe() failed: Too many open files > > Perhaps i need to play with "openfiles-cur" keyword in > /etc/login.conf... > So i increased 'default class' 512 to 2048, 'daemon class' 128 to 2048. > Seems to work ;-) > Any advices ? > > Thank you very much for your help ! > > -- > Wesley > www.mouedine.net > > > > Le 2012-07-27 19:30, Mark Patruck a ??crit??: > >Make sure you've increased limits (f.e. open file descriptors). > >This is new since v2.1.8. Check the README-server file in the > >dovecot-2.1.8 package. > > > >On Fri, Jul 27, 2012 at 07:22:33PM +0400, Wesley wrote: > >>Sorry, something is missing, this error arrives just after : > >>/etc/rc.d/dovecot start > >>Any idea ? > >> > >>>I have this error : > >>>Jul 27 19:04:48 current dovecot: master: Dovecot v2.1.8 > >>starting upJ > >>>ul 27 19:04:48 current dovecot: master: Error: service(doveadm): > >>>pipe() failed:Too many open files > >>>Jd: Too many open files dovecot: master: Error: > >>service(dns_client): > >>>pipe() faile > >>>Jul 27 19:04:48 current dovecot: master: Error: service(director): > >>>pipe() failed: > >>> Too many open files > >>>Jul 27 19:04:48 current dovecot: master: Error: service(dict): > >>pipe() > >>>failed: Too > >>> many open files > >>>Jul 27 19:04:48 current dovecot: master: Error: service(config): > >>>pipe() failed: T > >>>oo many open files > >>>Jul 27 19:04:48 current dovecot: master: Error: service(auth): > >>pipe() > >>>failed: Too > >>> many open files > >>>Jul 27 19:04:48 current dovecot: master: Error: > >>service(auth-worker): > >>>pipe() fail > >>>ed: Too many open files > >>>Jul 27 19:04:58 current dovecot: master: Error: service(anvil): > >>>command startup f > >>>ailed, throttling for 2 secs > >>>Jul 27 19:04:58 current dovecot: master: Error: > >>service(ssl-params): > >>>command star > >>>tup failed, throttling for 2 secs > >>>Jul 27 19:04:58 current dovecot: ssl-params: Fatal: Error reading > >>>configuration: > >>>Timeout reading config from /var/dovecot/config > >>>Jul 27 19:04:58 current dovecot: anvil: Fatal: Error reading > >>>configuration: Timeo > >>>ut reading config from /var/dovecot/config > >>> > >>>Any idea ? > >>> > >>>-- > >>>Wesley > -- Mark Patruck ( mark at wrapped.cx ) GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74 F644 0D3C F66F F286 5E51 http://www.wrapped.cx