On Mon, 05 Sep 2005 15:10:06 -0700 Marc Perkel wrote:
I found this:
echo "4096" > /proc/sys/kernel/file-max
First cat /proc/sys/kernel/file-max to see what it's set to.
Jeff A. Earickson wrote:
Help...
Dovecot 1.0alpha1 hung up today with nothing working and the following spewing to my syslog:
pipe() failed: Too many open files
My setup: Solaris 9, just using imap, mbox format. The various "max" settings in dovecot.conf use the defaults. Suggestions on what to change in fovecot.conf to keep this from happening?
Actually on Solaris 9 you want to put something like this in /etc/system:
set rlim_fd_cur = 32768 set rlim_fd_max = 65536
That sets the current fd's to 32k and max to 64k. Unfortunately, to take effect you'll need to reboot. After the reboot, ulimit -a should show that nofiles(descriptors) is 32768.
-Jeff
--
Jeff Ballard ballard@engr.wisc.edu 608-265-5090 Unix Systems Manager, Computer-Aided Engineering Center