Re: Slow Box



On Feb 26, 12:42 pm, Tim Greer <t...@xxxxxxxxxxxxx> wrote:
ame...@xxxxxxx wrote:

Hi,

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!

Tim,

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.

[root@stardust]# ps
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
cached
Mem: 1008 958 50 0 58
371
-/+ buffers/cache: 528 480
Swap: 4102 0 4102

[root@stardust]# df
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
each command.......


.



Relevant Pages

  • Re: lsof vs netstat when reporting CLOSE_WAIT
    ... >> which causes the server to stop accepting connections. ... >> I'm using netstat and lsof to see what is happeneing, ...
    (comp.unix.questions)
  • Unknow process listening on high port
    ... use lsof, but show up in nmap and netstat. ... for the proper port I get no output. ... I get the same results on the other server as well Any ideas would be ...
    (Security-Basics)
  • Re: Courtyard arrangement - Jeff Middleton
    ... can do with ISA server publishing and how we interpret the idea of ... Microsoft MVPs ... SBS and hosting ... website or if we just had an ISP for the site, ...
    (microsoft.public.windows.server.sbs)
  • Re: Urgent: Problem setting up web site hosting on SBS03 with ISA
    ... On the other side of the coin, perhaps we can also stipulate that many of these issues can be mitigated by a knowledgable administrator who has the skill and experience to properly configure all aspects of the server. ... port 80 as opposed to the other avenues of attack that SBS presents on the external network, inparticular those that also rely on IIS for their core functions. ... Unless new vulnerabilities in IIS are discovered, hosting static HTML pages is probably fairly safe. ... Its database is kept synchronised to a master Access/SQL database on the customer's premises by means of email. ...
    (microsoft.public.windows.server.sbs)
  • Re: SubSeven alerts: Norton Firewall vs Hacks/Trojan cleaner
    ... Personal Web Server -- PWS), mail servers, news servers, ftp servers, IRC ... | - use netstat with appropriate options to check for listening services ... firewall which make decisions as to what to ... As for the Subseven Alerts, again, Wolfgang is largely correct; ...
    (comp.security.firewalls)