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: BPF problems on FreeBSD 7.0

2008-07-15 Thread Robin Sommer
On Tue, Jul 15, 2008 at 14:25 -0700, you wrote: >> Thanks for the suggestion. Here's the netstat -B output at the time >> it has stalled (after about 6 hours of working normally): [...] > at your rate of receiving packets, it passed that value about > 2 minutes before this snapshot was taken.. S

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: BPF problems on FreeBSD 7.0

2008-07-15 Thread Julian Elischer
Robin Sommer wrote: On Mon, Jul 14, 2008 at 14:44 +0100, Bruce M. Simpson wrote: One place to start might be: netstat -B output in 7.x (I *think* this got MFCed), this will let us see what the drop count is for the Bro process, and what the flags are for the open BPF descriptors in the system.

Re: BPF problems on FreeBSD 7.0

2008-07-15 Thread Robin Sommer
On Mon, Jul 14, 2008 at 14:44 +0100, Bruce M. Simpson wrote: > One place to start might be: netstat -B output in 7.x (I *think* this got > MFCed), this will let us see what the drop count is for the Bro process, > and what the flags are for the open BPF descriptors in the system. Thanks for th

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: igb doesn't compile in STABLE?

2008-07-15 Thread Jack Vogel
OK, will put on my todo list :) On Tue, Jul 15, 2008 at 10:31 AM, <[EMAIL PROTECTED]> wrote: > At Tue, 15 Jul 2008 10:07:22 -0700, > Jack Vogel wrote: >> >> Oh, so the problem is if igb alone is defined? >> > > Yes. > > Best, > George > ___ freebsd-net

Re: igb doesn't compile in STABLE?

2008-07-15 Thread gnn
At Tue, 15 Jul 2008 10:07:22 -0700, Jack Vogel wrote: > > Oh, so the problem is if igb alone is defined? > Yes. Best, George ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail t

Re: igb doesn't compile in STABLE?

2008-07-15 Thread Jack Vogel
Oh, so the problem is if igb alone is defined? On Tue, Jul 15, 2008 at 10:04 AM, <[EMAIL PROTECTED]> wrote: > At Mon, 14 Jul 2008 14:53:16 -0700, > Jack Vogel wrote: >> >> Just guessing, did someone change conf/files maybe?? >> > > If you build a STABLE kernel with igb AND em then things work an

Re: igb doesn't compile in STABLE?

2008-07-15 Thread gnn
At Mon, 14 Jul 2008 14:53:16 -0700, Jack Vogel wrote: > > Just guessing, did someone change conf/files maybe?? > If you build a STABLE kernel with igb AND em then things work and the kernel uses em. I'm not sure which thing needs to be changed in conf/files or otherwise though. Later, George _

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

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

2008-07-15 Thread Thomas Vogt
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 open file descriptor