Solved

Linux, limits.conf

Posted on 2013-11-14
3
223 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
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,…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

863 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

19 Experts available now in Live!

Get 1:1 Help Now