Tag Info

Hot answers tagged

27

On a CPU utilization graph or report, the "nice" CPU percentage is the % of CPU time occupied by user level processes with a positive nice value (lower scheduling priority -- see man nice for details). Basically it's CPU time that's currently "in use", but if a normal (nice value 0) or high-priority (negative nice value) process comes along those programs ...


23

Edit: Updating on Oct. 1 2013 - Some of my original answer has since become obsolete. I'm not sure if you're still active on this site or that you'll see this, but I wanted you to know that I read this question today and it fascinated me, and so I spent all day (when I should have been working) researching Hyper-V and Windows internals and even digging in ...


23

Show the "CPU Time" column on the "Details" tab in "Task Manager" and look for a process with a CPU time count that's steadily increasing. That's your wedged process. It should be using around 4.17% CPU constantly.


15

TL;DR: EventLog file was full. Overwriting entries is expensive and/or not implemented very well in Windows Server 2008. At @pk. and @joeqwerty suggestion and after asking around, I decided that it seemed most likely that a forgotten monitoring implementation was scraping the event logs. I installed Microsoft's Network Monitor on one of the Domain ...


14

There are a couple of possible ways you can do this. Note that its entirely possible its many processes in a runaway scenario causing this, not just one. The first way is to setup pidstat to run in the background and produce data. pidstat -u 600 >/var/log/pidstats.log & disown $! This will give you a quite detailed outlook of the running of the ...


13

It is the CPU scheduling priority, higher vales (+19) mean lower priority, and lower values (-20) mean higher priority (inverse relationship). man 2 getpriority will give you lots of details. You can set the nice value when launching a process with the nice command and then change it with the renice command. Only the superuser (root) can specify a priority ...


10

CPU utilization is measured relative to a single CPU. The maximum is 100% for each CPU, so a four-CPU system would have a maximum CPU utilization of 400%.


10

It seems to be all Kernel time, could be Interrupts, they might only get handled by a single CPU.


10

As others have already pointed out, we can see from that screenshot that the CPU that's working so hard is spending all its time in kernel mode. (The red color.) Running Powershell as administrator, type: Get-Process | Select Name, PrivilegedProcessorTime | ` Sort-Object PrivilegedProcessorTime -Descending The process at the top of the list is the ...


9

How many cores do you have on this server? 106% means it's occupying a full core plus a little of another. So, if you have say, 4 cores, a process that is multi-threaded (so it can handle pushing load to all cores) could reach 400%. top will confirm this behavior.


9

Try monit. You could use a configuration like this, to accomplish your task: check process gameserver with pidfile /var/run/gameserver.pid start program = "/etc/init.d/gameserver start" with timeout 60 seconds stop program = "/etc/init.d/gameserver stop" if cpu > 80% for 2 cycles then alert if cpu > 95% for 5 cycles then restart if ...


9

The Steal percentage (documented in the mpstat man-page) is indeed the hypervisor telling your VM that it can't have CPU resources the VM would otherwise use. This percentage is regulated in part by Amazon's CPU limiting, and VM load on that specific host. I/O load is monitored through the %io stat.


8

/usr/bin/php is the PHP binary (php "parser", the "thing" that runs your php code), which is running a script: /home/hellohel/public_html/index.php. I would check that script, to see what's causing it to use up that much resources.


8

Have you looked at the Cisco troubleshooting guide for high cpu ? It has an extensive guide on what to do when encountering high CPU loads. Included are : Determining Causes and Solving the Problem : High CPU Utilization due to Interrupts High CPU when Enabling Netflow NDE on Cisco 7600 Series Router High CPU Utilization due to Processes PCI and FAST ...


8

