Layer7 API Management

  • 1.  On the gateway to check java

    Posted Jul 18, 2018 10:13 AM

    Hi There,

    How could I check on the gateway 9.1 how much xmx and xms assigned for the gateway to process?



  • 2.  Re: On the gateway to check java

    Broadcom Employee
    Posted Jul 18, 2018 12:52 PM

    Hi,

     

    You can run:

     

     ps awwx | grep Gateway.jar

     

    Regards,

    Joe



  • 3.  Re: On the gateway to check java

    Posted Jul 18, 2018 02:28 PM

    how can i change xmx and xms?



  • 4.  Re: On the gateway to check java

    Broadcom Employee
    Posted Jul 18, 2018 03:53 PM

    Hi Sharath,

     

    Details can be found here for changing these:

     

    How do I increase java memory allocated to the gat - CA Knowledge 

     

    Regards,

    Joe



  • 5.  Re: On the gateway to check java

    Posted Jul 18, 2018 04:10 PM

    I there i want to increase this Xss from default 256k to 12mb.Pls, advice how could I perform it.



  • 6.  Re: On the gateway to check java
    Best Answer

    Broadcom Employee
    Posted Jul 18, 2018 10:20 PM

    In the file /opt/SecureSpan/Gateway/runtime/etc/profile.d/appliancedefs.sh (mentioned in KB article above), find the following line,

    NODE_OPTS="-Xmx${java_ram}k -Xss256k -XX:+UseParallelOldGC"

     

    you can change the -Xss256k in that line.