Re: tables behavior with in bracket anchor

2012-04-20 Thread Martin Pelikan
On Tue, Apr 17, 2012 at 10:51:31AM -0400, Michel Blais wrote: > rule inside of a in bracket anchors, pf will see no rule using the table > and delete it. As a work around, I use persist option. I don't know if things have changed in the pfctl parser, but a way to be sure is to have per-anchor co

Re: Memory usage of BIND process - threads?

2012-04-20 Thread Stuart Henderson
On 2012-04-20, Kostas Zorbadelos wrote: > Just discovered that under Linux bind seems to use 5 threads (2 > processors). Under the same VM config on OpenBSD bind seems to have > no threads (using T under top(1)). In 5.0 and 5.1 threads are entirely done in userland and won't show up separately i

Re: Memory usage of BIND process

2012-04-20 Thread Stuart Henderson
On 2012-04-20, Kostas Zorbadelos wrote: > Stuart Henderson writes: > >> On 2012/04/20 22:44, Kostas Zorbadelos wrote: >>> Stuart Henderson writes: >>> >>> > On 2012-04-20, Kostas Zorbadelos wrote: >>> >>> Also, per process limits play a role. >>> >>> >>> >> >>> >> Does named has such a limit b

Re: ipv6, rtadvd.conf, raflags

2012-04-20 Thread Brad Smith
On 20/04/12 8:48 AM, David Diggles wrote: Hi misc, Trying to get stateless autoconf working with rtadvd. The following message is in my log: rtadvd[32332]: O flag inconsistent on pppoe0: ON from fe80::224:14ff:fe9a:bc00, OFF from us The rtadvd.conf(5) man page does not make much sense to me w

Re: Memory usage of BIND process

2012-04-20 Thread Kostas Zorbadelos
Stuart Henderson writes: > On 2012/04/20 22:44, Kostas Zorbadelos wrote: >> Stuart Henderson writes: >> >> > On 2012-04-20, Kostas Zorbadelos wrote: >> >>> Also, per process limits play a role. >> >>> >> >> >> >> Does named has such a limit by default? >> > >> > OpenBSD has a limit by default,

Re: Memory usage of BIND process

2012-04-20 Thread Stuart Henderson
On 2012/04/20 22:44, Kostas Zorbadelos wrote: > Stuart Henderson writes: > > > On 2012-04-20, Kostas Zorbadelos wrote: > >>> Also, per process limits play a role. > >>> > >> > >> Does named has such a limit by default? > > > > OpenBSD has a limit by default, see login.conf(5). Daemons started >

Re: Memory usage of BIND process - threads?

2012-04-20 Thread Kostas Zorbadelos
Just discovered that under Linux bind seems to use 5 threads (2 processors). Under the same VM config on OpenBSD bind seems to have no threads (using T under top(1)). Is this part of the patches in the OpenBSD version of BIND? Regards, Kostas -- Kostas Zorbadelos twitter:@kzorb

Re: Memory usage of BIND process

2012-04-20 Thread Kostas Zorbadelos
Stuart Henderson writes: > On 2012-04-20, Kostas Zorbadelos wrote: >>> Also, per process limits play a role. >>> >> >> Does named has such a limit by default? > > OpenBSD has a limit by default, see login.conf(5). Daemons started > when the system is booted or using /etc/rc.d scripts typically u

Re: Memory usage of BIND process

2012-04-20 Thread Stuart Henderson
On 2012-04-20, Kostas Zorbadelos wrote: >> Also, per process limits play a role. >> > > Does named has such a limit by default? OpenBSD has a limit by default, see login.conf(5). Daemons started when the system is booted or using /etc/rc.d scripts typically use the class 'daemon'.

Re: Hang on -current

2012-04-20 Thread STeve Andre'
On 04/20/12 07:24, David Coppa wrote: On Thu, Apr 19, 2012 at 11:31 PM, STeve Andre' wrote: I had a system hang I've never seen before: Apr 19 15:24:18 s6 /bsd: uvm_km_kmem_grow: grown to 0xffc0 This is only a "diagnostic" informative message, btw... I've updated things and I haven't g

Re: Memory usage of BIND process

2012-04-20 Thread Kostas Zorbadelos
Simon Perreault writes: > > Here's a test protocol for you: > > 1. Set your VM to 6G. It is set to 8GB. > 2. Set max-cache-size to 4G. > 3. Measure how many records it can store. I didn't have a way to see that but just found rndc dumpdb -cache :) Do you have any other suggestion? rndc stats

Re: Memory usage of BIND process

2012-04-20 Thread Simon Perreault
On 2012-04-20 14:07, Kostas Zorbadelos wrote: Eventually you are right. However I am trying to answer the primitive question: should I buy servers with a lot of RAM or not? If BIND cannot utilize more than 4GB let's say, it makes no sense to buy servers with 32GB. The servers' only role will be c

Re: Memory usage of BIND process

