FAILED ASSERTION (hardware): (hardware.c:625) error while reading list of online CPUs

./asinstall works fine, but when starting systemd it shows this error:

FAILED ASSERTION (hardware): (hardware.c:625) error while reading list of online CPUs

Jan 16 11:44:51 k systemd[1]: Starting Aerospike Server...
Jan 16 11:44:51 k asd-systemd-helper[2123]: kernel.shmall too low, setting to 4G pages = 16TB
Jan 16 11:44:51 k asd-systemd-helper[2123]: kernel.shmall = 4294967296
Jan 16 11:44:51 k asd-systemd-helper[2123]: kernel.shmmax too low, setting to 1GB
Jan 16 11:44:51 k asd-systemd-helper[2123]: kernel.shmmax = 1073741824
Jan 16 11:44:51 k asd-systemd-helper[2123]: Increasing listen backlog from 128 to 512
Jan 16 11:44:51 k asd-systemd-helper[2123]: Increasing read socket buffer limit (/proc/sys/net/core/rmem_max): 133120 -> 15728640
Jan 16 11:44:51 k asd-systemd-helper[2123]: /usr/bin/asd-systemd-helper: line 33: /proc/sys/net/core/rmem_max: Permission denied
Jan 16 11:44:51 k asd-systemd-helper[2123]: Increasing write socket buffer limit (/proc/sys/net/core/wmem_max): 133120 -> 5242880
Jan 16 11:44:51 k asd-systemd-helper[2123]: /usr/bin/asd-systemd-helper: line 33: /proc/sys/net/core/wmem_max: Permission denied
Jan 16 11:44:51 k systemd[1]: Started Aerospike Server.
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: FAILED ASSERTION (hardware): (hardware.c:625) error while reading list of online CPUs
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:209) SIGUSR1 received, aborting Aerospike Community Edition build 4.5.0.4 os ubuntu16.04
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:211) stacktrace: registers: rax 0000000000000000 rbx 0000000000000003 rcx ffffffffffffffff rdx 000000000000000a rsi 0000000000000859 rdi 0000000000000859 rbp 00007ffc48044de0 rsp 00007ffc480448a8 r8 00007f8b03d8e800 r9 0000000000000027 r10 00000000000000a5 r11  
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:211) stacktrace: found 9 frames: 0x495299 0x7f8b03525390 0x7f8b03525269 0x53a7b9 0x54116a 0x5444f8 0x43e9b1 0x7f8b022a3830 0x43f569 offset 0x400000
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:211) stacktrace: frame 0: /usr/bin/asd(as_sig_handle_usr1+0x139) [0x495299]
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:211) stacktrace: frame 1: /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f8b03525390]
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:211) stacktrace: frame 2: /lib/x86_64-linux-gnu/libpthread.so.0(raise+0x29) [0x7f8b03525269]
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:211) stacktrace: frame 3: /usr/bin/asd(cf_fault_event+0x275) [0x53a7b9]
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:211) stacktrace: frame 4: /usr/bin/asd() [0x54116a]
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:211) stacktrace: frame 5: /usr/bin/asd(cf_topo_config+0x5be) [0x5444f8]
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:211) stacktrace: frame 6: /usr/bin/asd(main+0x181) [0x43e9b1]
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:211) stacktrace: frame 7: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f8b022a3830]
Jan 16 11:44:51 k asd[2137]: Jan 16 2019 16:44:51 GMT: WARNING (as): (signal.c:211) stacktrace: frame 8: /usr/bin/asd(_start+0x29) [0x43f569]
Jan 16 11:44:51 k systemd[1]: aerospike.service: Main process exited, code=killed, status=6/ABRT
Jan 16 11:44:51 k systemd[1]: aerospike.service: Unit entered failed state.
Jan 16 11:44:51 k systemd[1]: aerospike.service: Failed with result 'signal'.

Using aerospike-server-community-4.5.0.4-ubuntu16.04 on OpenVZ VPS 4 cores 6GB RAM:

Linux k 2.6.32-042stab117.16 #1 SMP Fri Sep 9 21:57:19 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux

bench.sh

CPU model            : Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz
Number of cores      : 4
CPU frequency        : 3699.934 MHz
Total size of Disk   : 40.0 GB (1.7 GB Used)
Total amount of Mem  : 6144 MB (201 MB Used)
Total amount of Swap : 6144 MB (0 MB Used)
System uptime        : 0 days, 6 hour 7 min
Load average         : 1.35, 0.74, 0.43
OS                   : Ubuntu 16.04.5 LTS
Arch                 : x86_64 (64 Bit)
Kernel               : 2.6.32-042stab117.16

cpuinfo

vendor_id       : GenuineIntel
cpu family      : 6
model           : 62
model name      : Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz
stepping        : 4
microcode       : 1046
cpu MHz         : 3699.934
cache size      : 10240 KB
physical id     : 0
siblings        : 8
core id         : 3
cpu cores       : 4
apicid          : 6
initial apicid  : 6
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf cpuid_faulting pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt
bogomips        : 7399.86
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
power management:

Hi there,

Thank you for sharing all these details! I’m sorry to hear that you’ve run into trouble running Aerospike.

This looks a lot like the following issue:

I assume that you don’t operate the host operating system, just the OpenVZ guest, right? In this case, I’m afraid, we won’t be able to fix this issue by way of a kernel reconfiguration, as the kernel would have to be reconfigured on the host operation system.

Sorry that I don’t have better news.

Thomas

too bad, i’ll back to redis then ‘__’)