Sponsored Content
Full Discussion: Major Problem! i think
Top Forums UNIX for Advanced & Expert Users Major Problem! i think Post 38371 by RTM on Tuesday 15th of July 2003 09:31:37 AM
Old 07-15-2003
From Sunsolve:

Quote:
Solaris[TM] sd driver taq queuing problems/sd_max_throttle

How does one fix SCSI disk tag queuing problem?

By setting sd_max_throttle, in /etc/system, to a lower value.

sd_max_throttle, a sd driver tunable parameter, determines the max
number of commands that can be queued up by sd to be submitted to the
HBA (Host Bus Adapter) driver. By default, sd_max_throttle is 256.
Since SCSI tag queuing, SCSI_OPTIONS_TAG (0x80), is enabled by default
in Solaris, when the disk controller is fully populated with targets
or having very fast disks (e.g., RAID devices), commands can be queued
up too fast (and reach the limit of 256) for sd driver to handle.
Once this condition is met, tagged command time-outs/retries or SCSI
transport failure messages often are displayed:


-> WARNING: /io-unit@f,e1200000/sbi@0,0/dma@0,81000/esp@0,80000 (esp1):
-> Disconnected tagged cmds (1) timeout for Target 1.0
-> WARNING: /io-unit@f,e1200000/sbi@0,0/dma@0,81000/esp@0,80000/sd@1,0 (sd16):
-> Error for command 'write' Error Level: Retryable
-> WARNING: /io-unit@f,e0200000/sbi@0,0/dma@0,81000/esp@0,80000/sd@3,0 (sd3):
-> SCSI transport failed: reason 'timeout': retrying command
-> WARNING: /io-unit@f,e0200000/sbi@0,0/dma@0,81000/esp@0,80000/sd@3,0 (sd3):
-> unix: SCSI transport failed: reason 'incomplete': retrying command


Setting sd_max_throttle to use a much smaller value, such as < 256, can fix
the problem.

To what value should sd_max_throttle be set? That depends on how many SCSI
targets are in the system. To have total queued commands < 100 can be a
workable rule (e.g., if there are 6 fast SCSI targets), and if sd_max_throttle
is set to be 16, the total queued commands can be 96. If tagged command
timeouts still are seen, then in /etc/system:

set sd:sd_max_throttle = 16
Suggest you go to Sunsolve and do a search as there is other information. If you have a contract with Sun (or if you are on warrenty), give them a call.

If not, post what OS/version, and the rest of the error message.
 

9 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

major difference

guys, pls help me out. i hv good idea in redhat linux in what areas i need 2 concentrate 2 mk me much familiar with that of solaris. :confused: pls let me know the major diff found in these two os. (1 Reply)
Discussion started by: sriram.s
1 Replies

2. AIX

major no

hi what is meant by major no in vg what is meant by concurrent vg i cant understand these two things (3 Replies)
Discussion started by: senmak
3 Replies

3. Shell Programming and Scripting

How to filter out major and minor?

Hi, I have line like this : proj_name/module/trunk/module_1_0 where the first "1" refers to major version and second "0" refers to minor version. any AWK or command like that so that I can filter out the major and minor ? like major= command | input line minor= command |... (4 Replies)
Discussion started by: bhaskar_m
4 Replies

4. UNIX and Linux Applications

Major Application

Hi there all I am going to be a new admin (AIX,Redhat,Suse, and Solaris). I know these OS's at basic to intermediate level..somewhat. i would like to know what are corporate level sys admin softwares that are commanly used day to day . i know its a broad question. but i just wanna know few... (2 Replies)
Discussion started by: dplinux
2 Replies

5. AIX

VG major number in HACMP

HI All, I would like to know is it compulsory to keep major number of shared VG's on cluster nodes to be same..? I have come across a situation where on one node major number of shared vg is the major number of altinst_rootvg on other node..how to overcome this situation..? shan (3 Replies)
Discussion started by: to_bsr
3 Replies

6. Shell Programming and Scripting

Major File Reformat

Hello, I have many lengthy files that need to be reformatted. I was hoping a sed or awk script could fix this. Here is an example of the original format: P0037 # Degree: 32.999981 # COMMAND: 03 (#01A) Scale 1.296875, 52 (Wooden Crate w/ #2 Label, Bahko) v -3328.000000 12.101541 437.000000... (2 Replies)
Discussion started by: Blue Solo
2 Replies

7. UNIX for Dummies Questions & Answers

How major software is protected?

