Bug 147 - NSD server grows memory until out of memory
NSD server grows memory until out of memory
Status: RESOLVED FIXED
Product: NSD
Classification: Unclassified
Component: NSD Code
3.0.x
All All
: P2 major
Assigned To: NSD team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-26 17:01 CEST by Wouter Wijngaards
Modified: 2006-09-29 11:07 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wouter Wijngaards 2006-09-26 17:01:17 CEST
When serving secondary zones and having large amounts of zone transfers, the NSD server process will grow in memory consumption. This may cause out of memory during reloads - symptoms are that reloads fail with out of memory, then restarting NSD will succeed in starting the daemon again.
The logfile has "memory churn is .. bytes wasted" with very large values.

This is due to the design choice of not reusing memory during zone-updates from zone transfers. This choice was made for speed, but also ease and safety of the code. Envisioned fix is to implement (some form of) memory reuse.
Comment 1 Wouter Wijngaards 2006-09-29 11:07:17 CEST
Current svn (for 3.0.2 release) contains a fix for this bug, that reuses memory.