[bind10-dev] the problem with msgq

Likun Zhang zlkzhy at gmail.com
Thu Aug 4 09:25:13 UTC 2011


Hi all,

 

When I looking at ticket 519, I find the reason for the problem reported by the ticket is:  stats and bind10 doesn’t receive some message in “block” mode. It will make some messages never be read.

 

Each running module will receive two types message throught msgq: ‘command’ and ‘answer’(command response), the difference between them is ‘answer’ has one flag “reply”.

 

When the module checking ‘command’, the message with ‘reply’ flag will always be skipped. So if the module doesn’t receive one answer correctly(in block mode), the answer will be left there until the module die.

 

To avoid orphan answers, we have to receive every answer in block mode in our code, or a better way to cleanup orphan answers in period.

 

Any comments?

 

 

Thanks

Likun

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind10-dev/attachments/20110804/18afec29/attachment.html>


More information about the bind10-dev mailing list