Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SCO 5.0.6a dual Xeon problem...

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Just installed 5.0.6a on a dual Xeon processor box. Everything seems to work fine except that when I run a simple script it "hangs" (not consistently hanging at the same user/place). When I disable the 2nd processor it works just fine.

Here's the script:
!/bin/ksh

login=""
glist=""

cat /tmp/userlist1 | while read myline
do
# echo $myline | tr ':' ' ' | read line2
mylogin=`echo $myline | awk -F : '{print $1}'`
uid=`echo $myline | awk -F : '{print $3}'`
gid=`echo $myline | awk -F : '{print $4}'`
desc=`echo $myline | awk -F : '{print $5}'`
home=`echo $myline | awk -F : '{print $6}'`
shell=`echo $myline | awk -F : '{print $7}'`
desc=`echo $desc | tr '_' ' ' `
cat /etc/passwd | grep -e "^$mylogin:" | wc -l | read lcount || exit
echo "$mylogin $uid $gid $desc $home $shell $lcount"
done

Ideas? I can post more info about the box (stune/mtune/hwconfig/swconfig, etc.) if desired.

Feel free to let me know if you have any suggestions/info/questions.

Any suggestions are very much appreciated! :)
 
Turned off hyperthreading (BIOS setting) and... it works just fine now.
 
I thought the hyperthreading=disable solved my problem. It didn't. The script will only run consistently if the second processor is disabled with (cpuonoff -i 2).

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top