- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Process hang waiting for I-O
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
01-23-2002 03:22 PM
01-23-2002 03:22 PM
Process hang waiting for I-O
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 04:57 PM
01-23-2002 04:57 PM
Re: Process hang waiting for I-O
I'd certainly try setting the timeout of the logical volume. From Technical Knowledge Base document #UNX1030078:
/begin_quote/
To adjust the value of a logical volume's timeout, use lvchange(1M) with the -t option, specifying the number of seconds to try before timing out.
For example, to change the I/O timeout value of a logical volume (LV) to one minute (60 seconds):
lvchange -t 60 /dev/vg01/lvol1
This functionality was introduced at HP-UX 10.30.
LV Timeouts
-----------
Without LV timeouts, the system continues to retry an I/O to a non-responding disk until the disk responds. If the disk does not respond, the I/O never completes and never returns to the caller. In this case, the caller is in a "hung" state waiting for an I/O that will not complete.
If an LV timeout is specified, as described above, I/O to a non-responsive disk will also be retried, but only for a length of time that does not exceed the specified timeout value. If the disk fails to respond within that time, the system will return an I/O error to the caller. In this case, the caller will not be in a "hung" state that lasts longer than the specified timeout value.
The error returned to the user is EIO. This is a generic error signifying that the I/O was not able to complete. There is no way to know precisely why the I/O was unable to complete. For example, it could be due to some other I/O error in addition to exceeding the specified timeout.
The lvdisplay(1M) command can be used to display an LV's timeout value.
/end_quote/
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2002 06:42 AM
01-24-2002 06:42 AM
Re: Process hang waiting for I-O
If I already have a hung situation prior to setting the lvm timeout, will this take effect immediately after setting the timeout value? i.e., will I be able to free the hung process by setting the timeout value. Or does it only effect subsequent I-O to the logical volume?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2002 08:26 AM
01-24-2002 08:26 AM
Re: Process hang waiting for I-O
If lvdisplay shows the timeout as default. I take it is set to 0.
Would you change all logical volumes to have some kind of timeout setting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2002 08:54 AM
01-24-2002 08:54 AM
Re: Process hang waiting for I-O
It seems to imply that it would prevent you from getting into a hung io state. I'm just not sure what the other ramifications are. How would your RDBMS react, or your application?
It may still cause an outage. It may allow you to fail over to an adoptive node in a SG clustered environment. If it does, and you activate the volumegroup without quorum it may or may not use the disk that's going bad.
Does anyone else have experience using the logical volume timeout option??