LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-04-2006, 10:15 PM   #1
Swakoo
Member
 
Registered: Apr 2005
Distribution: Red Hat / Fedora / CentOS
Posts: 508

Rep: Reputation: 30
intepret 'top' output and misc


Hi guys, Happy New Year first of all, hopefully 2006 will be as fruitful for you guys!

Mine first question of the year:

I got an email cum dns server, running plesk as the control panel for handling these 2 functions.

The load on the server have been pretty high (average 2+) and recently we tested out the spamassasin function, the load can hit 8+ in the morning. Even though the license to test the spam filter has expired, the accounts that had spam filter on, remained on.

I was looking at the stats after running top.. how do I intepret which process is actually runing and taking the highest process etc...?

also.. u guys know where i can configure spamassasin manually.. how to switch it off etc?

Many thanks!
Happy Festive Season!
 
Old 01-05-2006, 01:56 AM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Regarding plesk - stay away from gui interfaces for running servers. If you are going to run a *nix email/dns server, then you need to know what is happening on your server at all times. The gui of plesk is great if you just need to get something to work and then want to forget about it, but servers should ALWAYS be run with no gui, just the command line interface. Devoting processor and RAM space to drawing a picture so you don't know what is actually being done and going on puts you right back in the frame that the OS you are probably trying to get away from puts you.

As far as top goes, it usually ranks things by the amount of processor power that they use. You can configure it to show almost anything in any way, and to learn more about it you should use the man command,
Code:
man top
.

As an easier alternative to top, try htop, which still is a command line tool, but it is a much simpler interface. You can find it at http://htop.sourceforge.net. Most distros have precompiled binaries for htop, but it can be built from the tar.gz file in about 30 seconds. ./configure, make, (root) make install and you're set.

I have built and continue to run/maintain about 5 mail servers. They have loads ranging from about 30 to over 1000 users. Every one of them runs spamassassin. I just checked the machine with over 1000 users, and with dual 1266 Mhz processors and 512 Mb ram, the load has stayed between .2 and .7. The 30 user box (2.5 Ghz celeron, 512 ram) has stayed between 0.02 and 0.09. The first task on each of them was spamd, which is spamassassin. Getting over 2 means something isn't right (unless this is like a 90 Mhz 32 Mb ram box), and getting over 8 is a serious problem. AS far as configuring spamassassin, I would strongly urge you to check out http://qmailrocks.org, the #1 tutorial on building a *nix mailserver. Even if you don't build a qmail box like the site suggests, they have a great page on how to build spamassassin and clam antivirus.

I have never seen anything about a spam license with spamassassin. Every install I have done or worked with had free spam services. Spamassassin is free, I didn't even know pay versions of it existed. Get rid of the package you installed it from, compile it from source, and you'll be in better shape.

Looks like you're on a redhat/fedora system. I haven't used one of those in a few years, but I would guess spamassassin's start stop command would be something like
Code:
/etc/rc.d/init.d/spamassassin stop or /etc/init.d/spamd stop
You will need to know what the name of the executable is on your system. If you don't know, try doing a serch, something like
Code:
find / -name spam* -print
That will probably have alot of output, but you can search through and find it. In my machines, the spamassassin configuration files are in /etc/mail/spamassassin/, but I use debian.

Peace,
JimBass
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Output of 'top' as backgrond Burgin Linux - General 2 06-09-2005 06:18 PM
linux server very slow about top output and mysqld.err csstudy Linux - General 2 08-10-2004 03:04 AM
Odd output of 'top' philforrest Linux - General 1 07-20-2004 01:05 AM
web browsers slow, little memory free, pleae review output from top jeffreybluml Linux - Newbie 31 07-03-2004 09:15 PM
question re output of "top" slackist Linux - Newbie 2 04-12-2004 09:13 AM


All times are GMT -5. The time now is 10:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration