Bug 112622 - ip_conntrack_ftp memory leak
Summary: ip_conntrack_ftp memory leak
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
(Show other bugs)
Version: 7.3
Hardware: i686 Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2003-12-24 19:42 UTC by Stephen John Smoogen
Modified: 2005-10-31 22:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-30 15:41:45 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Stephen John Smoogen 2003-12-24 19:42:08 UTC
Description of problem:

We are currently seeing a memory leak when the ip_conntrack_ftp module
is loaded into the kernel. THe leak can be seen in the difference
between what /proc/slabinfo and /proc/net/ip_conntrack lists as the
number of items in their caches. The slabinfo fills up slowly and
eventually the machine will report that it.

Version-Release number of selected component (if applicable):
2.4.20-24 and 2.4.20-27 have had this problem. 

How reproducible:
100% with a simple ftp firewall

iptables -i lo   -A INPUT -j ACCEPT
iptables -i eth0 -A INPUT -p icmp -j ACCEPT
iptables -i eth0 -A INPUT -p tcp --dport 21 -j ACCEPT
iptables -i eth0 -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -i eth0 -A OUTPUT -j ACCEPT

Steps to Reproduce:
1. insert firewall
2. ping and do lots of downloads
3. watch box fall over after 7 days.

Comment 1 Stephen John Smoogen 2004-02-19 22:26:27 UTC
The fix is to not use the patches for netfilter that seem to be in one
of the AC patches. I have found that using a 'clean' pom to the source
code does not show this problem.. and the patch in question was stuck
in one of the AC patch-balls.

I have been able to replicate it in a RHL 9 kernel so it may still be
relevant to Red Hat services currently. It is not replicable in
Enterprise 2.1/3 (thankfully).

Comment 2 Bugzilla owner 2004-09-30 15:41:45 UTC
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem

The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases, 
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/

Note You need to log in before you can comment on or make changes to this bug.