Re: Slow Box
On Feb 26, 12:42 pm, Tim Greer <t...@xxxxxxxxxxxxx> wrote:
I've been noticing that over the last couple of months my Linux box
(Cent-OS) has been getting slower and slower.
I'm not a Linux guru, so I'm looking for some suggestions.
One thing which I am running is Spamassassin, and I do A LOT of
emails. That may be the reason? Anyway I can find out?
What has things like ps, top, vmstat, lsof, netstat, free, df, etc.
shown? Anything in the logs? Do you see high usage processes for Exim
or large SpamAssassin Bayes files or anything? Do you run a web
server, any scripts on the web site (if there's a web server)? Notice
any high amounts of traffic for email, web or anything else you run?
How much memory is used and how much is free? There could be a great
mnumber of reasons, from usage, to configurations, to any combination
of things. What have you checked and what have you found? Is the
slowness consistent, or does it speed up and then slow down at
different times (or certain times of the day)? How's the CPU usage,
the i/o, how many processes are running in ps or top and how many
connections are being made to the different services? Does anything
show as using a lot of memory and/or cpu or i/o in top or ps?
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!
Most of this stuff is foreign to me. So, I'll try and answer.
It is a webserver/mailserver. However, only 6 websites exist. 2 of
those sites do email blasting. But it used to get done in 45 minutes,
now it takes like 3 hours.
PID TTY TIME CMD
9845 pts/4 00:00:00 bash
28237 pts/4 00:00:00 ps
Not sure how to check SpamAssassin Bayes. Maybe it is scanning every
outgoing email?? They send out about 20,000 emails.
[root@stardust]# free -m
total used free shared buffers
Mem: 1008 958 50 0 58
-/+ buffers/cache: 528 480
Swap: 4102 0 4102
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda3 191746136 6978536 175027392 4% /
/dev/hda1 132206 18106 107274 15% /boot
none 516580 0 516580 0% /dev/shm
/dev/hdc1 192292124 2050020 180474184 2% /prod
For lsof and netstat, there are too many lines to paste. Over 200 for
- Prev by Date: Re: Slow Box
- Next by Date: Re: function in .bashrc problem
- Previous by thread: Re: Slow Box
- Next by thread: Re: Slow Box