Hi,
a few days ago we had a problem with the Range server. Below is the only useful information i got from the logs. The other maybe connected thing is that we had a swap space spike around that time. It went from 80% free to to zero in a minute.
Is there any other logs i could check? Are there other things we could do to prevent the low memory situation, besides adding more memory?
The database ran for almost month before the crash.
RangeServer.log file:
1450803429 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/RangeServer/AccessGroup.cc:824) Finished Compaction of 2/26641[..ÿÿ](default) to /hypertable/tables/2/26641/default/qyoNKN5rd__dbHKv/cs7
1450803429 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/RangeServer/AccessGroup.cc:824) Finished Compaction of 2/26690[..ÿÿ](default) to /hypertable/tables/2/26690/default/qyoNKN5rd__dbHKv/cs399
1450803429 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/RangeServer/AccessGroup.cc:552) Starting Minor Compaction of 2/26691[..ÿÿ](default)
1450803429 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/RangeServer/AccessGroup.cc:545) Starting GC Compaction of 2/6970[6,bdb050-1458873 1448233795:148131609..ÿÿ](default)
1450803429 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/RangeServer/TimerHandler.cc:211) Application queue PAUSED due to low memory
1450803443 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/RangeServer/AccessGroup.cc:824) Finished Compaction of 2/26691[..ÿÿ](default) to /hypertable/tables/2/26691/default/qyoNKN5rd__dbHKv/cs399
1450803443 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/RangeServer/AccessGroup.cc:824) Finished Compaction of 2/26638[..ÿÿ](default) to /hypertable/tables/2/26638/default/qyoNKN5rd__dbHKv/cs56
1450803443 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/RangeServer/AccessGroup.cc:824) Finished Compaction of 2/6970[6,4fd5a-89610 1437206883:7659068..6,bdb050-1458873 1448233795:148131609](default) to /hypertable/tables/2/6970/default/eypYI2CLSiaxIWNW/cs125
1450803443 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/Lib/CommitLog.cc:341) purge(/hypertable/servers/rs1/log/root,rev=1433507403402040001) breaking on FileInfo=(logdir=/hypertable/servers/rs1/log/root,num=0,revision=1433507403426878001,references=0,rmOk=0)
1450803443 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/Lib/CommitLog.cc:341) purge(/hypertable/servers/rs1/log/metadata,rev=1433507403515678001) breaking on FileInfo=(logdir=/hypertable/servers/rs1/log/metadata,num=0,revision=1435758422825719001,references=0,rmOk=0)
1450803443 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/Lib/CommitLog.cc:341) purge(/hypertable/servers/rs1/log/system,rev=1446958813749711001) breaking on FileInfo=(logdir=/hypertable/servers/rs1/log/system,num=13,revision=1447016414209019154,references=0,rmOk=0)
1450803443 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/Lib/CommitLog.cc:374) Removing log fragment '/hypertable/servers/rs1/log/user/3583' revision=1450787232845818004, parent=0
1450803443 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/Lib/CommitLog.cc:341) purge(/hypertable/servers/rs1/log/user,rev=1450787256719318001) breaking on FileInfo=(logdir=/hypertable/servers/rs1/log/user,num=3584,revision=1450789724245787002,references=0,rmOk=0)
1450803443 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/RangeServer/MaintenanceScheduler.cc:349) Memory Statistics (MB): VM=153023.64, RSS=9849.67, tracked=7307.29, computed=7301.03 limit=7142.40
1450803443 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/RangeServer/MaintenanceScheduler.cc:354) Memory Allocation: BlockCache=60.07% BlockIndex=0.58% BloomFilter=14.38% CellCache=24.31% ShadowCache=0.00% QueryCache=0.65%
1450803443 INFO htRangeServer : (/root/src/hypertable/src/cc/Hypertable/RangeServer/MaintenancePrioritizerLowMemory.cc:199) WRITE workload prioritization (update_bytes=581335608, scan_count=4)
1450806984 INFO htRangeServer : (/root/src/hypertable/src/cc/Common/Config.cc:632) Initializing htRangeServer (Hypertable 0.9.8.6 (v0.9.8.6-0-gf4a780a))...