Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: Gert on January 31, 2007, 07:51:12 AM

Title: sme7admin and cpu usage
Post by: Gert on January 31, 2007, 07:51:12 AM
I have installed sme7admin on one of my servers yesterday because it is  running VERY slow. Now every 5 minutes I get an email that says:

[ALRT] netkeeper.pleroma.co.za : cpu = 100 % (max=60 %)
Your processor is 100 % loaded, you had set the alert limit to 60 %.

My processor is constantly running between 99.96% and 100%.
Today it seems to be faster but the processor usage is still 99-100%

Is there a way i can determine wat process is using all the cpu usage, or why it is so slow? It is a Intel Pentium 4 - 1.7 with 512mb ram. Running sme7.0
Title: sme7admin and cpu usage
Post by: livinginx on January 31, 2007, 07:58:11 AM
If you ssh into the box (or have a monitor hooked up), you can run ps -A from terminal to list what all processes are running.

Take your action from that point.
Title: sme7admin and cpu usage
Post by: Curly on January 31, 2007, 07:42:28 PM
I agree, ssh in, but use top. This shows the list of processes, but also shows memory usage and % cpu used. It will be pretty easy to find the most cpu-consuming processes.
Title: sme7admin and cpu usage
Post by: Gert on January 31, 2007, 09:08:03 PM
Thank you all for the reply.

Top was exactly wat I was looking for. That was very helpful :-)
Title: sme7admin and cpu usage
Post by: pfloor on February 01, 2007, 02:43:48 AM
Quote from: "Gert"
Thank you all for the reply.

Top was exactly wat I was looking for. That was very helpful :-)

If you like top, you might try htop too.
Title: sme7admin and cpu usage
Post by: livinginx on February 02, 2007, 04:24:13 AM
Wow, that is pretty cool.

My main boxes at home are all running Ubuntu and I use Tilda an awful lot.  If I ssh into the server (in tilda) and run htop, it is the perfect fit and I can just keep monitoring by hitting F12 (my bind to bring Tilda up/down).  THanks.
Title: sme7admin and cpu usage
Post by: Gert on February 03, 2007, 12:33:07 PM
Thanx pfloor htop is GREAT and very helpful! Its new in sme7.