Modify

Opened 3 years ago

Last modified 3 years ago

#18419 new defect

logd / high load and eats memory if >1 (kernel-)mssage/sec - r43102

Reported by: bittorf@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

when producing more than 1 (kernel-)logmssage/sec, the router has
high load, eats memory, hangs or the watchdog triggers.
reproduce with:

root@box:~ iptables -I INPUT -j LOG

root@box:~ uptime
 11:08:19 up 27 min,  load average: 6.67, 5.16, 2.54

root@box:~ free
             total         used         free       shared      buffers
Mem:         28996        19636         9360            0         1280
-/+ buffers:              18356        10640
Swap:        14332         2784        11548

it does not happen with older revisions, e.g. r37631 or r38651

if the router reboots, even
/sys/kernel/debug/crashlog is empty.

we use a circular buffer via
system.@system[0].log_size=16

interesting is, that userspace seems unaffected?

root@box:~ MSSAGE="$( seq 1 256 )"
root@box:~ while :;do logger "$MSSAGE"; done
(wait...everything is ok, even after some minutes)

PS:
please fix track, when using the word 'm e s s a g e', it is always rejected as spam even when the catcha is solved - tried with firefox and chrome.

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by bittorf@…

it does not happen with r43392 / kernel 3.14 - i will do some more tests to be really sure and report.

comment:2 Changed 3 years ago by bittorf@…

it still happens with recent trunk / r43419 on the same box (1043nd v1) - so it must be something configuration-related. it tried to disable loading of specific kernel-modules, but this seems not possible anymore? (commenting them out in /etc/modules.d/* ) - should i open another ticket for that?

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.