Subject: Bumping shell limits for daemons?
To: None <tech-pkg@netbsd.org>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: tech-pkg
Date: 12/15/2005 14:52:58
Hi,
when I installed Dovecot 1.0alpha5 (wip/dovecot) a few days ago, I ran into
>Dec 14 10:53:52 bounce dovecot: pipe() failed: Too many open files
>Dec 14 10:54:23 bounce last message repeated 279661 times
>Dec 14 10:56:23 bounce last message repeated 1071807 times
>Dec 14 10:56:59 bounce last message repeated 325386 times
after a day. I ended up bumping the open files limit by inserting
ulimit -n 1024
into the Dovecot rc.d startup script. Is there a canonical way of
adjusting shell limits for daemons started through rc.d scripts?
hauke
--
/~\ The ASCII Ribbon Campaign Hauke Fath
\ / No HTML/RTF in email Institut für Nachrichtentechnik
X No Word docs in email TU Darmstadt
/ \ Respect for open standards Ruf +49-6151-16-3281