Linux command question (ulimit)
Posted on 2006-10-22
I am running a bittorrent program and am getting the error that too many files are open.
I have to increase the number (default 1024) to about 10,000 or so.
I am running Fedora Cora 5 and Gnome.
I open a terminal (Applications -> Accessories - > Terminal)
I read the man page on ulimit.
I type 'ulimit -a' and see that the current is indeed 1024 open files.
I try 'ulimit -n 10000' and then 'ulimit -a' again and it has changed.
But my bittorrent program doesn't seem to think so, and more obvious is the fact, that when I close the terminal and then reopen another one I type 'ulimit -a' and the # of open files options is back at '1024'
How can I make this change permanent?
What is the difference between hard and soft in ulimit?