Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#19657 closed defect (wontfix)

knockd - abnormal memory footprint at runtime

Reported by: sturia@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Attitude Adjustment 12.09
Keywords: knockd ar7 memory RAM Cc:

Description

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 <jvinet@zeroflux.org>

Attachments (0)

Change History (4)

comment:1 Changed 3 years ago by nbd

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

knockd is unmaintained. No changes will be made to it until it is submitted to github and maintained by somebody.

comment:2 Changed 3 years ago by anonymous

thanks; are there any other daemons available on openwrt performing the same task?
thanks

comment:3 Changed 3 years ago by JBennett@…

Take a look at fwknopd. I maintain it, and we just pushed a luci interface into trunk. discussion here: https://forum.openwrt.org/viewtopic.php?id=57354

comment:4 Changed 3 years ago by anonymous

great, thanks

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.