mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 16:04:49 +00:00
zebra: Actually display I/O buffer sizes
An operator found a situation where zebra was backing up in a significant way towards BGP with EVPN changes taking up some serious amounts of memory. The key lines that would have clued us in on it were behind a dev build. Let's change this. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
48805d617b
commit
8d8f12ba8e
@ -105,9 +105,7 @@ struct stream_fifo {
|
||||
|
||||
/* number of streams in this fifo */
|
||||
atomic_size_t count;
|
||||
#if defined DEV_BUILD
|
||||
atomic_size_t max_count;
|
||||
#endif
|
||||
|
||||
struct stream *head;
|
||||
struct stream *tail;
|
||||
|
@ -1125,12 +1125,10 @@ static void zebra_show_client_detail(struct vty *vty, struct zserv *client)
|
||||
vty_out(vty, "ES-EVI %-12u%-12u%-12u\n",
|
||||
client->local_es_evi_add_cnt, 0, client->local_es_evi_del_cnt);
|
||||
vty_out(vty, "Errors: %u\n", client->error_cnt);
|
||||
|
||||
#if defined DEV_BUILD
|
||||
vty_out(vty, "Input Fifo: %zu:%zu Output Fifo: %zu:%zu\n",
|
||||
client->ibuf_fifo->count, client->ibuf_fifo->max_count,
|
||||
client->obuf_fifo->count, client->obuf_fifo->max_count);
|
||||
#endif
|
||||
|
||||
vty_out(vty, "\n");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user