Comments

5 comments

  • Avatar
    Srikanth Seshadri

    1. Agents are multithreaded. Not sure why you ask this question? Can you please elaborate.

    2. Yes, local agents (agents on same machine as go server) are supported. If you have powerful box - such a setup helps exploit the resources you have on the box.

    regards

    Srikanth

  • Avatar
    Nimish Patel

    I was asking so I know if giving a go agent more CPU's would get utilized.

     

    Another question I have is: I have a go-server which has about 8GB's of RAM and the memory creeps up to 8GB's of RAM and just stays there and does not come back down. Is this expected or some kind of memory leak? What could be happening? 

  • Avatar
    Srikanth Seshadri

    The memory usage depends on the Heap Size set. For Go server min(-Xms) and  max(-Xmx) is set to the same. So the memory would stay at the heap size set, all the time.

    Please check the heap size setting and verify.

    regards

    Srikanth


  • Avatar
    Nimish Patel

    The -Xms & -Xmx are both set to 3072m. When I do top in linux I'm seeing

     PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND

     32055 go        20   0 5943m 1.7g  17m S       1.0      22.6      70:07.40     java

  • Avatar
    Srikanth Seshadri

    Hi Nimish,

    You heap size is 3G currently java is using 1.7g as indicated by RES column(http://mugurel.sumanariu.ro/linux/the-difference-among-virt-res-and-shr-in-top-output/).

     

    regards

    Srikanth

Please sign in to leave a comment.