https://rancher.com/ logo
Title
b

better-apartment-79533

05/05/2023, 6:28 PM
Hi Team, I'm trying to run Aerospike using Rancher desktop nerdctl and its giving me error
CRITICAL (config): (cfg.c:4105) 1024 system file descriptors not enough, config specified 15000
Even I tired overriding the limit as mentioned in this link.
r

rapid-eye-50641

05/05/2023, 8:42 PM
There is a bug related to running provisioning scripts on Windows 😞 .. If you are on Windows then can you please try to configure this manually. Please note that manual changes don't persist between Rancher desktop restarts.
b

better-apartment-79533

05/05/2023, 9:07 PM
I'm using macOS Monterey(M1 laptop). And below command also gives me updated limit. But still issue is there
rdctl shell ulimit -n
82920
r

rapid-eye-50641

05/05/2023, 9:18 PM
Can you please share the actual command you use to run Aerospike? I am not aware of Aerospike and would like to try it myself.
b

better-apartment-79533

05/05/2023, 9:23 PM
nerdctl run -d -v <mount_dir>:<mount_dir> --name tag-aerospike -p 4000-4003:4000-4003 aerospike/aerospike-server --config-file <mount_dir>/aerospike.conf

nerdctl -n <http://k8s.io|k8s.io> run -d -v <mount_dir>:<mount_dir> --name tag-aerospike -p 4000-4003:4000-4003 aerospike/aerospike-server --config-file <mount_dir>/aerospike.conf
I tried both these commands.
👀 1
Simplifying command.
nerdctl -n <http://k8s.io|k8s.io> run -d --name aerospike -p 3000-3002:3000-3002 aerospike/aerospike-server
r

rapid-eye-50641

05/05/2023, 10:42 PM
Above worked for me with out errors, but I m on a Windows machine! Does increasing the value to something like 100000 work? they seem to be suggesting something in the range of 100000, atleast if we go by this KB article? https://discuss.aerospike.com/t/increase-maximum-number-of-openfiles/1372
b

better-apartment-79533

05/05/2023, 10:48 PM
By default it is using
15000
which is much lower that our limit
82920