When I run ulimit -n
I get 100000
as the value.
I have edited the Added following lines in /etc/security/limits.conf
* soft nofile 100000
* hard nofile 100000
I have also edited the pan_limits
But I am currently running a go program that keeps throwing out the error
2016/03/09 21:42:27 http: Accept error: accept tcp [::]:3000: accept4: too many open files; retrying in 5ms
2016/03/09 21:42:27 getAudioOnlyInfo: open /dev/null: too many open files
The issue is that when I actually check to see the limits set on the actual process by running cat /proc/1480/limits
I see this
Max open files 1024 4096 files
I'm running a golang program through supervisor is there a reason it wouldn't be reading the system limits?