Modify

Opened 7 years ago

Closed 7 years ago

#9128 closed defect (duplicate)

Memleak with QoS

Reported by: pyther@… Owned by: developers
Priority: high Milestone: Backfire 10.03.1
Component: kernel Version: Trunk
Keywords: Cc:

Description

Running Backfire SVN 26330 I get a memleak when QoS is enabled.

Hardware: Buffalo WZR-HP-G300NH (ar71xx)

At router startup htop reports about 11MB usage. A few hours later htop reports 21MB of RAM usage.

The Slab memory usage appears to continuously increase and never seems to decrease. I have attached the output of "date; free; cat /proc/meminfo" at router startup, few minutes after QoS is enabled and lastly a couple hours after QoS is enabled.

nbd had me try the following

  1. Disable QoS <== solved the problem
  2. Comment 'option 'download' '4970' in qos.conf
  3. Comment 'option 'download' '4970' in qos.conf and rmmod imq

The last two things did not help. I still had the memleak. Each time I made a change I rebooted the router (to clear the memory).

Disabling QoS appears to eliminate the memory leak.

The issues is accelerated when running a torrent client (deluged) with DHT enabled. Within 18-24 hours all the RAM would be used resulting in my router crashing. Disabling DHT helps greatly, but there is a slow and gradual leak. The same applies when I disable the torrent client all together.
Note: Torrent Client is on a separate box on the network

This did not exist in 10.03.1-rc4

I have also attached the config file I used to build the image.

Attachments (2)

router-memusage-qos.txt (2.9 KB) - added by pyther@… 7 years ago.
meminfo and free output
.config (107.0 KB) - added by pyther@… 7 years ago.
Config File

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by pyther@…

meminfo and free output

Changed 7 years ago by pyther@…

Config File

comment:1 Changed 7 years ago by hato

Did you use L7 filter? Refer to #8590 for what I'm asking.

comment:2 Changed 7 years ago by pyther@…

Yes I have a L7 filter for Bittorrent Traffic.

comment:3 Changed 7 years ago by nbd

  • Resolution set to duplicate
  • Status changed from new to closed

followups should be discussed in #8590, marking this one as duplicate

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.