CPUs (or individual cores) can be put into "deep" C-states by an OS kernel. You're thinking that the processor "puts itself to sleep" when it "detects" inactivity. This isn't how it works. The OS scheduler determines system idle percentage based on the amount of time spent in the system idle loop to detect system inactivity. The CPU itself (in x86 land, at ...


7

One thing to try: router(config)#no logging console no logging console will disable the output of the debug message on the serial console. As the console is interrupt-driven, each character is an interrupt.


7

One of the canonical sources for ESX performance tips is the Performance Troubleshooting Guide! (PDF) In short: If your host is busy, and your VMs are reporting a high "ready-time," (which is a counter of when the VM is ready to perform work but no physical CPU can be found for the machine to be scheduled by the hypervisor) then the symptoms you are ...


7

You might be I/O or memory limited, rather than cpu limited. Your cpu won't burn cycles just to burn cycles if it's stuck waiting on disk, network, or memory. It could also be a software limitation, if you're using something that's not written to be aware of more than 24 cores.


7

FreeBSD has a pretty decent userbase of very knowledgeable people. I wouldn't worry about that too much. Bigger issue would be your personal experience and knowledge on the matter. Ask yourself (and tell us): why is it so important to have a couple of megs of extra free RAM in your server? What does that gain you? And what does it cost you, both in terms of ...


7

In cases like this, you need to go beyond task manager and looking at % CPU usage. That does not tell you if something is adversely affecting performance. For a case like this, the next step would be to use Performance Monitor to view System\Processor Queue Length. This tells you if processes are waiting for the CPU to become idle possibly affecting ...


6

The key issue is "how much data is being compressed?". If you are running a massive DB query that takes a noticeable number of seconds to run, and the resulting page is a few tens of Kb long, then the expense of compressing the data will be completely dwarfed by the expense of the SQL work to the point where there is no point even thinking about it. A ...


6

There are two counters with the same name: Process\% Processor Time: The sum of processor time on each processor Processor(_Total)\% Processor Time: The total for all processors Your question indicates you're using the first counter, which means that its maximum value is 100% * (no of CPUs). So if you have 4 CPUs, then the total maximum is 400%, and 80% ...


6

mscorsvw is a process that pre-compiles .NET binaries. Your updates may have triggered this activity. At least, that's what http://blogs.msdn.com/b/davidnotario/archive/2005/04/27/412838.aspx says is happening. You might get more clue what exactly is happening if you can run the sysinternals procmon utility. That will tell you what file(s) mscorsvw is ...


6

beware that, in the case of EC2, top is not a reliable tool to measure CPU usage. See more info at http://www.axibase.com/cloud/2010/07/22/ec2-monitoring-the-case-of-stolen-cpu/


6

This is when the cron.daily scripts run... By default, it runs daily just after 4:00am. From /etc/crontabs SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # run-parts 01 * * * * root run-parts /etc/cron.hourly 02 4 * * * root run-parts /etc/cron.daily <-- THIS ONE!! 22 4 * * 0 root run-parts /etc/cron.weekly 42 4 1 * * root ...


6

NFS can do this, and it wouldn't surprise me if other network filesystems (and even FUSE-based devices) had similar effects.


6

Is there any chance other VMs on the server are thrashing the disk? I know with virtualisation that you can get some strange results if the host node is overloaded.


6

Databases (well, 99% of them) cache everything they can. Cache is good. It makes stuff go faster. You want your database server to eat up all the memory it can, and never release it unless it have to. It won't cache stuff unless you ask it to (like in a query). Maybe there are tools to make MySQL pre-cache data, but I have no idea. Newer database products ...


6

You are on the right track, top uses this file for this purpose. But you need to read it more than once. Utilization is a is a measure of use over time. You can read it once providing you know the uptime in seconds of the host, then divide by that, but that would give you a utility rate of the host since the machine was booted. If you want a rate over 5 ...


5

Things to consider: The processors built into expensive purpose-built firewall appliances are generally quite anemic; firewall vendors sell expensive software and hype, not hardware. Of course, one way to protect proprietary software is to sell it with hardware included, and that is what firewall vendors do. LAN traffic ordinarily does not traverse your ...



Only top voted, non community-wiki answers of a minimum length are eligible