Find the answer to your Linux question:
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 ...
  1. #1
    Just 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.,

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    try adding this to /etc/security/limits.conf
    Code:
    * - nofile 65536
    add this to /etc/sysctl.conf
    Code:
    fs.file-max = 65536
    then issue command as root
    Code:
    sysctl -p
    then log out and log back in

  3. #3
    Just 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

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    I'm not sure what it is, but I've seen people with values at 500,000 or so from some quick googling.

  5. #5
    Just Joined!
    Join Date
    Oct 2009
    Posts
    4
    yeah.. i did for same.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...