2012-04-20 Thread Kostas Zorbadelos
Simon Perreault writes: > On 2012-04-20 07:43, Kostas Zorbadelos wrote: Hi Simon, >> I understand the kernel VM layers are completely different, but how come >> the named process on OpenBSD for the same load consumes so low resident >> memory? Also, why VZS< RSS on OpenBSD? >> The general ques

Re: Memory usage of BIND process

2012-04-20 Thread Kostas Zorbadelos
Otto Moerbeek writes: > > You neglect to tell us platform details so we cannot tell. > I mentioned >> trying to fill as much as I can in BIND's cache and I use 2 VMs with >> identical configuration (2 CPUs, 8GB RAM) for the systems to perform the >> tests. more details: kzorba@openbsd: ~ ->

Re: ipv6, rtadvd.conf, raflags

2012-04-20 Thread Jason McIntyre
On Fri, Apr 20, 2012 at 10:48:59PM +1000, David Diggles wrote: > Hi misc, > > Trying to get stateless autoconf working with rtadvd. The following message > is in my log: > > rtadvd[32332]: O flag inconsistent on pppoe0: ON from > fe80::224:14ff:fe9a:bc00, OFF from us > > The rtadvd.conf(5) ma

Re: Memory usage of BIND process

2012-04-20 Thread Otto Moerbeek
On Fri, Apr 20, 2012 at 02:43:05PM +0300, Kostas Zorbadelos wrote: > Hello all, sorry for the big mail that follows. > > These are my first attempts at fine tuning and stress testing in OpenBSD > so excuse my ignorance. > I am stress testing BIND as a resolver on Linux (CentOS 6) and OpenBSD > (5

Re: Memory usage of BIND process

2012-04-20 Thread Simon Perreault
On 2012-04-20 07:43, Kostas Zorbadelos wrote: I understand the kernel VM layers are completely different, but how come the named process on OpenBSD for the same load consumes so low resident memory? Also, why VZS< RSS on OpenBSD? The general question I am trying to answer is, can BIND utilize al

ipv6, rtadvd.conf, raflags

2012-04-20 Thread David Diggles
Hi misc, Trying to get stateless autoconf working with rtadvd. The following message is in my log: rtadvd[32332]: O flag inconsistent on pppoe0: ON from fe80::224:14ff:fe9a:bc00, OFF from us The rtadvd.conf(5) man page does not make much sense to me with regards to raflags, how do I set the

Memory usage of BIND process

2012-04-20 Thread Kostas Zorbadelos
Hello all, sorry for the big mail that follows. These are my first attempts at fine tuning and stress testing in OpenBSD so excuse my ignorance. I am stress testing BIND as a resolver on Linux (CentOS 6) and OpenBSD (5.0 release). I will evaluate unbound since this will be included in base also la

Re: bnx[01] -> trunk0 -> vlan119 -> carp119 problem

2012-04-20 Thread Janne Johansson
2012/4/20 Stuart Henderson : >> If you can Matt, try to set the carppeer option so it unicasts carp >> status packets between the hosts over the vlans, and see if it helps. > > The parent iface not being in promisc mode is likely to at least > break reception of packets destined for the carp MAC ad

Re: Hang on -current

2012-04-20 Thread David Coppa
On Thu, Apr 19, 2012 at 11:31 PM, STeve Andre' wrote: > I had a system hang I've never seen before: > > Apr 19 15:24:18 s6 /bsd: uvm_km_kmem_grow: grown to 0xffc0 This is only a "diagnostic" informative message, btw...

Re: Hang on -current

2012-04-20 Thread Kenneth R Westerback
On Thu, Apr 19, 2012 at 05:31:25PM -0400, STeve Andre' wrote: > I had a system hang I've never seen before: > > Apr 19 15:24:18 s6 /bsd: uvm_km_kmem_grow: grown to 0xffc0 > > It was in an infinite loop; I couldn't ssh into the machine nor could > I crtl-alt-F2 to another console, so I have no

Re: all freezes when I move windows in twm

2012-04-20 Thread Alexei Malinin
Thomas Adam wrote: > On 18 April 2012 19:04, Christian Weisgerber wrote: >> Alexei Malinin wrote: >>> At a time when I listen to music on the xmms >>> and simultaneously begin to move any X window, >>> the sound stops. The sound resumes after finishing >>> of moving of the window . >> Yes. For s

Re: bnx[01] -> trunk0 -> vlan119 -> carp119 problem

2012-04-20 Thread Stuart Henderson
On 2012/04/20 08:54, Janne Johansson wrote: > Overall, this sounds like the "missing arp" issue in some regards. That was specifically affecting 50+ carp interfaces with the same physical parent interface (or iirc bridged vlans). > As for the recent threads about carps misbehaving, I had at least

Re: all freezes when I move windows in twm

2012-04-20 Thread Thomas Adam
On 18 April 2012 19:04, Christian Weisgerber wrote: > Alexei Malinin wrote: > >> At a time when I listen to music on the xmms >> and simultaneously begin to move any X window, >> the sound stops. The sound resumes after finishing >> of moving of the window . > > Yes. B For some window operations