netdev
[Top] [All Lists]

Fw: [Bugme-new] [Bug 4119] New: no space left on device, when doing "cat

To: netdev@xxxxxxxxxxx
Subject: Fw: [Bugme-new] [Bug 4119] New: no space left on device, when doing "cat /proc/net/ip_conntrack | wc -l"
From: Andrew Morton <akpm@xxxxxxxx>
Date: Fri, 28 Jan 2005 14:25:20 -0800
Cc: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx

Begin forwarded message:

Date: Fri, 28 Jan 2005 11:46:35 -0800
From: bugme-daemon@xxxxxxxx
To: bugme-new@xxxxxxxxxxxxxx
Subject: [Bugme-new] [Bug 4119] New: no space left on device, when doing "cat 
/proc/net/ip_conntrack | wc -l"


http://bugme.osdl.org/show_bug.cgi?id=4119

           Summary: no space left on device, when doing "cat
                    /proc/net/ip_conntrack | wc -l"
    Kernel Version: 2.6.10
            Status: NEW
          Severity: normal
             Owner: laforge@xxxxxxxxxxxx
         Submitter: philippe.malaise@xxxxxxxxxxx


Distribution: slackware
Hardware Environment: i386
Software Environment: linux
Problem Description: 

   After upgrading from 2.6.x to 2.6.10, after some days running, when the nat
table is filled with thousands of lines  , when you do a :

cat /proc/net/ip_conntrack | wc -l

You get a number of lines (currently between 22k and 23k), preceeded by the
message "No space left on device".
Note that the ip_conntrack_max parameter in the proc fs is set to 65535.
The problem appears randomly.
When doing a strace of the previous command, you see possibly a buffer overflow.

If you decrease the ip_conntrac_max value to 8192, the problem disappears.




Steps to reproduce:

- set the ip_conntrack_max parameter to 65535
- wait for some hours, opening a lot of connections recorded in the ip_conntrack
file ( proc fs )
- do a "wc -l" of the conntrack file
- you randomly get the error....

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

<Prev in Thread] Current Thread [Next in Thread>
  • Fw: [Bugme-new] [Bug 4119] New: no space left on device, when doing "cat /proc/net/ip_conntrack | wc -l", Andrew Morton <=