[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need to reboot Debian frequently





On Sun, Apr 6, 2008 at 7:15 PM, Rico Secada <coolzone@it.dk> wrote:
On Fri, 4 Apr 2008 20:13:23 -0700
"Pete Kay" <petedao@gmail.com> wrote:

Hi Pete.

> Can someone tell me what problem is it?  This is my test environment,
> but I don't want the same thing to happen in our production server.
> Therefore, I am thinking whether Debian is suitable for production
> use.

You are looking at this the wrong way!

Debian is used world wide in production by thousands of companies
including our own. Debian is very suitable.

What you have to do is to investigate what is going on with your
machine before, while and after the problems occur. Even a small
mistake in your setup can cause the problem that you describe.

Answer these questions and you will properly find the answer to your
problem:

1. How is your network setup?
2. Why are you running Firefox on the machine? It has been running for
quite a while.. doing what?

6623 anne      15   0  337m 145m  26m S   24 14.5 169:28.67 firefox-bin

3. What is notify.php?

4292 root      25   0 15808 1004  856 R   98  0.1   1441:12 notify.php

notify.php is eating a LOT of CPU and this is very likely the cause of
your problem.

4. This is not related, but you are running asterisk as root. You
should not! If asterisk is compromised then the attacker will gain root
access right away.

5. What have you found in the logs?

6. Investigate your traffic when the machine becomes slow, if
notify.php is not the cause (but I think it is).

Best regards.

Rico.


i don't consider 98% CPU usage a lot!
it is more than a lot. i am agree, notify.php is the root of the problem..

Reply to: