Will open files limit in Centos affect HTTP connections? Does the limit apply to a single session or all sessions?
Posted
by
forestclown
on Server Fault
See other posts from Server Fault
or by forestclown
Published on 2012-05-31T01:35:21Z
Indexed on
2012/05/31
4:42 UTC
Read the original article
Hit count: 472
When I do a ulimit -n I got 256, I assume it means I can open 256 files at the sametime. Does it means I can open 256 files with one single session? or all sessions?
For example, I logined to my server with username "abc" (via putty/ssh), and open 200 files, with the session still running, I logined to the same server again with the same username "abc" (via putty/ssh), I can open only another 56 files? or I can open another 256 files?
Lastly, does this limit also restrict number of http connections? e.g. with the above example, I have opened 200 files, and then I use "wget" or "curl" to make http connections.
Thanks
© Server Fault or respective owner