Questions tagged [cpu-usage]

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

685 questions
3
votes
3 answers

High load average, when should I be worried?

I have a server which runs a few hundred processes simultaneously, most of them are idle, it is some sort of web crawler it sleeps between requests for various reasons. So as a result, my load average is usually something like: 21.64, 27.05,…
AL-Kateb
  • 333
  • 2
  • 7
  • 15
3
votes
1 answer

Linux Load Average in Billions with Thread Count Only in Thousands?

One of our servers is currently sitting with its load averages in the billions (with a b), while reporting that it only has 1,031 resident threads: top - 12:04:26 up 2 days, 19:03, 68 users, load average: 381713318.29, 2612390757.45,…
Juffo-Wup
  • 39
  • 1
3
votes
1 answer

rabbitmq: with hundreds of celery workers, beam.smp consumes > 200% CPU

I have one machine (test-server) with a rabbitmq server and 4 celery workers, and another machine (test-worker) with 240 celery workers, which connect to the rabbitmq server on test-server. All queues are currently empty. With this setup, beam.smp…
3
votes
1 answer

Redis server high cpu debugging strategies

Recently, we have been noticing CPU spikes on our production environment caused by redis which can be seen below: To combat this issue, I have been restarting the redis server about twice a day :( which is obviously far from ideal. I'd like to…
dipole_moment
  • 83
  • 1
  • 7
3
votes
1 answer

How can I resolve CPU utilisation nearing 100% on IIS

I have a .net web API application and the required SQL server hosted on an IIS. The task manager shows 100% CPU utilization most of the time, but memory usage is fine. How can I analyze and fix what is wrong here? I have already tried New Relic APM…
Jose Francis
  • 141
  • 1
  • 4
3
votes
2 answers

high CPU caused by pthread_cond_wait or nanosleep

First of all, I've searched in stackoverflow.com and googled, but no effective results are found. My question is: Why does pthread_cond_wait consume so much CPU? I don't think it's normal. My program suffered that %CPU became high intermittently and…
microwish
  • 31
  • 1
  • 2
3
votes
1 answer

How to assign dedicated vCPUs to specific VM on Proxmox (KVM) or what system could do that?

I'm posting this here, because what I've found about the topic is either outdated, incomplete or not suitable for various reasons. I have wanted for a long time to learn how to map specific vCPUs to a specific VM (that needs the maximum possible CPU…
Benito L.
  • 31
  • 1
  • 5
3
votes
2 answers

Allow Apache use more memory

I use apache2 behind nginx on 8 core CPU 48GB RAM server. Now my system uses only 3GB of all memory, but there are high load on CPUs. How can I use my free memory instead of CPUs time? I also use memcached and xcache.
Andrei Nikolaev
  • 95
  • 1
  • 2
  • 5
3
votes
1 answer

CentOs CPU usage 100% by sync_supers

I see it in the top -c Then I run strace of this process and see a lot of select(8, [3], NULL, NULL, {0, 0}) = 0 (Timeout) What should I do next? How can I find the reason of this? Any help much appreciated
Mikhail
  • 549
  • 1
  • 4
  • 10
3
votes
2 answers

Optimal configuration of "Processor load is too high" trigger in Zabbix

I monitor approx. 10 Linux servers with 4 CPU cores each with Zabbix. I was receiving way to many false alarms from "Processor load is too high" trigger lately. The "Processor load is too high" trigger expression was: {Template OS…
Reb
  • 81
  • 1
  • 2
  • 6
3
votes
3 answers

Sudden increase in CPU usage and server response time

Over the past 10 days, I'm suddenly experiencing increased CPU usage on my website with CPU usage reaching 100% three times. During that time I'm unable to SSH to my website so I haven't been able to figure out what is actually using that much CPU…
3
votes
1 answer

High CPU on MySql Fusion-io server

I've just finished reading this old Q&A which had some really good detailed information on a similar setup to ours, though unfortunately our problem (now) is not with replication. MySQL Replication Performance We have a new master database server…
Jordan
  • 31
  • 4
3
votes
2 answers

Solaris 10 ZFS ARC Maxed Out and CPU's Overloaded

We've been running ZFS for a couple years now on Solaris 10 on Oracle M5000 Enterprise server with 32 CPU cores and 256GB of memory. We are running a database/application on this server which appears to be read heavy. We had I/O issues while on UFS…
3
votes
1 answer

Running 'top' with 'Irix mode' off in batch mode

Can anyone tell me how I can tweak the following top command so that it always runs in Solaris mode in a batch mode operation? top -d 3 -n 2 -b -p I need 'top' to output a process' CPU usage that had already been divided by the total number…
His
  • 249
  • 1
  • 4
  • 9
3
votes
1 answer

virsh vcpu_period and vcpu_quota

I have been looking into ways to divide my CPU amongst KVM guests other than by just setting vCPU access limits. I understand the concept of cpu_shares which can be set/displayed with virsh schedinfo, but I also found vcpu_period and vcpu_quota…
Programster
  • 495
  • 1
  • 13
  • 22