book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!







tar


What is this stuff?

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>


Hate these ads?



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.


ad



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)

Or use any RSS reader

Delivered by FeedBurner

cartoon
Need eyes on the ground at your customer's site?
Installation and light training Boston and New England
Reliable and experienced, punctual and professional.


Views for this page
Today This Week This Month This Year  Overall
1244 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.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants


UBB Computer Services Support for Openserver, Unixware and Linux. Windows integration with Unix/Linux servers. Hardware, Backup and Networking issues. Located near Sacramento CA, we provide onsite support throughout Northern CA and Nationwide via remote access. We are a SCO Authorized Partner and a Microlite BackupEdge Certified Reseller.


http://bcstechnology.net Full service Linux & UNIX systems integrator; Windows to UNIX/Linux Client-Server Specialist; Secure E-Mail & Website Hosting; Thoroughbred Software Developer; Custom Industrial Automation; Hardware & Electronics Experts; In Business Since 1985.


larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting



Twitter
o Seems every time they find something (like Reservatrol) that is "good for you", it turns out that it's also in peanuts. I *love* peanuts! 2:59 PM Apr 16th 2008




card_image







Change Congress