Re: [Pdns-users] Possible tcp listener issue

2010-06-21 Thread Simon Bedford

Morning Bert,

We had a crash on one of the upgraded servers over the weekend and as 
suspected it happened around the default max tcp-clients, please see the 
entry from my log below that was running to query the amount of clients :-


128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
128
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
129
0   restarted here
6
0
0
0
1
0
0
0
0

Also the grep you asked for returned no lines for any of the stated 
messages.  This looks to be an issue with closing down certain kinds of 
tcp clients from the debug.


Thanks

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


Re: [Pdns-users] Possible tcp listener issue

2010-06-21 Thread bert hubert
Simon,

the solution to your issue is almost certainly in
http://wiki.powerdns.com/trac/changeset/1640

Even though you do not see the log messages, I'm pretty sure this is it.

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


[Pdns-users] Return code of pdns_control

2010-06-21 Thread Erik Ljungstrom
Hi,

I've noticed that the pdns_control command returns 0 regardless of the outcome 
of the operation. It would be great if the return code would indicate that 
there was a problem.

For example:

$ pdns_control retrieve thisdoesntexist.com ; echo $?
Domain 'thisdoesntexist.com' unknown
0

$ pdns_control retrieve syntax error ; echo $?
syntax: retrieve domain
0

From a scripting point of view, it would be mighty useful if the return code 
would be != 0 if there was a problem of some sort.

We're running pdns-2.9.22. Before I start digging through the source, is there 
any chance this will be changed in a future release?

Cheers,
Erik
This message is intended solely for the use of the individual or organisation 
to whom it is addressed. It may contain privileged or confidential information. 
If you have received this message in error, please notify the originator 
immediately. If you are not the intended recipient, you should not use, copy, 
alter, or disclose the contents of this message. All information or opinions 
expressed in this message and/or any attachments are those of the author and 
are not necessarily those of DediPower Managed Hosting Ltd or its affiliates.

DediPower Managed Hosting Ltd is registered in England and Wales No. 3625971 
Registered Office: Cadogan House, Rose Kiln Lane, Reading, Berkshire, RG2 0HP
___
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
http://mailman.powerdns.com/mailman/listinfo/pdns-users