BB Unix Network Monitor - Message

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

Re: {bb} bbd taking 99.9% CPU



In <033c01c47df3$da4fbc00$3900a8c0@ISPL320> "Naveen C Joshi" <naveen_joshi@intersolutions.stpn.soft.net> writes:

>I am maintaining BB-19c server on Linux RH 9.0. There are almost 150 =
>clients (linux or Windows2000) with same version of BB client. The other =
>external scripts are fping, IPGW, bb-mrtg ( bb-mrtg maintain 5 router's =
>graph), top etc...=20

>From the starting (2 months) I have been observing that the server =
>become hanged-up on every weekends and other days it works fine. This =
>hanged-up condition comes when the cpu utilization is high. I have =
>captured top output from the server for the different weekends when it =
>is about to hanged.

>PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND

>19321 bb        19   0   584  584   368 S    99.9  0.0   0:56   0 bbd

>    5 root      16   0     0    0     0 SW   61.9  0.0   6:26   0 kswapd

> 4478 bb        19   0  1172 1172   928 R    10.4  0.0   0:20   0 =
>mkbb.sh

> 8021 bb        16   0  5400 5400  1712 R     8.3  0.3   0:01   0 =
>bbmrtgATT-C1.

[snip]

>Please let me know, why this bbd is taking max CPU utilisation or has =
>anybody else face this kind of problem.

These number just dont add up. If bbd takes up 99.9% CPU, then how can
kswapd take 61.9%, mkbb.sh take 10.4% and bbmrtgATT-C1 take 8.3? 

So I think the 99.9% CPU time is a "red herring" - your real problem
lies elsewhere. I suspect you may be seeing the kernel memory-leak 
that has been reported several times on this list; a tell-tale sign
of that would be that your system uses lots of swap-space, and the
problem gradually goes worse after some time.

So far I haven't seen any solution for this problem short of
installing a non-Red Hat kernel without their NPTL patches (this
won't hurt your system).

Oh - and double-check that you compiled your bbd with "-DZOMBIE".


Henrik
-- 
Henrik Storner
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index