I am a new software developer and I wish to sell my software. I recently realized that from C++ code we can not stop the user seeing parts of the code that are related to scripts or system commands. Would you make some comments on how software written in C++/JAVA (distributed via CD-ROMs or... (2 Replies)
Discussion started by: frad
2 Replies

8. What is on Your Mind?

Major achievement ... applause!

Dear fellow *nixers, please join me congratulating Corona688 for reaching the lonesome, lorn landmark of 4500 thanks! What an achievement in the gruelling ordeal of servicing these fora. Incredible. All the best RĂ¼diger (9 Replies)
Discussion started by: RudiC
9 Replies

9. What is on Your Mind?

Major Changes in New UserCP (v0.63) Prototype

Regarding the latest version of the UserCP prototype (version 0.63) I have made a lot of major changes, including Added a "Posts Timeline" table for the recent posts, complimenting the non-table version earlier, which has been moved off the main menu (link at the bottom of the table). Added a... (4 Replies)
Discussion started by: Neo
4 Replies
vacation(1)							   User Manuals 						       vacation(1)

NAME
vacation - reply to mail automatically SYNOPSIS
vacation [ -I | -i | -l ] [ -F ] vacation [ -j ] [ -a alias ] [ -f file ] [ -tN ] [ -r ] [ -? ] username DESCRIPTION
vacation automatically replies to incoming mail. The reply is contained in the file .vacation.msg in your home directory. The vacation program run interactively will create and/or edit a .vacation.msg file in your home directory. The old .vacation.msg will be backed up to .vacation.old file. Type vacation with no arguments. (See USAGE below.) For example, the message created by vacation is: Subject: away from my mail From: smith (via the vacation program) I will not be reading my mail for a while. Your mail regarding "$SUBJECT" will be read when I return. The .vacation.msg file should include a header with at least a `Subject:' line (it should not contain a `To:' line and need not contain a `From:' line, since these are generated automatically). The fields `From', `From:' and `Reply-To:' are evaluated in the following order: If there is a `Reply-To:', and the option -r is given, then its entry is accepted. Otherwise, the entry of the `From:' field is taken. Should this entry lack a complete domain address (e.g. user@site instead of user@site.domain), vacation evaluates the `From' field, converting the contained UUCP bang path into a domain style address. If this fails too, vacation gives up. If the string $SUBJECT appears in the .vacation.msg file, it is replaced with the subject of the original message when the reply is sent. No message is sent if the `To:' or the `Cc:' line does not list the user to whom the original message was sent or one of a number of aliases for them, if the initial From line includes one of the strings -request@, postmaster, uucp, mailer-daemon, mailer or -relay or if a `Precedence: bulk' or `Precedence: junk' or `Precedence: list' line is included in the header. The search for special senders is made case- independant. OPTIONS
-I Or -i initialize the .vacation.db file and start vacation. This should only be used on the command line, not in the .forward file. -F Force creation of .vacation.db even if the $HOME directory is identified as a NFS file system. Please note that the used data base is not portable between 32bit and 64bit architectures and also not portable between little and big endianess architectures even same bit-wide is used for. Therefore the initial creation of the .vacation.db should always happen on the server used for receiving mails for the specific user. -l List the content of the vacation database file including the address and the associated time of the last auto-response to that address. This should only be used on the command line, not in the .forward file. If the -I, -i or -l flag is not specified, and a user argument is given, vacation reads the first line from the standard input (for a `From:' line, no colon). If absent, it produces an error message. The following options may be specified: -a alias Indicate that alias is one of the valid aliases for the user running vacation, so that mail addressed to that alias generates a reply. -j Do not check whether the recipient appears in the `To:' or the `Cc:' line. Reply always. -tN Change the interval between repeat replies to the same sender. N is the number of days between replies. Default is one week. -r If there is a `Reply-To:' header, send the automatic reply to the address given there. Otherwise, use the `From:' entry. -f <file> use a different message file than the default, .vacation.msg . The path to this file is relative to the home directory of the user. -? issue short usage line. USAGE
The vacation, create a .forward file in your home directory containing a line of the form: username, "|/usr/bin/vacation username" where username is your login name. The original .forward will be backed up to .forward.old file. Then type in the command: vacation -I To stop vacation, remove the .forward file, or move it to a new name. If vacation is run with no arguments, it will create a new .vacation.msg file for you, using the editor specified by the VISUAL or EDITOR environment variable, or vi(1) if neither of those environment variables are set. If a .forward file is not present in your home direc- tory, it creates it for you, and automatically performs a `vacation -I' function, turning on vacation. FILES
$HOME/.forward $HOME/.vacation.msg A list of senders is kept in the file .vacation.db in your home directory. SEE ALSO
vi(1), sendmail(8) AUTHOR
vacation is Copyright (c) 1983 by Eric P. Allman, University of Berkeley, California, and Copyright (c) 1993 by Harald Milz (hm@seneca.ix.de). Tiny patches 1998 by Mark Seuffert (moak@pirate.de). Now maintained by Sean Rima (thecivvie@softhome.net) 3rd Berkeley Distribution March 2000 vacation(1)
All times are GMT -4. The time now is 06:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy