Bug 54233

Summary: Memory Leak, High RAM Usage
Product: [Retired] Red Hat Linux Reporter: Nick H <te_necro>
Component: bindAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: high    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-10-02 13:02:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Nick H 2001-10-02 03:15:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)

Description of problem:
There seems to be a memory leak problem with Bind/Named ver 9.1.0 under 
RedHat 7.1. My pc is a p3 500 with 96 megs of ram. Named is running as a 
DNS caching server on my gateway for the local lan.

It has two 10/100 mbit network cards 1 connected to oputs@home and the 
other the local lan. 

After a fresh boot my gateway uses upto 34-36 megs of RAM, after named has 
been running for awhile all 96 megs is being used and so is part of the 
128 meg swap... (but only upto 3 megs of the swap if that.)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.run named as a DNS caching server.
2.use it for > 12 hours 
3.top and look at RAM usage :P~

Actual Results:  RAM is totaly used up unnecessarly, top only says that 
named is using upto 20 megs or so, but another 40 - 60 megs goes missing 


Additional info:

Even if i kill or stop named and reload all the RAM still doesnt come 
back, have to reboot to get RAM back.

Comment 1 Michael Schwendt 2001-10-02 13:02:26 UTC
Instead of misinterpreting the output of "top", better have a look at the second
output line of "free", or run "xosview", and observe how much of your otherwise
unused RAM is used for buffers and cache *temporarily*. And that swap space is
used although the system is not short on memory has been the nature of the 2.4
kernels so far.

Comment 2 Bernhard Rosenkraenzer 2001-10-24 11:30:04 UTC
I agree with mschwendt@web.de's comment - chances are you are misinterpreting 
the numbers, especially considering that named passed all our tests and the 
named running on bero.org (primary for 93 domains, secondary for 16 others) is 
using up just 4 MB RAM after 214 days of uptime.