Hi all,
we have some issue with Aerospike in 2 node cluster. Randomly (every 5-10 minutes) we get randomly error CONNECTION TIMEOUT from PHP 7.1 . Usually is about 300 connections. All reads & writes are going to one node. Server is Debian 8, load average about 0.2 and none iowait (two SSD in RAID1).
Error from PHP library:
Aerospike write error 9 -> Timeout: timeout=3000 iterations=1 failedNodes=0 failedConns=0
This is our configuration:
service {
paxos-single-replica-limit 1
auto-pin cpu
nsup-startup-evict true
nsup-period 60
proto-fd-max 100000
}
logging {
file /var/log/aerospike/aerospike.log {
context any info
context migrate debug
}
console {
context any info
}
}
network {
service {
address bond0
port 3000
}
heartbeat {
mode mesh
address 192.168.201.35
port 3002
mesh-seed-address-port 192.168.201.35 3002
mesh-seed-address-port 192.168.201.36 3002
interval 150
timeout 10
}
fabric {
port 3001
}
info {
port 3003
}
}
namespace codes {
replication-factor 2
memory-size 32G
default-ttl 0
high-water-memory-pct 95
high-water-disk-pct 95
stop-writes-pct 95
storage-engine device {
device /dev/vg/aerospike
write-block-size 128K
post-write-queue 2048
max-write-cache 512M
}
}
namespace live_stats {
memory-size 1G
replication-factor 2
high-water-memory-pct 60
stop-writes-pct 99
default-ttl 0
storage-engine memory
}
Thank you.