[Dovecot] OpenBSD and too many open files

Quentin Garnier cube at cubidou.net
Wed Aug 1 19:25:59 EEST 2007


On Wed, Aug 01, 2007 at 09:19:11AM -0700, Bryan Vyhmeister wrote:
> I posted some questions a few months back and received lots of great  
> help in getting my dovecot/postfix/LDAP setup working. Initially, I  
> ran into the pipe failed too many open files error. I am running this  
> setup on OpenBSD/sparc64 4.1-stable and so I put dovecot in its own  
> class and upped the maxfiles setting for that class. This was back  
> with dovecot 1.0 and everything worked fine. I just recently upgraded  
> to dovecot 1.0.2 from ports and now I am having the same problems  
> again. I moved kern.maxfiles for that class from 2048 up to 3404 and  
> yet I still run into the error. When I do, I have to restart dovecot  
> to get things running again.

Sounds more like a file descriptor leak.  Check fstat output so see what
kind of descriptors are leaked, how fast, etc.

-- 
Quentin Garnier - cube at cubidou.net - cube at NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 478 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20070801/c9f7439f/attachment.bin 


More information about the dovecot mailing list