On 2012-05-29, Matt Hamilton <[email protected]> wrote:
> More bgpd problems last night :( This happened last night on two of our
> routers. One running an old version of OpenBSD (4.3) and one running
> 5.1. Is there anyone out there actually using bpgd in production?

Yes.

> How
> do you deal with it quitting everytime something unexpected happens on
> the network?

cron job to restart it, with a random delay to avoid two machines
coming back up at the same time when all the routers at a site
fail together...

> The first message below seems to indicate unable to allocate
> memory. I'm running these boxes pretty much stock having not tuned any
> parameters at all. Both are just running routing daemons (bgpd, ospf)
> and the 4.3 box is running OpenVPN. There are no applications running
> and both boxes have plenty of RAM (4GB) and not using any swap or
> anything.
>
> Is there something I should look at tuning in terms
> of memory allocation in order to stop this happening?

Make sure login.conf memory limits for the daemon class (or the
_bgpd class on a newer OS version using /etc/rc.d) are high enough.
If your limits are insufficient for the size of routing table then
obviously you will have a problem. But also there is a bug
somewhere, possibly to do with nexthop changes, which can result
in very rapidly increasing memory use.

Reply via email to