Ulimit issue

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
ojeritas
Posts: 5
Joined: 02 May 2008, 16:48

Ulimit issue

Post 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!
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

It's ulimit -n, not just ulimit
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply