Excessive CPU Utilization for Bind 9.8.1 `named` processes
I just noticed that named is eating vast amounts of CPU time for a very small network with only a few domains. Can someone help me determine what is misconfigured, please? Or how to debug this. top top – 14:13:08 up 25 days, 14:16, 1 user, load average: 1.04, 1.04, 1.05 Tasks: 149 total, 1 running, 148 sleeping, 0 stopped, 0 zombie %Cpu(s): 17.3 us, 4.3 sy, 0.0 ni, 78.2 id, 0.1 wa, 0.0 hi, [...]
Continue Reading »Why does mpstat show different values when I use the interval setting?
Here’s the output I get when I run mpstat: $mpstat Linux 3.2.0-30-generic (my-laptop-C650) 09/17/2012 _x86_64_ (2 CPU)05:32:01 PM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle 05:32:01 PM all 9.16 0.08 2.69 2.00 0.00 0.04 0.00 0.00 86.02 And here’s what I get when I run it with a one-second interval: $mpstat 1 05:31:51 PM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle 05:31:52 PM all 1.52 0.00 1.01 0.00 0.00 [...]
Continue Reading »Single-threaded application being balanced across CPU cores?
Is there an easy way to check whether a certain single-threaded application is being balanced across CPU cores by Windows? I have already tried Process Explorer but I could not find a way to read it out, if possible in the first place. The reason I am wanting to know this, is because I understand that not all single-threaded applications get balanced, but rather stick to 1 core instead. Asked by Xen “Balanced” is a [...]
Continue Reading »How much time a day my CPU is used by 100%? [closed]
Well, I like to measure the time my cpu is used by 100% (+/- a margin). In other words: I want to know how much time a day my CPU is the bottleneck and I am sitting here waiting for results. I want a faster computer and our admin says we are not even using our current cpu but I think it is a significant time a day I spend waiting for my CPU. So [...]
Continue Reading »Running bash script with php under lower priority or limit CPU
I have a bash script which runs a set of php scripts. When it runs it takes an hour and pegs the CPU at 95-99%. This causes our lamp stack (mainly the apache process) problems and our website on the same server starts spitting out timeout or 500 errors. How can I either: Run the bash script and all associated tasks (php scripts which also call the PostgreSQL db) at a low priority so apache, [...]
Continue Reading »Why is my router CPU at 40% when no processes use more than 2%?
I have a problem, I have a Cisco 1841 running Cisco IOS 15, and I get strange behavior. The CPU usage is shown as 40%, but there is no processes that is using this much CPU power. Here is an example: lev1841#show processes cpu sorted CPU utilization for five seconds: 41%/39%; one minute: 42%; five minutes: 32% PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process 96 88 147299 0 1.11% 1.04% 0.92% 0 Ethernet [...]
Continue Reading »Can I restrict how many CPUs SQL Server 2005 uses?
I have a SQL Server 2005 instance running on a production server. CPU load is relatively low in part thanks to some recent improvements in the code. I’m trying to work out if I could safely reduce the number of CPUs in the machine and would like to test that out before actually getting them removed. Is it possible to tell SQL Server 2005 to just use say 4 of the 8 CPUs in the [...]
Continue Reading »How to combine different pidstat outputs (CPU, I/O, Disk Usage)
I would like to use pidstat to get both -u, -r and -d flags. Is there a way to do so? The idea, is to get both CPU, I/O and disk usage. Cheers Ps. Combining the flags as -urd doesn’t work in Ubuntu 11.04 Asked by Emanuele You have to add the -h flag. This display all activities horizontally on a single line. pidstat -urd -h Answered by dbanck Check more discussion of this question. [...]
Continue Reading »Is there any way that I can control the CPU resources sharing among Xen virtual machines?
I’m going to set up three or two Xen virtual machines on one physical machine. I want those VMs to share different CPU time on average. I’ve Googled for a long while but still haven’t been able to find a way to achieve my goal. I’m wondering is that possible? And how? Thank you! Asked by Gnailuy You can use both CPU pining: http://panoskrt.wordpress.com/2009/02/02/pin-cpu-cores-to-specific-xen-domu-guest/ And the CreditScheduler: http://wiki.xensource.com/xenwiki/CreditScheduler The CPU pining will assign real CPUs [...]
Continue Reading »Prioritise ssh logins (nice)
Is there a preferred way to set “nice” for sshd? I need priority given to sshd such that I can login and easily fix stuff when something has gone wrong (eg DoS, badly behaved processes, etc) Asked by s29 You can give your preferred user account or user group a nice value in /etc/security/limits.conf, at least if we are talking about Linux. Then when you login via sshd, you will have nice value of X, [...]
Continue Reading »Recent Posts
- What is the easiest way to upgrade my existing Perl 5.14 to Perl 5.16 on FreeBSD 9 using the ports system?
- Know if mysql has done its job
- Redirect https .com to https .co.uk without a valid SSL cert on .com without DNS change
- Why is it a bad idea to use customer email as from address
- 100% packets dropped on first RX queue on 3/5 raid6 iSCSI NAS devices using intel igb (resolved)



