[dsc] CPU problem

Duane Wessels wessels at measurement-factory.com
Tue Mar 4 13:53:11 UTC 2014


Hello Elias,

I have two suggestions:

1) you can run dsc in a debugging mode.  For example:

    $ sudo dsc -d -f /usr/local/etc/dsc/dsc.conf

    that might help identify the problem.

2) second option is to send the running process an ABRT signal
    while it is running:
    $ sudo kill -ABRT dsc-pid

   That signal should cause the dsc process to make a core dump, although
   sometimes you have take some extra steps to make sure the core file
   gets created.  Check "ulimit -c" and make sure dsc's working directory
   is writable.

   When you have a core dump, and if the binary is compiled with debugging
   symbols, then you can use gdb to pinpoint where its getting stuck.

DW


On Tue, 25 Feb 2014, Elias Abacioglu wrote:

> Hi all,
>
> I've joined this mailing list cause I have what I would assume to be an
> unusual problem.
> I have 5 name servers running bind 9 and with similar setup.
>
> DSC works on all of them but causes problem on the fifth.
> It uses 100% CPU on one core.
> I tried updating the entire system (apt-get update && apt-get upgrade). It
> did not help.
> DSC is installed using a configuration manager so installation is identical.
>
> On all servers it spawns two processes, these two
> /usr/bin/dsc -p /var/run/dsc-statistics-collector/dsc-collector_default.cfg
> \_ [dsc] <defunct>
>
> But on that faulty server after a short while it starts eating the CPU. And
> it doesn't seem to be so more DNS usage on that nameserver.
> The version is 201106061022-4, which is the one found in Ubuntu 12.04
> (precise) repos.
> $ cat /etc/issue
> Ubuntu 12.04.3 LTS \n \l
>
> How should I continue with this? Can't have one of two cores running at
> 100% all the time.
>
> Regards,
> Elias
> _______________________________________________
> dsc mailing list
> dsc at measurement-factory.com
> http://www.measurement-factory.com/mailman/listinfo/dsc
>



More information about the dsc mailing list