Menu

#1506 TCL Var service set/resolve leaks memory

All
open
nobody
None
5
2013-12-10
2013-10-22
Nixon
No

The var service set/resove requests are leaking memory. Kindly run the attached program. Every 10K set, ~2MB memory is being leaked. the memory is free only when the program is terminated. Kindly look into this issue.

tclsh /usr/local/staf/bin/STAF.tcl local ping ping

Response

PONG
total used free shared buffers cached
Mem: 9881 2258 7622 0 110 1453
-/+ buffers/cache: 695 9185
Swap: 2047 21 2026
total used free shared buffers cached
Mem: 9881 2261 7620 0 110 1453
-/+ buffers/cache: 697 9183
Swap: 2047 21 2026
total used free shared buffers cached
Mem: 9881 2263 7618 0 110 1453
-/+ buffers/cache: 699 9181
Swap: 2047 21 2026
total used free shared buffers cached
Mem: 9881 2265 7615 0 110 1453
-/+ buffers/cache: 702 9178
Swap: 2047 21 2026
total used free shared buffers cached
Mem: 9881 2268 7613 0 110 1453
-/+ buffers/cache: 704 9176
Swap: 2047 21 2026

1 Attachments

Discussion

  • Sharon Lucas

    Sharon Lucas - 2013-10-29

    What version of STAF are you using? STAF local MISC VERSION

    Which installer file did you using to install STAF? Provide the output from the following command when run on the machine where you're seeing a memory leak in STAFProc:

    STAF local MISC LIST PROPERTIES

     
  • Nixon

    Nixon - 2013-10-30

    Thanks for looking into this issue.

    staf local misc version

    Response

    3.4.14

    staf local misc list properties

    Response

    version : 3.4.14
    platform : linux-amd64
    architecture: 64-bit
    installer : IA
    file : STAF3414-setup-linux-amd64.bin
    osname : Linux
    osversion : *
    osarch : amd64

    I used this file STAF3414-setup-linux-amd64.bin
    chmod +x STAF3414-setup-linux-amd64.bin
    ./STAF3414-setup-linux-amd64.bin (left all values default)

    I am seeing this issue on the 32 bit system as well

     
  • Nixon

    Nixon - 2013-12-10

    please look into this issue. were you be able to reproduce this issue with the attached script in the first thread?

     

Log in to post a comment.