[dsc] CPU problem
Duane Wessels
wessels at measurement-factory.com
Thu Mar 6 01:35:54 UTC 2014
You probably need to increase the corefile size limit. Try 'ulimit -c unlimited' before you run dsc.
DW
On Wed, 5 Mar 2014, Elias Abacioglu wrote:
> no core file :( I guess the ubuntu package isn't built with debugging symbols
>
>
> 2014-03-05 9:55 GMT+01:00 Elias Abacioglu <elias.rabi at gmail.com>:
> Hi Duane,
> I've attached the output from the debug run. I doubt it will show anything since it doesn't spike the CPU instantly. It
> does it after it's been running for some time.
> I just restarted DSC(and running in foreground so I get the output). When it goes to 100% CPU I will do a kill -ABRT.
> ulimit -c was 0 so I guess unlimited size of core file.
>
>
> Thanks!
> Elias
>
>
> 2014-03-04 14:53 GMT+01:00 Duane Wessels <wessels at measurement-factory.com>:
>
> 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