Questions tagged [cpu-usage]

The amount of processing units of the CPU used to execute a task and how long it takes.

Filter by
Sorted by
Tagged with
0 votes
1 answer
4k views

Where should I start to try and debug a CPU spike and timeout when logging in to a Moodle site?

apologies for the newbie nature of this question .. I am a web developer though don't have too much experience maintaining servers or debugging and fixing performance issues. I have a Moodle site (...
undefined's user avatar
  • 654
12 votes
4 answers
23k views

Is there a way to calculate the percentage CPU utilization by reading /proc/stat at once?

I guess the question is, could I somehow calculate the CPU utilization percentage just by reading the /proc/stat once? # head -1 /proc/stat cpu 67891300 39035 6949171 2849641614 118251644 365498 ...
Istvan's user avatar
  • 2,600
0 votes
1 answer
248 views

Checking Dedicated server resource usage from its VPS

I'm using a VPS from a hosting provider. My VPS has 6 cores. In the past few weeks, i usually used upto about 4-6 cores at any time point. My web pages used to load very fast (about 2-4 seconds). But ...
aye's user avatar
  • 229
0 votes
1 answer
1k views

ESXi CPU resources distribution

I have ESXi hypervisor with i7 990x cpu and i want to understand how to provide resources to 4 Virrual Machines with maximum benefit. First my idea was to provide 1 core for less cpu-dependent vms, ...
avasin's user avatar
  • 279
2 votes
2 answers
5k views

Why is DU causing high CPU usage?

On CentOS 6.5, du -sk /home and sh -c (du -sk \/home) 2>/dev/null run because a scheduled disk usage for /home, but du is causing 100% CPU usage. Plus, before it's even finished, another du gets ...
Gaia's user avatar
  • 1,895
5 votes
2 answers
8k views

top command - cpu from processes do not add up

I understand the various types of cpu usage reported by the top command (6.5%us, 17.2%sy, 0.0%ni, etc...), but why does the total %CPU for each process not add up to any of the Cpu(s) values? For ...
OpenUserX03's user avatar
0 votes
4 answers
1k views

Does using all cores reduce efficiency?

I have a program (well, php script) which does some pretty heavy text searching - it loads a 2mb and 40mb file and searches through them to find where each word that appears in the first is present in ...
Benubird's user avatar
  • 523
1 vote
1 answer
2k views

EC2, huge difference between top/sysstat and CloudWatch (cpulimit involved)

Yes, I read that it is normal, but in my case disparity is huge and I can't explain it, just look: I ran sar command for a while (last lines): 04:53:01 PM all 0.40 0.00 3.41 ...
Andrey's user avatar
  • 111
0 votes
1 answer
927 views

12.04 Migration Process time delay

We have an issue in our server that is the migration process in taking time and also the load in the server is getting high due to that. No LSB modules are available. Distributor ID: Ubuntu ...
Manoj Shenoy's user avatar
-1 votes
1 answer
776 views

Apache 100% CPU for simple PHP API

I have a new server install of CentOS 6.4 64bit on a VM with 2 cpu and 8gb of ram. The server has nothing installed other than apache and php. The server is hosting a simple web API that writes data ...
tdbui22's user avatar
  • 103
2 votes
1 answer
4k views

Find which service is causing high CPU usage within single svchost process (Win2008 R2)

This is probably a stupid question, but for the life of me I cant remember! I have a virtual win 2008 R2 server running on a HyperV box (not that this should matter), It is an SQL server. I noticed a ...
Digital Lightcraft's user avatar
3 votes
4 answers
12k views

Nagios - measuring Average CPU Load

I've been looking for some hours now for a plugin that will notify me if one of my server's CPU Load has been over 90% for the past 5 hours. No luck looking around the Nagios Exchange. Can anyone ...
JustAGuy's user avatar
  • 649
0 votes
1 answer
1k views

Why does a suspended process show high CPU usage in ps?

Sometimes when a process is suspended (in T state) the output of ps shows the process using an unusual amount of CPU%. USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND cossey ...
Ecolitan's user avatar
  • 228
3 votes
1 answer
2k views

Limit httpd.exe CPU usage

We are using Collabnet Subversion Edge in one of our VMs, and occasionally one of the httpd.exe processes spikes to ~100% and just sits there. I believe it's interfering with our overnight backup ...
codewario's user avatar
  • 558
1 vote
0 answers
369 views

High CPU interupts when CPU usage is very low

I have a CentOS 6 VM running on Win2012 Hyper-v server. This server has 12 processers, 60GB memory, Raid-5 SSD. There's nothing running on the server yet, but it has very high cpu interrupts, always ...
garconcn's user avatar
  • 2,418
0 votes
1 answer
2k views

KVM host only using one core out of 8

This KVM host is only running one VM/guest right now, and it is running with -smp 1. Top shows only the first core being active. Is that expected when using -smp1? The guest OS is Windows XP. The ...
user avatar
0 votes
1 answer
792 views

SBS Server 2008 with periodic lsass.exe using 100% of 1 Core

