Questions tagged [cpu-usage]
The amount of processing units of the CPU used to execute a task and how long it takes.
689 questions
0 votes
0 answers
114 views
Low performance in VPS vs Local machine with Docker
I have developed a web application using Laravel and PostgreSQL as the database. The main function of my application is to process large volumes of data from the database, with tables ranging from a ...
0 votes
0 answers
140 views
Linux kernel cgroup v2 CFS - cpu throttled_usec accounting?
In Linux kernel cgroup v2’s CFS scheduler, how is cpu.stat throttled_usec accounted when a cgroup with multiple threads gets throttled during a single quota period? Specifically, is throttled_usec ...
1 vote
0 answers
349 views
Mellanox ConnectX-3 very high cpu usage
I bought MCX311A-XCAT CX311A ConnectX-3 for my dev server with the idea to buy another one if this works for my pc. Currently my storage server and my pc have 2.5Gbe. They are all plugged into ...
1 vote
0 answers
291 views
100% CPU on 4 of 8 cores on Oracle Linux [closed]
I have a desktop computer (Intel i4770) running Oracle Linux 7.9 with kernel 4.1.12-61. I usually keep it off and only turn it on on the rare occasions when I need to test something. A month or so ...
0 votes
1 answer
75 views
Use the maximum of CPUs allocated to VM
I have a virtual server Use for SQL server and power bi, due to slow processes, I check performance monitor and figure out that my server doesn't use all cores. here are the screenshots of all things ...
3 votes
1 answer
1k views
Cpu Steal Time vs Cpu Ready Time
I'm using vSphere for managing my servers. I'm trying to asses the performance of VMs running on hosts to plan for the resources. In terms of cpu usage, I found two measures to be important: Cpu Steal ...
0 votes
0 answers
338 views
Random CPU + MEMORY spikes issue on Ubuntu server + Docker + PostgreSQL
I've been encountering an issue that has been bothering me for a while now. I have a Google Cloud VM running an Ubuntu 18.04 server with several containers, including a PostgreSQL server, a Redis ...
0 votes
2 answers
1k views
What could help to find what is causing sudden 100% CPU usage hanging my VPS?
I have a VPS I manage on my own. There are running just as much as a few Node.js projects, docker projects, crowdsec. The usual CPU load is about 20%. Occasionally server's CPU usage skyrockets to 100%...
1 vote
1 answer
8k views
Kubernetes - Find per core statistics for the pod
I would want to find the per core usage statistics for my Kubernetes pod. In my Linux host/in the Kubernetes node, I use mpstat to find the statistics like below. In my case, I assign 2.5 CPUs to the ...
2 votes
1 answer
419 views
Sudden low CPU performance
Im running a service on a GCP VM that has, randomly, very low CPU performance. Commands like grep and tail on text files often take up to a minute to start showing otherwise instant outputs. This has ...
1 vote
1 answer
838 views
Discover process that exhausted my memory and CPU limits on Ubuntu
I have a DigitalOcean droplet running Ubuntu 22.04.2 LTS (GNU/Linux 5.15.0-89-generic x86_64). My website went down at approximately Fri Dec 01 6:48 AM GMT. From var/log/apache2/access.log, I ...
1 vote
0 answers
362 views
IIS High cpu usage on azure vm with low inbound flow
My IIS server running on Azure VM is having occasionally high cpu usage. It happens only on Thursdays, Fridays or Saturdays between 11 AM - 2 PM. CPU usage is 100% and cannot do anything on VM. I can ...
0 votes
0 answers
852 views
Understanding CPU Utilisation Graph for a task running AWS Fargate
I have a task defined with 0.5vCPU. It has two containers with 0.25vCPU Can someone explain to me what the below CPU Utilization graph represents? The above graph is from Health and Metrics section ...
0 votes
1 answer
54 views
Pin point performance issue in the past
I experienced a decrease of performance on my server and I was wondering if there is a possibility to lookback in time on a rhel8 machine. Where I can pinpoint which process claimed a lot of resources ...
0 votes
1 answer
574 views
CPU for Static File Serving
Let's think we have 10 concurrent users per second on the Nginx server which serves only static files: html, css, js. This is not CPU CPU-intensive operation, but still, Nginx will consume some CPU ...
0 votes
0 answers
72 views
Identifying processes causing 100% cpu usage [duplicate]
Some users report high CPU usage on their computers during ordinary activities (like Teams calls). How can I collect a report of processes causing high CPU usage over a few hours? I would like to use ...
0 votes
1 answer
1k views
Amazon ECS container showing strange CPU usage after deployment
I'll preface this by saying I'm fairly new to working with AWS. Yesterday I deployed a new version of one of our services to our test environment. Most people are on holidays at the moment, so there ...
5 votes
1 answer
817 views
AWS server completely shutting down because of the insufficient CPU memory (server-kernel: out-of-memory )
WordPress website(4years old) have been recently migrated from shared server to the AWS server (2cpu, 4GB ram,80 SSD).After migration website was working fine but in the night between 2am and 6am the ...
0 votes
0 answers
327 views
Optimizing CPU and Memory use on Multi-socket NUMA server
I am building a server that will be used by interns in my company to connect to and perform some tasks. The server is running AlmaLinux 9 and using KVM to run Windows 11 guests. The server has 2 CPU ...
1 vote
1 answer
122 views
Running a cluster 24x7 at full load. Possible damages? [closed]
Let us assume that we have a pool of some 50 computers with 6 cores and 12 threads each. If someone plans to use it for intensive astrophysics simulation using all of its logical CPUs (50*12) for 24x7,...
0 votes
0 answers
1k views
stress-ng: Simulate specific CPU and Memory Percentage
Goal : For performance test I m using stress-ng and I want to consume 100% CPU of 3 out of 4 Core and 80% of entire memory for 30 min (this is very extreme test condition). And I have few other ...
-1 votes
1 answer
593 views
Windows Servers with Citrix + Credential Guard > CPU use from average 30% to 90-100%. Ideas?
It has been observed that Windows Servers with Citrix and "Credential Guard" feature turned on; have jumped in CPU use from average 30% to 90-100%. This is a work in progress and Microsoft ...
1 vote
1 answer
2k views
Determine QEMU KVM overhead?
My guest OS shows about 5 percent CPU usage, but my host machine shows the QEMU process taking about 25 percent. I'm trying to understand where this difference comes from, as I am using KVM ...
0 votes
2 answers
295 views
How to use top without interactivity?
I want to periodically monitor the CPU usage and plot in time series. Not having much knowledge, I plan to use the top command, something like this question (Monitor cpu usage (and perhaps memory ...
5 votes
2 answers
2k views
Windows File server heavy cpu usage - Render Farm with many clients reading data at once
I have a windows file sever with Dual Xeon E5-2650v4 cpus. They are 14 core each so 28 cores total. The network interface is a Mellanox Connectx3 40gbs. The disk drives in the server are 7.68TB Sata ...
0 votes
1 answer
8k views
MariaDb High Cpu %300
Hi mariadb consumes a lot of cpu. The settings are here. Server features CPU 6 cores/ 12 threads @ 3.4 GHz (4.8 GHz) RAM 32GB DDR4 • ECC Server Grade Disk Drive 2 x 480GB SSD SATA Software RAID [...
0 votes
1 answer
340 views
Setting up slurm with 2 different nodes and 2 different partation on 1 physical server
I have a requirement for setting up slurm on one physical server, with 2 different partation and 2 main node so, need to have, partation1 wihich need to have node1 and need to be used by group1 user ...
0 votes
1 answer
1k views
What does top cpu percentage include?
I have a program that reads data from shared memory and send it to a non-blocking socket in a single-threaded manner. When I'm hammering the traffic into that application, I can only see the TOP cpu ...
0 votes
0 answers
124 views
What is the Max value for speed limit param in CloudLinux (lve)?
I can see in cloudLinux document that in cpu usage limit section, 150% means 1.5 cores : https://docs.cloudlinux.com/limits/#speed-limit My question is : for a server with 12 cores, if I want to use ...
0 votes
1 answer
680 views
Sudden spike in PHP-FPM process CPU usage. How to track down?
I have a magento2 store(with 10609 products) running on an ec2 instance(ubuntu 20.04, 16core and 32GB ram). It is a shared server with staging and live on the same instance. A few days ago, I got an ...
0 votes
1 answer
36 views
: High CPU Usage By adr_character Command
My linode server is running on UBUNTU 20.4 + nginx. Recently my cpu usage increased up to 100%. At first I thought PM2 caused the problem. Uninstall PM2 but the problem still exists. Even rebooting ...
0 votes
0 answers
3k views
CPU at 100% during the night, spooler service is causing it
I have a very strange situation where the CPU on our print server runs at 100% for most of the night. During the day it backs down to normal levels. It started when we installed new printers. It is ...
1 vote
0 answers
2k views
Obtain statistics of CPU and memory usage from one cgroup
Context I have a system in which I have to check periodically usage: relative (percents) for CPU and absolute (GB) for memory. How it's currently implemented Language we're using is python. system-...
1 vote
1 answer
426 views
How to reduce MySQL Server CPU usage or load?
How to reduce MySQL Server CPU usage or load ? Here is my.cnf : skip-name-resolve disable_log_bin innodb_buffer_pool_size=200GB innodb_log_file_size=25GB innodb_log_buffer_size=8M ...
0 votes
1 answer
3k views
AWS-EC2 100% CPU Utilization
I am curious to know about 2 things below about the AWS-EC2 CPU utilization and CPU Credits. What will happen if my AWS-EC2 instance CPU utilization is constantly 100% and I ran out of CPU credits? ...
0 votes
1 answer
291 views
Uneven cpu utilization linux dual socket server
Recently I noticed on two of our servers strange distribution of tasks. Both servers are dual cpu EPYC 7402 physically the same platforms, running the same tasks, differ in numa configuration, kernel ...
0 votes
0 answers
318 views
400% difference in CPU usage between "Task Manager" and "Sysinternal's Process Explorer"
On one specific server I have 400% difference in CPU usage between "Task Manager" and "Sysinternal's Process Explorer" (both picture taken on the same screenshot, so at the exact ...
0 votes
1 answer
805 views
MySQL + php due to high CPU usage app crashing
Just recently the application that I maintain started crashing, mysql's CPU usage is 100%... or more :) The application itself is quite old and has a lot of slow queries but before blaming it I want ...
0 votes
0 answers
64 views
Best Fit for Image processing (AWS, GCP, Azure etc.)
I have an application which uploads images (png and jpeg) of at least 3 MB in size to the server and the server processes the images by creating 3 resized thumbnails of type webp. The problem is the ...
1 vote
1 answer
146 views
Is there a kind of a/b test for checking CPU Usage?
Our team try to find a way to compare CPU and Memory usage between the current version and the new version. I found some answers. (1) Using load balancer By using load balancer, we can divide our ...
1 vote
1 answer
646 views
nginx container uses only one out of 4 cores
created an Nginx container with 4 static CPUs docker run -tid --cpus 4 --cpuset-cpus 6,7,8,9 --net=host --name mynginx nginx docker exec -ti mynginx cat /etc/nginx/nginx.conf|grep worker_processes ...
0 votes
2 answers
4k views
Should I use cpu utilization or system load?
I use ffmpeg to transcode H265 video to H264 stream. The computer seems over capacity while pulling video from two cameras. The machine is equipped with a 8-core i7-7700T. My question is, shall I ...
-1 votes
3 answers
93 views
CLI Tool for Machine Stats
Are there good CLI utilities to see things like CPU, RAM, and Network Traffic over time? I know CPU can be looked at via a command like top but curious if there is any way to collect historical trends ...
0 votes
1 answer
1k views
How to estimate how much resources are needed in a cluster?
I'm new to kubernetes. So I need some help with things, which are basic stuff for most of you. I build my first cluster and added some workers (bare metal). How do I estimate how much resources/power ...
0 votes
1 answer
173 views
Unknown process on Centos 7 VPS "sysnetd" using lots of cpu
So I cant seem to find any information ANYWHERE on what this process, "sysnetd", does. I've run LSOF etc but nothing seems to provide any info I know what to do with. The /proc/pid folder ...
3 votes
4 answers
8k views
100% CPU load caused by service "perfctl"
I am running a dedicated High Performance AMD Server with Ubuntu 20.04. since a few months. Suddenly tonight CPU shoot up to 100% until the point that I killed the service "perfctl" that ...
1 vote
0 answers
2k views
100% CPU usage from iowait caused by Nginx, not solved by turning sendfile on and directio off
I run a webservice that performs some basic image processing operations. The webserver first accepts image uploads from users and temporarily stores them. A backend server then downloads the image ...
0 votes
1 answer
1k views
Uneven CPU usage with NGINX
On my CentOS 7 server, the load on each core is unequally distributed, as seen in the screenshot: some nginx worker seem to take way more load than other. irqbalanceis enabled, hyperthreading disabled....
2 votes
1 answer
4k views
How CPUQuota works in systemd
I'm setting up a .slice file for systemd. I want to restrict the slice to a certain amount of CPU time. But it's not clear to me from the systemd docs whether the percentage given to the CPUQuota is ...
0 votes
1 answer
1k views
How to identify cause of sudden CPU utilization
I have a production server for a web application configured in AWS EC2 instance. I was running this for years and suddenly since today morning it is showing some spikes in CPU usage and application ...