[quagga-dev 7637] Re: [PATCH] bgp: add snapshot to workaround slow commands

paul at jakma.org paul at jakma.org
Thu Jan 14 17:34:53 GMT 2010

On Wed, 13 Jan 2010, Stephen Hemminger wrote:

> On a fully loaded BGP instance, doing 'show ip bgp' can effectively
> kill the BGP process because the single BGP daemon thread is stuck waiting
> to feed information back to the vtysh.

> This patch is a simplistic solution to the problem. It adds:
>  show bgp snapshot
> which cause the original BGP daemon to fork. The vty client is then
> talking to the child which can then be used to do slow commands, and the
> parent BGP process is available to do normal duties.

That's simpler than all the infrastructure to wait on children in the 
parent and take back responsibility for the vty alright.

Thing is, how useful is this mode-change version? Usually the point 
at which I realise a command may take so long that it might hurt BGP 
is when waiting on a command to finish - after having executed it by 

I.e. this approach implies we should give up on the end-user 
transparent way. Can it not be gotten to work?

Paul Jakma	paul at jakma.org	Key ID: 64A2FF6A
The future not being born, my friend, we will abstain from baptizing it.
 		-- George Meredith

More information about the Quagga-dev mailing list