- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: aio_suspend never returns
Operating System - HP-UX
1753776
Members
7442
Online
108799
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
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
тАО06-01-2009 02:57 PM
тАО06-01-2009 02:57 PM
aio_suspend never returns
In my multithreaded application I'm performing an aio_read followed by an aio_suspend in one thread, and most of the time it works well. Sometimes the thread hangs at the aio_suspend which doesn't return. I added a call to aio_error just before the aio_suspend and it does return EINPROGRESS. If I attach to the application with gdb it shows the thread waiting in __aio_suspend_sys+0x30 (). If I interrupt the aio_suspend with a SIGINT and then continue, the application finishes correctly with the I/O having completed successfully.
Any suggestions on how to determine why the aio_suspend is not returning when the I/O has completed?
Any suggestions on how to determine why the aio_suspend is not returning when the I/O has completed?
- Tags:
- pthread
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 02:29 PM
тАО06-17-2009 02:29 PM
Re: aio_suspend never returns
I had that problem too (bug?). The workaround was using the signal notification for aio_read() and aio_write()and sigwaitinfo() for suspending the process.
fcmts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2009 01:31 PM
тАО09-03-2009 01:31 PM
Re: aio_suspend never returns
The problem was determined to be a race condition in the HPUX kernel aio code. Patches for v2 and v3 will be available in the coming months.
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