- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ENOMEM returned while executing pthread_attr_init ...
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
09-24-2003 02:25 AM
09-24-2003 02:25 AM
ENOMEM returned while executing pthread_attr_init on HP11i
I have compiled ACE 5.2 on HP 11i and my application uses it to spawn threads. While executing the call pthread_attr_init i get a return code of 12. sys/types/errno.h has the following #define for error code 12.
#define ENOMEM 12
This indicates that there is not enough memory left on the device whereas my ulimit shows the following
[69] % ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 267324
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 2048
i also tried on some other machine with the limits as given by the following
[101] % ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 1048576
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 60
[102] %
but on this also i get the same error code. Is there any other parameter which i need to set ?
Does anyone have an idea about the various conditions that can give rise to this error ?
Also maxdsize on mysystem has a value 66831
Thanks
Sonali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 02:36 AM
09-24-2003 02:36 AM
Re: ENOMEM returned while executing pthread_attr_init on HP11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 02:43 AM
09-24-2003 02:43 AM
Re: ENOMEM returned while executing pthread_attr_init on HP11i
You may be out of swap space. Check with swapinfo -mt. Check the swapmem_on kernel param.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 02:44 AM
09-24-2003 02:44 AM
Re: ENOMEM returned while executing pthread_attr_init on HP11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 02:55 AM
09-24-2003 02:55 AM
Re: ENOMEM returned while executing pthread_attr_init on HP11i
2. maxdsize is set to 277MB, this is what my sam shows
-Suresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 02:58 AM
09-24-2003 02:58 AM
Re: ENOMEM returned while executing pthread_attr_init on HP11i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2003 03:00 AM
09-24-2003 03:00 AM
Re: ENOMEM returned while executing pthread_attr_init on HP11i
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 178 -178
memory 3029 374 2655 12%
total 7125 552 6573 8% - 0 -