OSPFd from Quagga crashing
-
This is on 2.1 release
Oct 2 16:09:16 fw04 ospfd[81907]: nsm_change_state(0.0.6.14, Full -> Deleted): scheduling new router-LSA origination Oct 2 16:09:16 fw04 ospfd[81907]: Link State Update: Unknown Neighbor 0.0.6.14 on int: ovpns2:192.168.8.1 Oct 2 16:09:16 fw04 ospfd[81907]: calloc : can't allocate memory for `' size 40: Cannot allocate memory Oct 2 16:09:16 fw04 ospfd[81907]: Memory utilization in module LIB: Oct 2 16:09:16 fw04 ospfd[81907]: Temporary memory : 1 Oct 2 16:09:16 fw04 ospfd[81907]: String vector : 6291 Oct 2 16:09:16 fw04 ospfd[81907]: Vector : 3116 Oct 2 16:09:16 fw04 ospfd[81907]: Vector index : 3116 Oct 2 16:09:16 fw04 ospfd[81907]: Link List : 350 Oct 2 16:09:16 fw04 ospfd[81907]: Link Node : 353 Oct 2 16:09:16 fw04 ospfd[81907]: Thread : 36 Oct 2 16:09:16 fw04 ospfd[81907]: Thread master : 1 Oct 2 16:09:16 fw04 ospfd[81907]: Thread stats : 22 Oct 2 16:09:16 fw04 ospfd[81907]: Thread function name : 51 Oct 2 16:09:16 fw04 ospfd[81907]: Interface : 100 Oct 2 16:09:16 fw04 ospfd[81907]: Connected : 44 Oct 2 16:09:16 fw04 ospfd[81907]: Buffer : 1 Oct 2 16:09:16 fw04 ospfd[81907]: Stream : 3 Oct 2 16:09:16 fw04 ospfd[81907]: Stream data : 5 Oct 2 16:09:16 fw04 ospfd[81907]: Prefix : 77 Oct 2 16:09:16 fw04 ospfd[81907]: Hash : 1 Oct 2 16:09:16 fw04 ospfd[81907]: Hash Bucket : 22 Oct 2 16:09:16 fw04 ospfd[81907]: Hash Index : 1 Oct 2 16:09:16 fw04 ospfd[81907]: Route table : 585 Oct 2 16:09:16 fw04 ospfd[81907]: Route node : 197 Oct 2 16:09:16 fw04 ospfd[81907]: Command desc : 3154 Oct 2 16:09:16 fw04 ospfd[81907]: Logging : 1 Oct 2 16:09:16 fw04 ospfd[81907]: Zclient : 1 Oct 2 16:09:16 fw04 ospfd[81907]: Priority queue : 1 Oct 2 16:09:16 fw04 ospfd[81907]: Priority queue data : 1 Oct 2 16:09:16 fw04 ospfd[81907]: Host config : 2 Oct 2 16:09:16 fw04 ospfd[81907]: Memory utilization in module ZEBRA: Oct 2 16:09:16 fw04 ospfd[81907]: Memory utilization in module RIP: Oct 2 16:09:16 fw04 ospfd[81907]: Memory utilization in module RIPNG: Oct 2 16:09:16 fw04 ospfd[81907]: Memory utilization in module OSPF: Oct 2 16:09:16 fw04 ospfd[81907]: OSPF top : 1 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF area : 1 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF network : 7 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF interface : 10 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF neighbor : 10 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF route : 76 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF LSA : 9 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF LSA data : 9 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF LSDB : 2 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF FIFO queue : 7 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF vertex : 5 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF vertex parent : 3 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF nexthop : 2 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF path : 76 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF if info : 100 Oct 2 16:09:16 fw04 ospfd[81907]: OSPF if params : 101 Oct 2 16:09:16 fw04 ospfd[81907]: Memory utilization in module OSPF6: Oct 2 16:09:16 fw04 ospfd[81907]: Memory utilization in module ISIS: Oct 2 16:09:16 fw04 ospfd[81907]: Memory utilization in module BGP: Oct 2 16:09:16 fw04 ospfd[81907]: No backtrace available on this platform. Oct 2 16:09:16 fw04 zebra[81713]: client 23 disconnected. 38 ospf routes removed from the rib
Its the second time its done this today.
calloc : can't allocate memory for `' size 40: Cannot allocate memory
The package version is 0.99.20.1.
After I restarted OSPFd, it was using 11 MB of memory. Which appears to stay more or less constant. Routes are fairly simple.
Any pointers where to look next?
Thanks,
Shahid
-
How much RAM is on the system? How much is in use? Any swap? How does your mbuf usage look? Any other errors in the system log?