...
Code Block |
---|
|
-Xlog:gc*:/usr/local/FlashphonerWebCallServer/logs/gc-core-:time |
5. Tune the wcsAdd the following setting to wcs-core.properties properties (for example, allocating 24G under memory heap):
Code Block |
---|
|
# ZGC
-XX:+UnlockExperimentalVMOptions -XX:+UseZGC -Xms24g -Xmx24g |
6. If hugepages is planning to use, add the following settings to wcs-core.properties:
Code Block |
---|
|
-XX:+UseLargePages -XX:ZPath=/hugepages |
Code Block |
---|
|
-XX:+UseLargePages -XX:ZPathAllocateHeapAt=/hugepages |
6. Сonfigure Then configure hugepages according to the recommendations (the number of memory pages (2048K each) with a margin to the memory for heap (1,125 * 24G * 1024 / 2M)) and add the required parameters in the server startup (Centos example):
...