스왑메모리 체크 방법 3가지 [darksharavim]free -h total used free shared buff/cache available Mem: 15G 7.4G 4.3G 219M 3.8G 7.5G Swap: 5.0G 1.0G 4.0G 1. /proc/[pid]/smaps [darksharavim]cat /proc/29771/smaps | more 00400000-01028000 r-xp 00000000 fd:00 105860612 /apps/php7/sbin/php-fpm (deleted) Size: 12448 kB Rss: 0 kB Pss: 0 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 0 kB Re..
가이드에는 힙사이즈를 전체 물리 메모리의 50%로 셋팅하는것으로 권장. 32기가라면 16기가정도로 셋팅. Set Xms and Xmx to no more than 50% of your total memory. Elasticsearch requires memory for purposes other than the JVM heap. For example, Elasticsearch uses off-heap buffers for efficient network communication and relies on the operating system’s filesystem cache for efficient access to files. The JVM itself also requires some memory. I..