Hi,
I’ve been fighting with aerospike since late last night.
I have a maximum memory allocation for a virtual machine of 4GB.
I need 3 bins to simulate my production environment.
I keep on getting Server Full issues.
I’ve done:
sysctl vm.overcommit_memory=1
But to no avail.
Below is my config.
I’m at the point, where I just want this to work, test it and put it into production.
Don’t care of I have to rig something to make it work, just want it to work!
Remember, this is a dev env. Don’t need to be running gigs and gigs of data.
# Aerospike database configuration file.
service {
user root
group root
paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1.
pidfile /var/run/aerospike/asd.pid
service-threads 4
transaction-queues 4
transaction-threads-per-queue 4
proto-fd-max 15000
}
logging {
# Log file must be an absolute path.
file /var/log/aerospike/aerospike.log {
context any info
}
}
network {
service {
address any # IP of the NIC on which the service is
# listening.
port 3000 # port on which the service is listening.
}
heartbeat {
mode multicast # Send heartbeats using Multicast
address 239.1.99.2 # multicast address
port 9918 # multicast port
interface-address 172.16.153.176 # IP of the NIC to use to send out heartbeat
# and bind fabric ports
interval 150 # Number of milliseconds between heartbeats
timeout 10 # Number of heartbeat intervals to wait
# before timing out a node
}
fabric {
port 3001 # Intra-cluster communication port (migrates, replication, etc).
}
info {
port 3003 # Plain text telnet management port.
}
}
namespace cache {
memory-size 1G
#replication-factor 2
default-ttl 0
storage-engine device {
file /opt/aerospike/data/cache.dat
filesize 1G
data-in-memory false # Store data in memory in addition to file.
write-block-size 128K
}
}
namespace sessions {
memory-size 1G
#replication-factor 2
default-ttl 30
storage-engine device {
file /opt/aerospike/data/sessions.dat
filesize 1G
data-in-memory false # Store data in memory in addition to file.
}
}
namespace clicks {
memory-size 1G
default-ttl 30
storage-engine device {
file /opt/aerospike/data/clicks.dat
filesize 1G
data-in-memory false
}
}