- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- System resource not available for creating threads
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 09:55 PM
03-06-2006 09:55 PM
System resource not available for creating threads
My NSPR dependent application is not able to create threads on HP 11i machine.
I have tried increasing max_threads_proc variable etc, but still i am getting same error.
Any inputs about new patches, or variable settings, or debugging tips.
Thanks,
Madhava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 10:51 PM
03-06-2006 10:51 PM
Re: System resource not available for creating threads
check other parameters.
maxuprc
nproc
nfile
The first may have to do with too many processes for one user.
Is this a 32 or 64 bit app?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 10:53 PM
03-06-2006 10:53 PM
Re: System resource not available for creating threads
It is a 64 bit application,.
Thanks,
Madhava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 12:49 AM
03-07-2006 12:49 AM
Re: System resource not available for creating threads
What message are you getting, it could be many things as SEP has already mentionned, or need some patches, you say you increased max_threads_proc, but what about the system large nkthread, the max number of kernel threads supported by the system?
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 02:26 PM
03-07-2006 02:26 PM
Re: System resource not available for creating threads
The error message that i am getting is like this,
[07/Mar/2006:12:46:49 +051800] - ERROR<20492> - Backend Database - conn=-1 op=-1 msgId=-1 - Failed to create 5 threads(NSPR error -5974)
I hope this message is specific to my application. But NSPR is failing to create 5 threads which comes from NSPR.
I have increased nkthread and max_thread_proc and callout variable to 11000.
Thanks,
Madhava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2006 09:25 PM
03-07-2006 09:25 PM
Re: System resource not available for creating threads
I cant imagine the system not logging in syslog.log if you were to have system trouble...
So I would never give to max_threads_proc a value greater than 1500 without a very good reason (a proved issue for example), I have some boxes with it set to about 2000 but I know why...
nkthread is seen as a way to limit some badly written code to hack all your resources so it should be tuned consequently and the default is (nproc*2)+16, on a box with max_threads_proc set to about 1500 I would see nkthread about 7800-8000
and the same box should have nfile to about 10000-20000, nproc I imagine around 2500-3000 etc...
Having said that your error message does not say its the system (to me) so it could be many things Ive seen java applications abort with almost the same messages because directories werent present or wrong permissions...
With the information you give us we cant say much (the system? ram? swap? what is running? how many users etc...)
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2006 12:00 AM
03-08-2006 12:00 AM
Re: System resource not available for creating threads
If you believe it were to do with some of these parameters, you could always monitor them, do a man of kcalarm kcmond kcusage
All the best
Victor