Solaris / OpenSolarisThis forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Could you please advise how I can determine the value of maximum number of threads a process can support in Solaris. Is there any tunable parameter that can be used to control this. What are the default value of this in Solaris 9/10 ?
I tried looking at the 'sysdef' outputs, but could not get this.
Also take a look at the man pages for ulimit and sysdef. I have on occasion had to set a higher ulimit because of multi-threaded applications that use files.
If your goal is to limit the number of threads a process (or group of processes) can support, there are tunables by tasks, projects and zones to do it:
task.max-lwps, project.max-lwps and zone.max-lwps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.