Skip to content

Local Agent : "too many open files" #64

Answered by TheElectronWill
TwilCynder asked this question in Q&A
Discussion options

You must be logged in to vote

and yes I'm using sudo.

Checking /proc/<alumetAgentPID>/limits shows "Max open files" is at 1024(soft)/1048576(hard) so that might be the issue, but that's after

Here is the issue: ulimit only applies to the commands that are directly launched by your shell. With sudo, you create a level of indirection, and you loose the soft limit defined by ulimit. The solution is to replace ulimit by something like prlimit:

sudo prlimit --nofile=32000: path/to/alumet

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@TheElectronWill
Comment options

@TwilCynder
Comment options

@TheElectronWill
Comment options

Answer selected by TwilCynder
@TwilCynder
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants