Cisco CNR dhcp.ndb filesize
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2012 12:33 PM
Hello this file is 47G big and there is not more space on server.
Is it possible to somehow empty this database ?
ip-history was 4w and now is off but file is not smaller.
- Labels:
-
Application Networking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2012 02:00 AM
Dragoljub, this appears to be defect CSCeh41784 "CNR dhcp.ndb grows extremely large with ip history turned on", fixed in version 6.1(2.1). These are the release notes (incl workround) for this defect.
The default value of 0 for the visibility 3 dhcp attribute,
ip-history-trim-interval, disables ip-history trimming and
will cause the lease state database to grow without bound,
creating a huge dhcp.ndb file.
As a workaround, set this value to a small, reasonable value
such as 1 day.
For example:
nrcmd> session set visibility=3
nrcmd> dhcp set ip-history-trim-interval=1d
This will configure the server to run ip-history trimming
once a day, and delete any accumulated records that exceed the
ip-history-max-age.
Please make the changes suggested and monior the file size.
Matthew