SBS Server 2008 with everything running on it (AD/PDC, SQL 2012, FileServer, RDP Gateway, WSUS, No Exchange though). Every 30 minutes on the hour and half hour, lsass.exe uses 25% of the CPU (1 core ...
Dom's user avatar
  • 761
7 votes
2 answers
9k views

CPU allocation for VMs on ESXi

I'm a complete VMware know-nothing, but I recently set up 4 VMs on ESXi. 3 of the VMs are very non-resource-intensive (a lightly used file server, a lightly used domain domain controller, and a VMware ...
Martin's user avatar
  • 73
2 votes
1 answer
4k views

Should CPU usage be so low while memory usage is high on heavy mysql server?

I'm using ubuntu server 12.04 x64. The server receives a lot of requests to mysql through apache web server (it's light interface). From mysql stats I see there is approx 250 queries / second from 8 ...
Joe's user avatar
  • 323
5 votes
1 answer
1k views

Artificially Generate CPU Steal

Anyone know of a good way to artificially generate CPU steal? I have some automation I want to test which is triggered by CPU Steal, but for the life of me I can't figure out how to force CPU Steal ...
Richard D Lawson's user avatar
0 votes
1 answer
389 views

MySQL settings for MAXIMUM performance / can be specific to particular DB or user? [closed]

We have a dedicated server, a very powerful one, and I don't believe we are getting the most out of MySQL. Even when running ultra-heavy processes that take a very long time to complete, I'm showing ...
FurryWombat's user avatar
0 votes
2 answers
3k views

High Load, low CPU, Memory and Disk IO - Highend Server

This issue has been bugging me for the past several days having spent over 40 hours investigating this issue intensively. Effectively we run asterisk 1.4.42 which I understand is old, however is the ...
TheMightY's user avatar
0 votes
1 answer
99 views

what will happen if my cpu usuage stays 100% for 30 mins or so on linux server

I have Amazon Ec2 small instance with 1.7Gb RAM. I have 3 websites running on them. I have the scripts which does the web crawling every day and perform some caluclation. I have not deployed them yet....
MOtaro Site's user avatar
9 votes
1 answer
17k views

CPU% more than 100 in ps -aux

We use ps -aux to find out when tomcat process takes high CPU utilization, if that so we will send a alert to Group. But some times %CPU shows more than 100, but our application working fine. Is it ...
Selvakumar P's user avatar
1 vote
3 answers
1k views

Proper acting when a process is consuming 100% time of CPU

On several machines I have a problem with a process that is using 100% time of a CPU. USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 85740 100.0 0.2 34668 ...
Mark Zakred's user avatar
2 votes
0 answers
1k views

Ubuntu 13.04: apt-get and check-new-release CPU bound

I own a virtual server hosted by a provider. A few hours ago I was notified about the VM being CPU-bound. I couldn't log in and rebooted the server. After the boot, apt-get and check-new-release were ...
Fabrizio Giudici's user avatar
1 vote
2 answers
7k views

httpd high cpu usage slowing down server response [duplicate]

my client has a image sharing website with about 100.000 visitor per day it has been slowed down considerably since this morning when i checked processes i've notice high cpu usage from http .... ...
max's user avatar
  • 187
1 vote
1 answer
156 views

Debugging high CPU load when adding new domain inside server's control panel

When adding a new domain inside my server's control panel it takes much longer than usual since some time. CPU shows 100% usage on one core and strace reports something like this: poll([{fd=7, ...
Spacedust's user avatar
  • 568
0 votes
1 answer
410 views

CloudLinux equivalent for Windows

Is there any configuration or software solutions that would provide similar resource throttling per user like CloudLinux does for Linux? We currently run game servers on Windows 2008 OS and the major ...
Aidan Knight's user avatar
4 votes
2 answers
11k views

WHM/CPANEL - High cpu and memory usage from Analog Stats [closed]

A single process is taking 100% of the cpu and 70% of the memory and starts every day on different account; /usr/local/cpanel/3rdparty/bin/analog +CIMAGEDIR /images/ +CDOMAINSFILE /usr/local/cpanel/...
Бай Иван's user avatar
0 votes
1 answer
69 views

MySQL Process Big

