1827283 Members
3520 Online
109717 Solutions
New Discussion

Re: Bind cpu overload

 
SOLVED
Go to solution
Diego Balgera
Frequent Advisor

Bind cpu overload

Hi,

I'm facing a strange problem with Bind causing Cpu overload.

The environment is:
- Hp-ux B.11.00
- Dns Bind 8.2.5-T1A

Sometimes, without any apparent reason, the Cpu usage goes to 100% where named uses someting like 97%. The named process continues to answer, but with a long delay.
And a couple of times I observed that the the Cpu usage decreased but the named stopped working, forcing me to make an "ndc restart" to workaround the problem and allow the system to resume working.
Nothing wrong appears in the syslog.

Could you help me to understand the reason and solve the problem?

Thank you in advance.
Diego.
2 REPLIES 2
Mark Greene_1
Honored Contributor
Solution

Re: Bind cpu overload

Restart named with the -d option to turn on debugging. Then monitor /var/tmp/named.run to see what system(s) are sending requests to named. It sounds like you either have a broken app or some unual DDOS attempt going on.

mark
the future will be a lot like now, only later
rick jones
Honored Contributor

Re: Bind cpu overload

If you have it, fire-up glance and see how much of named's CPU time is user-space and how much is kernel.

While you are there, useone of the glance options to look at the syscalls being made.

If there are interesting syscalls, you might hit the named with tusc.

If there is a lot of user-space CPU time you might try getting a profile with prospect.
there is no rest for the wicked yet the virtuous have no pillows