Not able to change proto-fd-max to more than one lakh


#1

Hi, I am not able to change proto-fd-max to more than 1 lak. Always getting following error (cfg.c:3439) 100000 system file descriptors not enough, config specified 150000.

I have verified system max open files and individual user allowed open file both are set to 400000.

ulimit -Hn
400000

Didn’t able to figure out where the actual issue is.

Any help will be very great.


#3

Temporary solution i found I have solved this by running asadmin command after cluster started .

Like :

asadm -e "asinfo -v 'set-config:context=service;proto-fd-max=150000'"

But even after running above and checked

asinfo -v 'get-config:' -l | grep 'proto-fd'
proto-fd-idle-ms=10000
proto-fd-max=150000

But when i actually go and change in config file i.e aerospike.conf and restart node getting same error

Mar 20 2017 10:50:12 GMT: FAILED ASSERTION (config): (cfg.c:3439) 100000 system file descriptors not enough, config specified 150000
Mar 20 2017 10:50:12 GMT: WARNING (as): (signal.c:153) SIGINT received, shutting down
Mar 20 2017 10:50:12 GMT: WARNING (as): (signal.c:156) startup was not complete, exiting immediately

Thanks


#4

I am using Aerospike Community Edition build 3.11.0.2 and Linux centos OS.


#5

“lak” is a unit only native to India. So, try putting the actual number eg: 100000


#6

@pgupta i am putting actual number only

proto-fd-idle-ms=10000 proto-fd-max=150000


#7

I meant when you are discussing on this forum, only participants from India will understand the unit ‘lak’ means 100,000. Your topic title will throw off people.


#8

oh Sorry, i got what you are saying :slight_smile: