Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Linux, limits.conf

Posted on 2013-11-14
3
Medium Priority
?
238 Views
Last Modified: 2013-11-15
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
0
Comment
Question by:Los Angeles1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 2000 total points
ID: 39648173
Actually
xxx - nproc 16384

Threads use local stacks and a bit of info in process's own stack
do we talk java here?
0
 

Author Comment

by:Los Angeles1
ID: 39648677
No,  there is no java.  Can I assume there is no limit on the number of threads available ?
0
 
LVL 62

Expert Comment

by:gheist
ID: 39649271
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.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question