Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec15f4fd53 |
@@ -446,8 +446,8 @@ the routing table, and everything else from the database.
|
|||||||
AS path is empty or holds AS 0 anywhere.
|
AS path is empty or holds AS 0 anywhere.
|
||||||
- A peer whose BGP session goes down leaves every prefix. The handler
|
- A peer whose BGP session goes down leaves every prefix. The handler
|
||||||
holds back the peer's later updates. It applies them in order after
|
holds back the peer's later updates. It applies them in order after
|
||||||
the peer has left every prefix and after the held-back updates of
|
the peer has left every prefix, once the updates held back before them
|
||||||
every peer whose session went down before it.
|
are applied.
|
||||||
|
|
||||||
Every second it writes the changed prefix and origin AS pairs to the
|
Every second it writes the changed prefix and origin AS pairs to the
|
||||||
`routes` table. A write takes at most 20,000 pairs, and the rest follow
|
`routes` table. A write takes at most 20,000 pairs, and the rest follow
|
||||||
@@ -652,11 +652,10 @@ What happens at each limit:
|
|||||||
at most about 0.1 GiB of the Go heap.
|
at most about 0.1 GiB of the Go heap.
|
||||||
|
|
||||||
- Held-back messages: the prefix handler holds back a peer's messages after the
|
- Held-back messages: the prefix handler holds back a peer's messages after the
|
||||||
peer's session goes down. It applies them after the peer has left every prefix
|
peer's session goes down. It applies them after the peer has left every
|
||||||
and after the held-back messages of every peer whose session went down before
|
prefix, once the messages held back before them are applied. It holds at most
|
||||||
it. It holds at most 150,000 such messages (`maxHeldBackMessages`), about 150
|
150,000 such messages (`maxHeldBackMessages`), about 150 MiB. At that number
|
||||||
MiB. At that number it takes nothing more off its queue until it has applied
|
it takes nothing more off its queue until it has applied one of them.
|
||||||
one of them.
|
|
||||||
|
|
||||||
With `DEBUG=routewatch` the daemon logs a `System stats` line every 60 seconds
|
With `DEBUG=routewatch` the daemon logs a `System stats` line every 60 seconds
|
||||||
with the goroutine count and Go memory figures.
|
with the goroutine count and Go memory figures.
|
||||||
|
|||||||
Reference in new issue
Block a user