Link to home
Start Free TrialLog in
Avatar of Los Angeles1
Los Angeles1

asked on

Linux, limits.conf

I often set up my limits.conf to a very high nproc level

      xxx           soft    nproc          16384
      xxx           hard    nproc          16384

Open in new window


How can I do this with threads.  What is the default leve3l for threads and how would I extend it.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Los Angeles1
Los Angeles1

ASKER

No,  there is no java.  Can I assume there is no limit on the number of threads available ?
It just uses some memory from parent thread and some to hold environment and first 3 file handles.
Say 16K for thread should be allowed in parent's stack.

You have to explore event handling in your program. that way you can manage without that many threads.