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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SCO running slow...

Status
Not open for further replies.

spacebass5000

Programmer
Nov 26, 2000
144
US
I am in charge of managing my companies SCO Openserver box. We use it for nothing more than Mas90. At most, only about 5-7 people use this box at one time.

A day or two after a recent reboot this box began to run slow. Or better yet, Mas90 on this box began to run slow. This performance degradation is most felt when hitting the Mas90 database from within the app.

I *think* the box is not swapping properly. Check this out:

bash-2.03# vmstat -s

782336 free swap space
37498 demand zero and demand fill pages
0 pages on swap
177928 pages in cache
3625 pages on file
70626 protection fault
0 pages are freed
0 success in swapping out a process
0 fail in swapping in a process
0 success in swapping in a process
0 swapping out a region
0 swapping in a region
294014 cpu context switches
10737682 system calls

If I am not mistaken, these are the statistics for the box since it was rebooted this morning. Nothing has been swapped!

Every time I run swap -l, I get this:

bash-2.03# swap -l
path dev swaplo blocks free
/dev/swap 1,41 0 782336 782336

So it seems as if I have some swap space configured. Why is nothing being swapped?

I would thoroughly appreciate any help you have to offer...
 
It will only swap if it runs short on real memory.
Your bottleneck may not be memory.
look at the output of sar -u and sar -d.
which version of sco are you running (uname -X)
 
bash-2.03# uname -X

System = SCO_SV
Node = bookkeep
Release = 3.2v5.0.6
KernelID = 2000-07-27
Machine = Pentium Pro
BusType = EISA
Serial = 2HJ002770
Users = 5-user
OEM# = 0
Origin# = 1
NumCPU = 1

Ok... hrm... =
There is one problem... someone disable SAR a while ago and I have to enable it again. I thought I had done this today with my early morning reboot but I forgot to execute this:

# sar_enable -y

I have just done this and need to reboot. Problem is, I have ppl using the box so I have to wait till after 5. *sigh* The life of a sysadmin..

One thing I am worried about though is the fact that this is a multiprocessor machine and only one cpu is being used...

I have to look into enabling all the processors. Can my version of sco do this? Is this a hard thing to enable? Any references you can offer will be greatly appreciated...

Check back with this thread as I will enable SAR and post my output...

THANKS!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top