- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- compress causing bdf/quota checks to hang
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
11-27-2001 06:26 AM
11-27-2001 06:26 AM
Whenever a compress or uncompress is initiated on our L2000 (4CPU 3.5GB RAM) with attached AutoRAID disk array running HPUX 11.0 user logins are halted at quota check and bdf commands hang.
top, sar -u, vmstat, sar -v show no issues. ioscan -kfn shows S/W states of CLAIMED for all hardware. We are not running NFS or NIS
We have the following related patches installed:
PHKL_20333 superseded
PHKL_22267 superseded
PHKL_23127 applied
Anyone got any ideas?
Thanks in advance,
Adrian Turner
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 06:34 AM
11-27-2001 06:34 AM
Re: compress causing bdf/quota checks to hang
There may be some tweaking you can do to your set up, especially with the AutoRaid. How is the AutoRaid set up? Do you have dual controllers? Is the LV set up to stripe across both controllers? How much space in the autoraid and how much allocated?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 06:42 AM
11-27-2001 06:42 AM
Re: compress causing bdf/quota checks to hang
On what size file are you running compress?
After starting compress, monitor it in the glance process details. See what it is waiting on. Also do sar -d and collect stats while the compress is running.
Try the compress operation using GZIP. (/opt/contrib/bin/gzip).
HTH
raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 07:17 AM
11-27-2001 07:17 AM
SolutionThe reason this occurs is due to a fairness problem with the disk sort algorithm. The disk sort algorithm is used to reduce the disk head movements. With this algorithm, all I/O requests with the same priority are queued in non-descending order of disk block number before being processed if the queue is not empty. When requests come in faster than they can be processed, the queue becomes longer, the time needed to perform one scan (from smallest block number to largest block number of the disk) could be very long in the worst case scenarios.
It is unfair for the request which came in early but has been continuously pushed back to the end of the queue because it has a block number that differs greatly from previous requests, or it just missed the current scan. These unlucky requests could line up in the queue for as long as the time needed for processing a whole scan (which could take minutes). This situation usually happens when a process tries to access a disk while another process is performing sequential accesses to the same disk.
Resolution:
To prevent this problem from happening, the disk queue manager has to take the time aspect into consideration in the sorting algorithm. It now adds a time stamp for each request when it is enqueued, which is used as the second sorting key for the queue (1st key: process priority; 2nd key: enqueued time; 3rd key: block number). The granularity of the time stamp value is controlled by a new kernel tunable "disksort_seconds".
If "disksort_seconds" is set to N (N>0), for all the requests with the same priority, HP-UX can guarantee that any given request will be processed earlier than those which come in N seconds later than this request. Within each N second period (requests have the same time stamp), all requests are sorted by non-descending block number order.
By choosing the right "disksort_seconds" value, HP-UX can balance the maximum waiting time of requests and the efficiency of disk accesses. The kernel parameter can be set to 0, 1, 2, 4, 8, 16, 32, 64, 128 or 256 second(s). If "disksort_seconds" is 0 (default value), the time stamp is disabled, which means that time aspect is not taking effect.
This feature was added to 10.20 via patch PHKL_23836. As with all patches, verify that this is the latest version and that all prerequisites are installed. It is a standard kernel parameter for 11.0 (although both 10.20 and 11.0 are missing descriptions of this parameter)...consider this post as an update to SAM's help menu.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2001 07:58 AM
11-27-2001 07:58 AM
Re: compress causing bdf/quota checks to hang
disksort_seconds is currently set to 0 so we'll give it a go at either 2 or 4 and see how it goes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 12:11 AM
08-18-2005 12:11 AM
Re: compress causing bdf/quota checks to hang
Also what value would you recommend for a busy environemnt and have you seen anything else cause this type of hang?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 02:50 AM
08-18-2005 02:50 AM
Re: compress causing bdf/quota checks to hang
Hangs are also possible, but 99% of hang conditions are fixed with a current set of patches, not changes to the disk scheduler.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2005 03:24 AM
08-18-2005 03:24 AM