#18419: logd / high load and eats memory if >1 (kernel-)mssage/sec - r43102
-----------------------+------------------------
 Reporter:  bittorf@…  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  packages   |    Version:  Trunk
 Keywords:             |
-----------------------+------------------------
 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.

--
Ticket URL: <https://dev.openwrt.org/ticket/18419>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to