我要评分
获取效率
正确性
完整性
易理解

Insufficient Memory Reported During Global Cache Startup

Symptom

Global Cache fails to be started. The gcache.log file in /var/log/gcache indicates that the free memory of the OS is insufficient.

Cause Analysis

During the startup, Global Cache checks the available memory of the OS by checking the value of MemFree in /proc/meminfo. If the value is less than the value of start_mem_limit in the node_config.xml file, Global Cache fails to be started. The default value is 180 GB.

Solution

Run the echo 1 > /proc/sys/vm/drop_caches command to clear the OS cache (this command will clear the page cache in the OS, which may affect application performance) or increase the memory configuration of the server. Ensure that the available memory is greater than the configured value, and then start Global Cache.