bird under heavy cpu load

Ondrej Zajicek santiago at crfreenet.org
Sat Apr 7 14:49:53 CEST 2012


On Tue, Mar 27, 2012 at 09:29:10PM +0400, Alexander V. Chernikov wrote:
>>> CLI interface can easily be another abuser:
>>> bird>  show route count
>>> 2723321 of 2723321 routes for 407158 networks
>>>
>>> If I do 'show route' for such table this can block bird for 10? seconds.
>>
>> Really? show route processing is splitted per 64 routes, so i suppose
>> that only the CLI session is blocked.
> Not exactly.
>
> 'show route' result shows up immediately, but when I press 'q' to quit  
> from the results I see 'bird' process eating CPU for ~5 seconds.

Yes, but even in that case it should be responsible ('q' is handled in
client, bird generates all the routes and send them to birdc which just
throws them away, but just 64 routes are processed in one block.

-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20120407/e1b3fea7/attachment.asc>


More information about the Bird-users mailing list