Hi all. We faced trouble with restarting of aerospike. how does it look:
-
we have namespace which are use storage-engine device
-
as s device is a HDD disk - 2TB
-
for now storage contain only 100GB of data
namespace tv20 { replication-factor 2 memory-size 26G default-ttl 14d device /dev/sdb write-block-size 128K
Our problem started with eviction of date from namespace - i have found this topic Why Aerospike evicted data? and make adjustment of aerospike config
namespace tv20 {
high-water-memory-pct 90 # added
high-water-disk-pct 90 # added
stop-writes-pct 90 # added
replication-factor 2
memory-size 26G
default-ttl 14d
device /dev/sdb
write-block-size 128K
And just make service aerospike restart from command line. For now restating have taken 4 days and have estimate about for 2 days.
Jul 31 2017 05:55:21 GMT: INFO (sindex): (secondary_index.c:4409) Sindex-ticker: ns=tv20 si=<all> obj-scanned=147000000 si-mem-used=606951 progress= 60% est-time=167798425 ms
So restarting aerospike with 100GB of data will be ended in 6 days. Its kinda very bad situation for production. How can I resolve with problem? How to decrease time for restarting to 5-10 minutes? Maybe I’m doing something wrong?
aerospike-server-community 3.14.0.2-1
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"