Ok, so I don't know if this is a repeat question so I'm sorry if it is (I couldn't find anything like it after searching =/) My server seems to be running what seems to me a larger than normal mysql ...
Aram Papazian's user avatar
4 votes
1 answer
13k views

How to monitor CPU usage on a device running embedded Linux and BusyBox?

I recently began working with a device that uses embedded Linux and BusyBox. It is very stripped down, and does not have iostat or sar. It also doesn't have dpkg or apt for package management. The ...
Alan's user avatar
  • 541
1 vote
1 answer
2k views

CPU Usage vs load average [duplicate]

I'm running debian iostat -x Linux 2.6.32-5-amd64 (server56856.uk2net.com) 27/04/13 _x86_64_ (4 CPU) avg-cpu: %user %nice %system %iowait %steal %idle 4.59 0.01 ...
Juddling's user avatar
  • 1,095
0 votes
1 answer
944 views

How to find out CPU usage of DLLs within an instance of svchost.exe

My Windows Server 2008 R2 should be almost idle, yet it's taking about 12-15% CPU almost all the time. The busy process is an instance of svchost.exe Using SvcHost Process Analyser, I've established ...
ChrisA's user avatar
  • 316
0 votes
2 answers
150 views

High Processor Usage

I have a Linode VPS and am getting alerts regarding high CPU usage every few days - a reboot solves the problem - but would rather find the issue. I'm running Ubuntu 12.10 and other than PHP, MySQL ...
gbuckingham89's user avatar
-1 votes
1 answer
81 views

How to configure Apache so that I can get server resource stats per website / per script

How can Apache be configured so that it will be simple to get server resource stats (CPU, memory) per website (as defined by a separate sites-enabled entry) and / or by script (each .html or .php file ...
dotancohen's user avatar
  • 2,610
4 votes
1 answer
5k views

How can sleeping processes in "top" be using a percentage of CPU?

When we run top we occasionally see a sleeping, "S", process which is using %CPU; I would expect all sleeping processes to use 0% CPU since they are not active. I would expect only running, "R", ...
Friedrich 'Fred' Clausen's user avatar
5 votes
1 answer
8k views

How to debug Node + Socket.io CPU Issues

We are running a Node Socket.io server with Express 3. The server is monitored using Forever. The service is running well, but the CPU grows throughout the day, until it reaches 90%+ and then suddenly ...
SteveEdson's user avatar
  • 1,559
1 vote
1 answer
2k views

Understanding CPU Throttle

kernel /vmlinuz-2.6.32-379.22.1.lve1.2.17.el6.x86_64 ro root=UUID=7cb0b445-0f63-4ef1-ab73-93c114d8ef6c rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto ...
Tiffany Walker's user avatar
2 votes
1 answer
1k views

Apache high CPU usage, setting a overload limit

On a ubuntu server, I run a LAMP environment with APC, and fast-cgi as php mod, to host 2 wordpress sites, and both sites have Wordpress Total Cache (W3TC) plugin configured. The server's specs are: ...
w0rldart's user avatar
  • 217
3 votes
1 answer
9k views

Why does a mysql query, that requires copying to tmp table, randomly sometimes consume 100% CPU during several seconds?

I have some crazy SQL queries in my PHP scripts which badly need some optimization. However the question is NOT about how to optimize them. These queries have a lot of "join"s and some bizarre "order ...
matteo's user avatar
  • 729
0 votes
2 answers
110 views

When upgrading hardware to increase program performance, which should I consider first CPU, RAM or both? [duplicate]

I have a simple script that I wrote in PHP (which, after reading lots of QAs seems to have less than desirable memory management). It's an extremely small script that loops through configuration ...
user658182's user avatar
2 votes
1 answer
6k views

iexplorer.exe high CPU/RAM usage

My client has a virtual Server 2008 R2 terminal server running under ESXi 5.1. This server, which been in production for around 4 months, experiences intermittent slowness / non-responsiveness for ...
Ash's user avatar
  • 485
1 vote
1 answer
1k views

Two CPU cores at 100% utilization after soft lockup on two CPUs, is this normal?

I had two of my CPUs lock up on one of my servers. From dmesg: BUG: soft lockup - CPU#1 stuck for 23s! [vmx-vcpu-0:6148] and later: BUG: soft lockup - CPU#2 stuck for 23s! [vmx-vcpu-0:6148] I'm ...
Tom Marthenal's user avatar
0 votes
1 answer
452 views

CPU load steadily increasing and MySQL 1.5 GB open deleted file in temp directory

I have a CentOS server that is running cPanel (shared hosting server), I have had troubles with MySQL before and I spent some time configuring and tuning it, until finally the load dropped (from 170%!!...
AL-Kateb's user avatar
  • 341
0 votes
3 answers
2k views

Windows Server 2008 task manager shows not more than 25% cpu usage for a process, how to increase this value?

Is this a feature or limitation compared to ordinary single user Windows 7/8? Is there a way to give one user access to say 50, 75% of overall cpu resources for running a software/process?
James Last's user avatar
0 votes
3 answers
95 views

Finding the file/script that invoked a process

I do have a high CPU utilization PhP Process. This process in turn seem to invoke mysql and both processes together are using all the CPU cores and RAM using ps aux | grep php , i could get the ...
Anil Bhat's user avatar
4 votes
1 answer
598 views

mongo and app server cpu

The beginning: We are using uwsgi and I decided to switch our configuration to use more workers/processes. Why: We have been seeing a traffic increase lately and in my tests with apache benchmark, ...
tonyl7126's user avatar
  • 213
0 votes
2 answers
3k views

Where is the high load coming from?

Last night I recieved a lot of messages from DirectAdmin saying: load average on your system is 46.86, or some similar number. It comes with a 'top' printout, but all I can tell from that printout is ...
Flion's user avatar
  • 181
1 vote
3 answers
1k views

Mysql killing the CPU with gettimeofday

I have a problem with mysql killing the CPU on a Debian Squeeze 64. This is a development machine on a VPS so I stopped all the other services, including apache2. The mysql version is 5.1.49. This is ...
noru's user avatar
  • 121

1
7 8
9
10 11
14