Re: [Pdns-users] tcp listener issue - hopefully fixed

2010-08-29 Thread bert hubert
On Mon, Aug 23, 2010 at 11:37:42AM +0100, Simon Bedford wrote:
 Just returned from annual leave to this welcome news, has anyone had
 a chance to try it as yet and investigate whether the bug still
 manifests? And does it no longer happen when running Brad's test
 script?

Simon,

Sadly we found that the previous code drop, while stable, still exhibited
the same problem.

We've fixed yet another bug that might be causing the issue, and we are
currently testing that.

This drop can be found on
http://svn.powerdns.com/snapshots/pdns-recursor-3.3-pre.tar.bz2

If you compile the program below, and run it on your pdns server, you'll
probably see it print '0' and then a very large number.  If you could share
that output with us, it could tell us if we are on the right track.

http://pastie.org/1124088
http://pastie.org/1124088.txt
To compile, save as .cpp file and compile with 'g++ -O2 testing.cpp -o testing',
and run with './testing'.

Good luck!

Bert
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] tcp listener issue - hopefully fixed

2010-08-29 Thread bert hubert
On Sun, Aug 29, 2010 at 04:56:14PM +0200, bert hubert wrote:
 We've fixed yet another bug that might be causing the issue, and we are
 currently testing that.
 
 This drop can be found on
 http://svn.powerdns.com/snapshots/pdns-recursor-3.3-pre.tar.bz2

Our testing shows that the problem disappeared! Many thanks to Christian
Hofstaedtler. 

If this was the final problem, this also explains why only some people are
seeing it. There are hardware platforms that are highly immune to this bug
(Michel Stol measured this), but we've seen an Openvirtuozo hosted Linux
being very vulnerable to it.

On my own testing hardware, the problem was relatively rare.

For the people who care, the root cause appeared to be doing non-atomic
updates to the TCP client count. 

The release process for 3.3 can now start - only 1 feature request left to
finish.

Bert
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users


Re: [Pdns-users] tcp listener issue - hopefully fixed

2010-08-29 Thread Brad Dameron
 -Original Message-
 From: pdns-users-boun...@mailman.powerdns.com [mailto:pdns-users-
 boun...@mailman.powerdns.com] On Behalf Of bert hubert
 Sent: Sunday, August 29, 2010 11:31 AM
 To: Mike
 Cc: Brad Dameron; pdns-users@mailman.powerdns.com
 Subject: Re: [Pdns-users] tcp listener issue - hopefully fixed
 
 On Sun, Aug 29, 2010 at 04:56:14PM +0200, bert hubert wrote:
  We've fixed yet another bug that might be causing the issue, and we
 are
  currently testing that.
 
  This drop can be found on
  http://svn.powerdns.com/snapshots/pdns-recursor-3.3-pre.tar.bz2
 
 Our testing shows that the problem disappeared! Many thanks to
 Christian
 Hofstaedtler.
 
 If this was the final problem, this also explains why only some people
 are
 seeing it. There are hardware platforms that are highly immune to this
 bug
 (Michel Stol measured this), but we've seen an Openvirtuozo hosted
 Linux
 being very vulnerable to it.
 
 On my own testing hardware, the problem was relatively rare.
 
 For the people who care, the root cause appeared to be doing non-atomic
 updates to the TCP client count.
 
 The release process for 3.3 can now start - only 1 feature request left
 to
 finish.
 
   Bert


Good to hear Bert. I'll run it through the ringer on Monday and see if we can 
reproduce the problem. Cross fingers that it is fixed. 

Thanks,
Brad

This email may contain confidential and privileged material for the sole use of 
the intended recipient. Any review, use, distribution or disclosure by others 
is strictly prohibited. If you are not the intended recipient (or authorized to 
receive for the recipient), please contact the sender by reply email and delete 
all copies of this message.


___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users