#19657: knockd - abnormal memory footprint at runtime
-----------------------------------+---------------------------------------
Reporter: sturia@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Attitude Adjustment 12.09
Keywords: knockd ar7 memory RAM |
-----------------------------------+---------------------------------------
Hi,
on an AR7 box (G624t) running Attitude Adjustment the currently available
knockd implementation available knockd_0.5-1 consumes more than 4MB of
main memory, which makes knockd almost useless on low-memory boxes. The
same knockd daemon, compiled outside openwrt and running on another fw
release on the same box, consumes KBs of memory instead of MBs.
Evidences below are from Attitude Adjustment, but it apparently happens
also on Barrier Breaker for brcm47xx.
{{{
root@OpenWrt:~# free
total used free shared buffers
Mem: 29388 25640 3748 0 1924
-/+ buffers: 23716 5672
Swap: 0 0 0
root@OpenWrt:~# killall knockd
root@OpenWrt:~# free
total used free shared buffers
Mem: 29388 21308 8080 0 1924
-/+ buffers: 19384 10004
Swap: 0 0 0
root@OpenWrt:~# knockd_restart.sh
knockd now running with pid 5180
root@OpenWrt:~# free
total used free shared buffers
Mem: 29388 25648 3740 0 1924
-/+ buffers: 23724 5664
Swap: 0 0 0
root@OpenWrt:~#
root@OpenWrt:~# uname -ra
Linux OpenWrt 3.3.8 #1 Sat Mar 23 14:45:52 UTC 2013 mips GNU/Linux
root@gw-bw:~# knockd --version
knockd 0.5
Copyright (C) 2004-2005 Judd Vinet <[email protected]>
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/19657>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets