Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-16 Thread Thomas Vogt
Hello Am 15.07.2008 um 22:59 schrieb JINMEI Tatuya / 神明達哉: At Tue, 15 Jul 2008 22:54:11 +0200, Thomas Vogt <[EMAIL PROTECTED]> wrote: Since i updated my FreeBSD 6.3 dns server with the latest bind version in the ports (dns/bind94) my system is flooding my log with "too many open file descri

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-16 Thread Bakul Shah
On Tue, 15 Jul 2008 16:37:00 PDT JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <[EMAIL PROTECTED]> wrote: > > Perhaps You're probably confused poll(2) with /dev/poll. The latter > behaves as you described (but is not portable as poll(2)). Indeed I am confused. Not sure where I got th

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread Alfred Perlstein
FWIW, the userland scan of the files is not nearly as bad as what happens in the kernel when hundreds or thousands of objects are accessed that blow out the cache, oh and the locking that occurs as well. * Peter Jeremy <[EMAIL PROTECTED]> [080715 16:43] wrote: > On 2008-Jul-15 16:09:17 -0700, Baku

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread Ian Smith
On Tue, 15 Jul 2008, Kris Kennaway wrote: > Thomas Vogt wrote: > > Hello > > > > Since i updated my FreeBSD 6.3 dns server with the latest bind version > > in the ports (dns/bind94) my system is flooding my log with "too many > > open file descriptors" messages. > > > > Is there somethi

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread Peter Jeremy
On 2008-Jul-15 16:09:17 -0700, Bakul Shah <[EMAIL PROTECTED]> wrote: >IIRC, when poll() returns n, you only look at the first n >values in the pollfd array so it is a win when you expect a >very small number of fds to be ready. In the select case you >have to test the bit array until you see the l

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread JINMEI Tatuya / 神明達哉
At Tue, 15 Jul 2008 16:09:17 -0700, Bakul Shah <[EMAIL PROTECTED]> wrote: > IIRC, when poll() returns n, you only look at the first n > values in the pollfd array so it is a win when you expect a > very small number of fds to be ready. In the select case you > have to test the bit array until you

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread Julian Elischer
Bakul Shah wrote: On Tue, 15 Jul 2008 15:39:09 PDT JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <[EMAIL PROTECTED]> wrote: At Tue, 15 Jul 2008 15:12:31 -0700, Bakul Shah <[EMAIL PROTECTED]> wrote: Besides, I guess that the P1 versions severely suffer from heavy overhead of select(2

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread Bakul Shah
On Tue, 15 Jul 2008 15:39:09 PDT JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <[EMAIL PROTECTED]> wrote: > At Tue, 15 Jul 2008 15:12:31 -0700, > Bakul Shah <[EMAIL PROTECTED]> wrote: > > > > Besides, I guess that the P1 versions severely suffer from heavy > > > overhead of select(2) wh

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread JINMEI Tatuya / 神明達哉
At Tue, 15 Jul 2008 15:12:31 -0700, Bakul Shah <[EMAIL PROTECTED]> wrote: > > Besides, I guess that the P1 versions severely suffer from heavy > > overhead of select(2) when it regularly opens more than 1000 sockets. > > Even if 'too many open file' messages are gone, many users won't > > accept t

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread Bakul Shah
On Tue, 15 Jul 2008 14:18:41 PDT JINMEI Tatuya / =?ISO-2022-JP?B?GyRCP0BMQEMjOkgbKEI=?= <[EMAIL PROTECTED]> wrote: > At Tue, 15 Jul 2008 23:09:30 +0200, > Kris Kennaway <[EMAIL PROTECTED]> wrote: > > > > If that's regularly happening, I'm afraid recent P1 versions don't > > > handle that well, a

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread Kris Kennaway
JINMEI Tatuya / 神明達哉 wrote: At Tue, 15 Jul 2008 23:09:30 +0200, Kris Kennaway <[EMAIL PROTECTED]> wrote: If that's regularly happening, I'm afraid recent P1 versions don't handle that well, and recommend you try 9.4.3b2 ore 9.5.1b1. Or increase the number of file descriptors as a workaround, p

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread JINMEI Tatuya / 神明達哉
At Tue, 15 Jul 2008 23:09:30 +0200, Kris Kennaway <[EMAIL PROTECTED]> wrote: > > If that's regularly happening, I'm afraid recent P1 versions don't > > handle that well, and recommend you try 9.4.3b2 ore 9.5.1b1. > > Or increase the number of file descriptors as a workaround, per my email :) Doe

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread Kris Kennaway
JINMEI Tatuya / 神明達哉 wrote: At Tue, 15 Jul 2008 22:54:11 +0200, Thomas Vogt <[EMAIL PROTECTED]> wrote: Since i updated my FreeBSD 6.3 dns server with the latest bind version in the ports (dns/bind94) my system is flooding my log with "too many open file descriptors" messages. Is there someth

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread JINMEI Tatuya / 神明達哉
At Tue, 15 Jul 2008 22:54:11 +0200, Thomas Vogt <[EMAIL PROTECTED]> wrote: > >> Since i updated my FreeBSD 6.3 dns server with the latest bind > >> version > >> in the ports (dns/bind94) my system is flooding my log with "too many > >> open file descriptors" messages. > >> > >> Is there somethin

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread Thomas Vogt
Hello Am 15.07.2008 um 20:12 schrieb JINMEI Tatuya / 神明達哉: At Tue, 15 Jul 2008 14:13:11 +0200, Thomas Vogt <[EMAIL PROTECTED]> wrote: Since i updated my FreeBSD 6.3 dns server with the latest bind version in the ports (dns/bind94) my system is flooding my log with "too many open file descri

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread JINMEI Tatuya / 神明達哉
At Tue, 15 Jul 2008 14:13:11 +0200, Thomas Vogt <[EMAIL PROTECTED]> wrote: > Since i updated my FreeBSD 6.3 dns server with the latest bind version > in the ports (dns/bind94) my system is flooding my log with "too many > open file descriptors" messages. > > Is there something i can do? How ma

Re: too many open file descriptors messages since bind 9.4.2-P1 (port dns94)

2008-07-15 Thread Kris Kennaway
Thomas Vogt wrote: Hello Since i updated my FreeBSD 6.3 dns server with the latest bind version in the ports (dns/bind94) my system is flooding my log with "too many open file descriptors" messages. Is there something i can do? Example: Jul 15 12:08:38 intern named[50840]: socket: too many