Cannot allocate memory
pfsense version 2.4.5 p1
I use FRR to setup BGP connection with my ISP. They will advertise about 5000 routes ro my PFsense. My BGP connection is up and receive all routes. I use the below command to check it in vtysh console
sh ip route summary
In the pfsense console, I try to use the command netstat -nr | wc -l to check it. My pfsense get 1xx routes only. Sometimes, I run the command
netstat -nr, I get the below error message
"Re: netstat: sysctl: net.route.0.0.dump.0: Cannot allocate memory"
Is it any route capacity in pfsene table, please advise.
Hmm, does it only ever get <200 routes in the system table?
That error message is associated with running netstat whilst routes are still being added to the table such that by the time it tries to display the routes there are more than the space it allocated memory for.
However 5000 routes isn't that many, I would expect that to complete loading into the system table quite quickly.
No, it display >300 routes (about 10 hours later). We reboot the server. We can see all routes in command nestat -nr. Cannot find the root cause.
It takes 10h to add 300 routes?
yon 0 last edited by