Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce docs for increasing the max number of open files limit #298

Merged
merged 1 commit into from
Jun 22, 2015

Conversation

ericandrewlewis
Copy link
Contributor

No description provided.

@cgoldberg
Copy link
Member

👍

heyman added a commit that referenced this pull request Jun 22, 2015
Introduce docs for increasing the max number of open files limit
@heyman heyman merged commit 1a93d25 into locustio:master Jun 22, 2015
@heyman
Copy link
Member

heyman commented Jun 22, 2015

Great! Thanks!

@ghost
Copy link

ghost commented Aug 14, 2015

Should we also describe how the open file limit can be increased in Linux through /etc/sysctl.conf (system wide limit)? And should we also mention about increasing ephemeral ip ports?

@ghost
Copy link

ghost commented Aug 14, 2015

I've got this for Fedora based Linux

# increase system file descriptor limit
echo fs.file-max = 100000 | sudo tee /etc/sysctl.conf
# increase ulimit ( < system file descriptor )
printf '*       soft    nofile  99999 \n*       hard    nofile  99999' | sudo tee /etc/security/limits.conf

Also, need to reboot.

For Debian based, I think you also need to enable PAM user limits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants