Solved

Linux, limits.conf

Posted on 2013-11-14
3
222 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
  • 2
3 Comments
 
LVL 61

Accepted Solution

by:
gheist earned 500 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 61

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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now