Configuring JVM settings for the WebSphere proxy server

Configure Java™ Virtual Machine settings for the IBM® WebSphere® proxy server operating in front of a cluster of SIP Proxy/Registrars of the IBM Sametime® Media Manager.

About this task

With these settings, the operating system allocates 3G memory for the WebSphere SIP proxy process. Therefore, make sure that the computer running the WebSphere SIP proxy server has enough RAM.

Procedure

  1. On the WebSphere proxy server, log in to the Integrated Solutions Console as the WebSphere administrator.
  2. Click Servers > Server Types > WebSphere proxy servers.
  3. In the proxy servers table, click the name of the proxy server you are updating.
  4. In the Server Infrastructure section, click Java and Process management > Process Definition.
  5. In the "Additional Properties" section, click Java Virtual Machine.
  6. In the Initial Heap Size field, enter 768.
  7. In the Maximum Heap Size field, enter 1536.
  8. In the Generic JVM arguments field, enter the following value as one continuous line:
    -Xmn150m -Xgcpolicy:gencon -Xgc:noAdaptiveTenure,tenureAge=1,stdGlobalCompactToSatisfyAllocate -XX:MaxDirectMemorySize=2048000000 
    Important: The Generic JVM arguments must be entered as a single continuous line, despite the fact that it might have been broken into several lines due to documentation formatting limitations.
  9. Click OK.
  10. Save the changes to the master configuration by clicking the Save link in the "Messages" box at the beginning of the page.
  11. On the Process Definition page, in the Additional Properties section, click Java Virtual Machine.
  12. Click Custom Properties.
  13. Click New and complete these fields:
    • Name: Enter java.net.preferIPv4Stack
    • Value: Enter true
    Click OK.
  14. Save the changes to the master configuration by clicking the Save link in the "Messages" box at the beginning of the page.
  15. Navigate back to the Process definition page.
  16. Click Logging and tracing.
  17. Click JVM Logs.
  18. In the SystemOut section, complete these fields:
    • Maximum Size - Enter 20
    • Maximum Number of Historical Log files - Enter 20
  19. In the System.err section, complete these fields:
    • Maximum Size - Enter 20
    • Maximum Number of Historical Log files - Enter 20
    Click OK.
  20. Save the changes to the master configuration by clicking the Save link in the "Messages" box at the beginning of the page.
  21. Restart the WebSphere proxy server.
  22. If you deployed more than one WebSphere proxy server in front of the cluster, repeat this task for the other proxy servers.