Symptom
SNMPD process crash in scaled scenario
Conditions
In scale setup memory allocation for SNMP process is getting exhausted when large scale if OSPF routes and LSA are getting created in 32 bit system.
Workaround
Don't create enormous amount of OSPF areas and LSA.
Further Problem Description
Issue in detail:
- Creation of 500 L3Out config(scale) and further attaching of OSPF policy with all SVI creates 500 OSPF area
- Each OSPF area has 1000 LSA. So, total number of LSA would be
500 (area) x 1000 (routes) = 5Lacs LSA entries
- NMP creates 8 sub-oid entries for single LSA as:
5lacs x 8 = 4000000
- 4000000 x 400(bytes for single entry) = 1,600,000,000 = 1.6GB of memory for LSA entries.
Above config will not scale with 32 bit system where SNMP RLIMIT is 4GB.