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: santi...@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."

Attachment: signature.asc
Description: Digital signature

Reply via email to