When low on cpu an early sign of trouble is starting to see late hellos.
---
 neighbour.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/neighbour.c b/neighbour.c
index 6bba726..d562ff0 100644
--- a/neighbour.c
+++ b/neighbour.c
@@ -135,6 +135,11 @@ update_neighbour(struct neighbour *neigh, struct 
hello_history *hist,
                 missed_hellos = 0;
                 rc = 1;
             } else if(missed_hellos < 0) {
+                /* Late hello. Probably due to the link layer buffering
+                   packets during a link outage, or a cpu overload. */
+                   fprintf(stderr,
+                        "Late hello: bufferbloated neighbor %s\n",
+                         format_address(neigh->address));
                 hist->reach <<= -missed_hellos;
                 missed_hellos = 0;
                 rc = 1;
-- 
2.17.1


_______________________________________________
Babel-users mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/babel-users

Reply via email to