[quagga-dev 3208] Re: [PATCH] non-blocking I/O from client daemons tozebra

Paul Jakma paul at clubi.ie
Thu Apr 14 04:10:40 BST 2005


On Wed, 13 Apr 2005, Andrew J. Schorr wrote:

> Just curious: why doesn't it solve that problem?  Is it blocking on 
> the zlookup stuff in bgpd/bgp_nexthop.c?

I think it does way way too much work inside bgp_event(). See 
bgp_event calling bgp_stop calling bgp_clear_route_all(peer).

All in one unbroken thread - no other IO gets a look in. That inner 
loop needs to be broken up into bite-size chunks i think.

Simon, can you post 'show thread cpu' from the bgpd vty after you've 
had this problem and bgpd has become responsive again?

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
"I'm willing to sacrifice anything for this cause, even other people's lives."



More information about the Quagga-dev mailing list