Re: 1M routes or 1M arp entries

2017-08-14 Thread Stuart Henderson
On 2017/08/14 16:48, Simon Mages wrote: > Hi, > > you may want to take a look into /etc/login.conf > login.conf(5), cap_mkdb(1) I wouldn't normally recommend cap_mkdb for the login.conf file, it's too easy to forget to update the db after making a change. I'd just edit the text file. You will

Re: 1M routes or 1M arp entries

2017-08-14 Thread Hrvoje Popovski
On 14.8.2017. 16:48, Simon Mages wrote: > Hi, > > you may want to take a look into /etc/login.conf > login.conf(5), cap_mkdb(1) > > In this file you can fiddle with you limit maxima > for login classes. > > BR > Simon > Thank you, i will do that ...

Re: 1M routes or 1M arp entries

2017-08-14 Thread Simon Mages
Hi, you may want to take a look into /etc/login.conf login.conf(5), cap_mkdb(1) In this file you can fiddle with you limit maxima for login classes. BR Simon 2017-08-14 16:28 GMT+02:00, Hrvoje Popovski : > On 14.8.2017. 16:03, Alexander Bluhm wrote: >> On Mon, Aug 14, 2017 at

Re: 1M routes or 1M arp entries

2017-08-14 Thread Hrvoje Popovski
On 14.8.2017. 16:03, Alexander Bluhm wrote: > On Mon, Aug 14, 2017 at 03:52:56PM +0200, Hrvoje Popovski wrote: >> # netstat -rnf inet >> netstat: Cannot allocate memory > > Have you tried to increase ulimit -d ? it seems that i can decrease it but not increase it, or i don't know how to do it

Re: 1M routes or 1M arp entries

2017-08-14 Thread Alexander Bluhm
On Mon, Aug 14, 2017 at 03:52:56PM +0200, Hrvoje Popovski wrote: > # netstat -rnf inet > netstat: Cannot allocate memory Have you tried to increase ulimit -d ? bluhm

1M routes or 1M arp entries

2017-08-14 Thread Hrvoje Popovski
Hi all, when openbsd imports cca 1M routes or more and if i want to see them with "netstat -rn" i'm getting "Cannot allocate memory". bgpd can see all routes. i don't think that this is real problem but full bgp table is cca 700K routes. # bgpctl show ip bgp mem RDE memory statistics 1245184