Timo Sirainen wrote:
On Tue, 2008-09-09 at 08:58 -0500, Rick Romero wrote:
Hi,

I'm running Dovecot 1.1.3 on FreeBSD 7.0. In the past couple days, I've been seeing errors like this:

Sep 9 08:43:51 sysvol dovecot: pop3-login: socketpair() failed: No buffer space available

Only thing I can suggest is to google for "ENOBUFS socketpair freebsd"
or to ask in FreeBSD lists. I've no idea why it would return ENOBUFS.
The manual page doesn't say ENOBUFS is a possible error for
socketpair().

Got it.  Thanks Timo, your search terms were better than mine.

sysvol# vmstat -z | grep sock
ITEM SIZE LIMIT USED FREE REQUESTS FAILURES socket: 696, 204800, 12362, 128, 82179541, 60873

My old kern.ipc.maxsockets: 12328 I was running out of Sockets. The error was popping up multiple times per minute, now I haven't seen one in 5 minutes.
I also found a great FreeBSD connection optimization page:
http://rerepi.wordpress.com/2008/04/19/tuning-freebsd-sysoev-rit/

Rick

Reply via email to