RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Friday, June 1, 2012
Linux: Number of Open Files for Session
Query hard limit: ulimit -Hn
Query soft limit: ulimit -Sn
Set limit: ulimit -n <new limit>
You may or may not need to edit /etc/security/limits.conf before that
Note that there is also a separate system-wide setting in "/proc/sys/fs/file-max"
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment