[avahi] Strange intermittent avahi-core example behaviour

David Lambert dave at lambsys.com
Wed Oct 15 08:52:51 PDT 2008


Update on the problem with core-browse-services:

The problem only appears to happen when more than one machine on the 
same segment is running this program. I have also added an exit(0) on the
 case AVAHI_BROWSER_ALL_FOR_NOW so that I can run the program cyclically 
until it fails:

time while browse; do []; done


If only one machine on a segment is running this, then it runs without 
failure for hours. Adding another machine causes the failure within a 
few minutes:

Suspicious 
address                                                                                                                                                                                                                                                            

Avahi address protocol:1, 
address:0X000080FE                                                                                                                                                                                                                                  

                                                                                                                                                                                                                                                                              

real   
4m2.444s                                                                                                                                                                                                                                                              

user    
0m16.344s                                                                                                                                                                                                                                                             

sys     
0m16.528s                                                                                                                                                                                                                                                             

#



The modified code is attached.

Any help would be gratefully appreciated.


Best regards,

Dave.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: browse.c
Type: text/x-csrc
Size: 7501 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/avahi/attachments/20081015/39360c0d/attachment.c 


More information about the avahi mailing list