The autoproxy module appears to have a leak when a http request is made. Observe the RSS is increasing with each request. This has been observed on Tcl 8.5 and 8.6 running on FreeBSD 9.1 and 10.1, and with 1.16 and 1.17 versions of tcllib.

Sample program will be attached in follow up.


request 0
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  1.6  0.0 54200 8832  1  S+    3:48PM 0:00.19 ./leak.tcl
request 1
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  1.2  0.0 54200 8968  1  S+    3:48PM 0:00.20 ./leak.tcl
request 2
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  1.1  0.0 54200 8976  1  S+    3:48PM 0:00.21 ./leak.tcl
request 3
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  1.1  0.0 54200 8976  1  S+    3:48PM 0:00.22 ./leak.tcl
request 4
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.8  0.0 54200 8980  1  S+    3:48PM 0:00.23 ./leak.tcl
request 5
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.7  0.0 54200 8984  1  S+    3:48PM 0:00.24 ./leak.tcl
request 6
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.7  0.0 54200 8992  1  S+    3:48PM 0:00.26 ./leak.tcl
request 7
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.6  0.0 54200 8992  1  S+    3:48PM 0:00.27 ./leak.tcl
request 8
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.6  0.0 54200 8992  1  S+    3:48PM 0:00.28 ./leak.tcl
request 9
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.5  0.0 54200 8996  1  S+    3:48PM 0:00.29 ./leak.tcl
request 10
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.6  0.0 54200 9008  1  S+    3:48PM 0:00.30 ./leak.tcl
request 11
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.6  0.0 54200 9012  1  S+    3:48PM 0:00.32 ./leak.tcl
request 12
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.5  0.0 54200 9136  1  S+    3:48PM 0:00.33 ./leak.tcl
request 13
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.5  0.0 54200 9140  1  S+    3:48PM 0:00.34 ./leak.tcl
request 14
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.5  0.0 54200 9152  1  S+    3:48PM 0:00.35 ./leak.tcl
request 15
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.4  0.0 54200 9152  1  S+    3:48PM 0:00.36 ./leak.tcl
request 16
USER          PID %CPU %MEM   VSZ  RSS TT  STAT STARTED    TIME COMMAND
jeff.lawson 11749  0.5  0.0 54200 9152  1  S+    3:48PM 0:00.37 ./leak.tcl