If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):
Date: Thu, 08 Nov 2001 06:35:52 -0500
From: Tony Lawrence <tony@aplawrence.com>
Subject: Re: Server is slow
References: <3be9f52e$1@news.starhub.net.sg>
Edwin Ralphael wrote:
>
> My customer Server had become very slow is there any solution?
>
> The Configuration is:
> Compaq Proliant 1600
> P2 400
> 1GB Ram
> 18GB HDD
> running on SCO Openserver 5.0.5
> Network Speed is 100 MBps on a switch
> Application running is Oracle
>
> but the users complaint that the server is really slow what can I do and
> what do I have to check?
You need to figure out WHY it is slow.
Your beginning tool for that is "sar"- enable it if it isn't already
enabled with
/usr/lib/sa/sar_enable -y
Ignore the warning about rebooting- it is not necessary.
After a day or so, during which you are best occupied reading "man sar",
come back and run sar to see what is slowing your system down, and WHEN
it is slowing down.
sar -d will give you disk info
sar -r shows memory and swapping
just plain "sar" gives you cpu info.
sar -A | more gives you everything
If it is the cpu that is pegged busy, it *may* be a run away process
that is eating cpu cycles. Do this:
for x in 1 2 3 4 5
do
ps -e | sort -r +2 | head -5
echo "==="
sleep 5
done
Look for a process who's time column has gone up by 4 or 5 seconds each
time- if you have something like that, that's your problem- you probably
need to kill it.
If sar -r shows low memory or (worse) swapping, go buy more memory (I
doubt it since you have 1GB already).
If there are lots of memory pages available all day long, you may want
to use some of that memory for disk buffers- see
/Unixart/memory.html
If your disk is being hammered, move to a RAID configuration-
/RAID.html
--
Tony Lawrence
SCO/Linux Support Tips, How-To's, Tests and more:
Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

| Views for this page | ||||
|---|---|---|---|---|
| Today | This Week | This Month | This Year | Overall |
| 1 | 2 | 4 | 4 | 1,177 |
/Bofcusm/1111.html copyright 1997-2004 (various authors) All Rights Reserved
Have you tried Searching this site?
Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates
This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Click here to add your comments