Results 1 to 5 of 5
I am analyzing a dump file for which i need a large no of files to be open at a time such as around 50000 files. the fedora OS i ...
- 10-03-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 4
Increase no of files ?
I am analyzing a dump file for which i need a large no of files to be open at a time such as around 50000 files. the fedora OS i am using allows me to open only 1024 files which made sense as in ulimit -n i can see no as 1024 and i modified ulimit from /etc/initscript to a very large no but i can now open only a max of 5651 files. Any suggestions ? i am stuck in my research project due to this.,
- 10-03-2009 #2
try adding this to /etc/security/limits.conf
add this to /etc/sysctl.confCode:* - nofile 65536
then issue command as rootCode:fs.file-max = 65536
then log out and log back inCode:sysctl -p
- 10-03-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 4
Thanks a lot. its working.. one more quick question . is there any upper bound on the no of open files ? just asking
- 10-04-2009 #4
I'm not sure what it is, but I've seen people with values at 500,000 or so from some quick googling.
- 10-04-2009 #5Just Joined!
- Join Date
- Oct 2009
- Posts
- 4
yeah.. i did for same.


Reply With Quote