Bug #1003

Amount of FDs too low

Added by rti about 5 years ago. Updated over 4 years ago.

Status:Closed Start date:07/05/2010
Priority:Normal Due date:
Assignee:vl % Done:

100%

Category:OS: Mac
Target version:Version 0.8.0

Description

When executing ryzom core client from Terminal.app, the number of FDs is limited to 256 which is not enough to let ryzom open all it's bnps.

History

#2 Updated by rti over 4 years ago

  • Status changed from New to Resolved
  • Target version changed from Version 0.9.0 to Version 0.8.0

Works fine using from Terminal.app or clicking the app bundle.

The code ace added long time ago fixed this :)

client.cpp:387

#ifdef NL_OS_MAC
    struct rlimit rlp, rlp2, rlp3;

    getrlimit(RLIMIT_NOFILE, &rlp);

    rlp2.rlim_cur = 1024;
    rlp2.rlim_max = rlp.rlim_max;
    setrlimit(RLIMIT_NOFILE, &rlp2);

    getrlimit(RLIMIT_NOFILE, &rlp3);
    nlinfo("rlimit before %d %d\n", rlp.rlim_cur, rlp.rlim_max);
    nlinfo("rlimit after %d %d\n", rlp3.rlim_cur, rlp3.rlim_max);
#endif

#3 Updated by kervala over 4 years ago

  • Assignee set to vl
  • % Done changed from 0 to 100

#4 Updated by rti over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF