Page 1 of 1

Ulimit issue

Posted: 26 Jun 2008, 03:14
by ojeritas
Hi guys, I would like to know how to set the ulimit. I use console on Linux and I just write "ulimit" and it gives me "unlimited".

- How do I change that value?
- In my sfs file, it shows like this...

Code: Select all

start() {
    ulimit -n 20000
    echo ulimit -n
    echo "Starting $APP_LONG_NAME..."
.....
What is it doing? Is it setting to 20000 or unlimited. If it is setting to 20000, why do I get "unlimited" when I type "ulimit" in the console?


Thanks in advance!

Posted: 26 Jun 2008, 05:58
by Lapo
It's ulimit -n, not just ulimit