- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error during thread creation.
Operating System - HP-UX
1757931
Members
2844
Online
108866
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО09-12-2005 05:38 PM
тАО09-12-2005 05:38 PM
Hi All,
We are working on a multi threaded application on an HPUX machine. After creating n (i call it n because its variable) number of threads (not running simultaneously) the pthread_create returns an error (ENOMEM), no memory available.
At a time there are maximum 10 threads running simultaneously. That is guaranteed. How ever the application brings up threads (maximum 10) as an when the load on the application increases.
From limits.h
/*
* number of threads per process
*/
# define _POSIX_THREAD_THREADS_MAX 64
What could be causing this error and how do we rectify it? Will compiling the code as a 64 bit executable help?
Thanks,
Saurav.
We are working on a multi threaded application on an HPUX machine. After creating n (i call it n because its variable) number of threads (not running simultaneously) the pthread_create returns an error (ENOMEM), no memory available.
At a time there are maximum 10 threads running simultaneously. That is guaranteed. How ever the application brings up threads (maximum 10) as an when the load on the application increases.
From limits.h
/*
* number of threads per process
*/
# define _POSIX_THREAD_THREADS_MAX 64
What could be causing this error and how do we rectify it? Will compiling the code as a 64 bit executable help?
Thanks,
Saurav.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 06:12 PM
тАО09-12-2005 06:12 PM
Re: Error during thread creation.
Check your kernel settings.
max_thread_proc and nkthread
Also, check, ulimit -Sa and ulimit -Ha befire you start your apps.
max_thread_proc and nkthread
Also, check, ulimit -Sa and ulimit -Ha befire you start your apps.
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-12-2005 08:26 PM
тАО09-12-2005 08:26 PM
Solution
Saurav,
check also your application, for thread allocation.
this link may be useful:
http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,150,00.html
Regards,
Alex
check also your application, for thread allocation.
this link may be useful:
http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,150,00.html
Regards,
Alex
if you don't try, you'll never know if you are able to
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP