3
votes
0answers
93 views

Growing OS cache in RAM causing high system CPU usage

Long question, so please bare with me: I'm having a weird issue with a server that I've never seen before. On a machine with ~30G of RAM with an application that takes ~10G (spread across hundreds of ...
1
vote
0answers
30 views

Monitor CPU utilization for each user

Is there any way to monitor the CPU utilization for each user at regular intervals Currently using the sar command I am able to get the following output: 12:00:01 AM CPU %user %nice ...
5
votes
3answers
851 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 ...
1
vote
2answers
231 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 ...
-1
votes
1answer
101 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 ...
0
votes
2answers
660 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 ...
0
votes
1answer
52 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 ...
4
votes
1answer
590 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 ...
0
votes
1answer
55 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 ...
-2
votes
4answers
157 views

How can I get combined CPU usage for all CPUs in one line on Linux? [closed]

I want to output the following: Average CPU utilization across all cores, over the last n seconds, in a single percentage value. So if I have 4 CPUs and their combined user and system utilization ...
0
votes
1answer
214 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 ...
1
vote
1answer
310 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 ...
0
votes
1answer
177 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 ...
-3
votes
2answers
244 views

CentOS log high cpu usage [closed]

I have a CentOS server running on a VPS via Virtuozoo containers. I feel like there are high CPU usage spikes. Is there a way I can log every time CPU usage goes beyond a certain limit lets say 50%. ...
0
votes
1answer
388 views

Linux Load Averages and HyperThreads

My rough understanding of a Linux load Average is that for every integer a CPU core is working all the time. EX 1 means on a 4 core system that 1 core is working at capacity. How does HyperThreading ...
3
votes
1answer
2k views

Disabling CPU management

If I add the following processor.max_cstate=0 to the kernel command line for boot up, does that disable all CPU power management and throttling? I also found: ...
4
votes
4answers
2k views

Graphing per-user CPU usage on a Linux machine

I want to graph (graphical output would be great, i.e. a .png file) the following situation: I have users A, B, and C. I limit their resources so that when all users run a CPU intensive task at the ...
11
votes
4answers
6k views

Linux CPU usage and Process Execution History

Is there any way to see what process(es) caused the most CPU usage? I have AMAZON EC2 Linux which CPU utilization reaches 100 percent and make me to reboot the system. I cannot even login through SSH ...
0
votes
0answers
216 views

High CPU usage after adding field to table with 5million rows

LAMP server: Fedora Core release 6 Using phpMyAdmin, I have added a new field to a database table. The datatype is int with a default of 0. This table has approx 5 million rows. Since I submitted ...
0
votes
1answer
275 views

Apache/Passenger and cpulimit

I run a ruby on rails site that processes email - the email is dumped directly into the web app via a POST from postfix. At times I can get a burst of email coming in causing a prolonged surge in ...
11
votes
10answers
5k views

What creates CPU I/O wait but no disk operations?

I have CPU I/O wait steady around 50%, but when I run iostat 1 it shows little to no disk activity. What causes wait without iops? NOTE: There no NFS or FUSE filesystems here, but it is using Xen ...
3
votes
2answers
2k views

CPU load too high. How to investigate?

This is my "top" screen. Now it's 2.96. Sometimes it goes above 3! I've read that it's not good. How to investigate and fix it?
0
votes
2answers
505 views

Monitor memory and CPU usage per website

The Plesk panel associated with my Linux RHEL5 server reports the CPU, memory and disk space of the server in real time although it's not possible for me to find out which websites are consuming most ...
1
vote
1answer
518 views

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 ...
1
vote
1answer
408 views

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 ...
1
vote
1answer
265 views

random high cpu load on linux box

It was all working fine couple of days ago (never jumped above 3.0). But now, the load average for 1 minute jumps well above 10, may hit 20, and then goes back to 5-6, maybe 3. The htop shows me ...
2
votes
8answers
2k views

cpu utilization over 100% in linux system

In one of our production Linux servers, CPU utilization is crossing 100 % and sometimes it is 250%. How can I find which process is using more CPU utilization and where can I find CPU utilization ...
2
votes
2answers
153 views

What does this command do on Linux? It is eating my CPU.

I have a VPS and I am hosting a game site on it. Recently my CPU went to 3000% and memory is going near full. When I checked the processes I found this process eating the CPU: Pid-1571 (Trace) ...
1
vote
1answer
602 views

top command indicates a different cpu usage than sar command

In my CentOS server, when I check the resources with sar command, user cpu usage is around %15 while in top command the sole 'java' process uses like %99 of cpu. sometimes it's even goes further than ...
0
votes
2answers
825 views

bash script while true + sleep 24 hours + single command VS Cron

Is it a good practice to have a bash script in a VPS with the following skeleton: #!/bin/bash while true; do /path/to/other-bash-script-that-does-stuff.sh sleep 24h done This is to avoid ...
5
votes
4answers
1k views

Random high CPU usage on Linux using Apache

I've recently had a bit of a strange problem with my web server. Over the last day or so the site seems to be slowing down somewhat at random intervals, we don't seem to be experiencing any major ...
0
votes
1answer
340 views

Top command, system column

I'm not great with linux, but I do enjoy the limited exposure I have. We use a virtualised red hat server for software development, and one of the things I have to do is check who's hogging the CPU ...
0
votes
2answers
376 views

Linux: CPU usage artificially capped somehow?

This is the CPU usage graph of a server: It seems that the CPU usage reached a hard limit at 24. This is a 32-core server so it should be able to go beyond 24 with ease. But that's not the case. ...
0
votes
4answers
918 views

MySQL server CPU usage shot up for no apparent reason. Any idea why?

I have a server dedicated to MySQL. In the middle of the night its CPU usage just shot up for no apparent reason. Here're the graphs: As you can see CPU usage just shot up at Fri 3:30am. Most of ...
1
vote
1answer
1k views

High MySQL CPU usage but no heavy query

When I run "top" command on my Linux it shows that MySQL is taking 400%-500% CPU usage. But when I run "watch mysqladmin pr" command to see a list of queries being run by MySQL then it shows just 2, 3 ...
11
votes
3answers
6k views

What does %st mean in top?

Here is an example from my top: Cpu(s): 6.0%us, 3.0%sy, 0.0%ni, 78.7%id, 0.0%wa, 0.0%hi, 0.3%si, 12.0%st I am trying to figure out the significance of the %st field. I read that it means ...
3
votes
5answers
3k views

What's going on with my server? High load, lots of idle CPU time, low disk utilization

I run a web site and send a legitimate opt-in, daily email newsletter to subscribers. Both the web hosting and email sending are done by the same machine. I have about 100,000 subscribers who have ...
0
votes
6answers
1k views

Ubuntu Linux, interpretation of top command result

I am a newbie to Linux OS and I had trouble on my drupal based sites which had turned out to be really slow. I am using 2 separate servers for hosting and MYSQL. On preforming the top command, I got ...
5
votes
2answers
3k views

Monitor and graph CPU usage per process and per thread

I need to monitor CPU usage by a given process and each of its threads. For each of them I want to have: average and maximum CPU usage percent, total CPU time used during the captured period, a ...
1
vote
3answers
2k views

Massive CPU usage spike, How do I find out what causes it?

I have a server running CentOS Linux, and very rarely (maybe once every 3 months) something happens that causes it to have an exceptionally high CPU load (400%) that causes the server to basically ...
0
votes
0answers
535 views

Massive CPU usage spike, How do I find out what causes it?

I have a server running CentOS Linux, and very rarely (maybe once every 3 months) something happens that causes it to have an exceptionally high CPU load (400%) that causes the server to basically ...
1
vote
3answers
501 views

Limiting maximum cpu time for user-launched programs

We have a cluster running CentOS with Sun Grid Engine for research simulations. However, some users who aren't too familiar with the system end up running jobs on the head node, which of of course ...
3
votes
3answers
1k views

Artificially burden the CPU

I'm looking for a command line application that will artificially burden the CPU. It needs to be better than just a busy loop. We're testing how the system holds up under heat stress and the CPU ...
3
votes
4answers
302 views

limit cpu ocupation for script

How can I limit a cpu usage to my backup script. It does a mysql db dump and backup of my www directory then bzip2 everything, but it takes a bit and during this time a cpu has 100% load. Can I ...
4
votes
1answer
617 views

Linux Cumulative User, System CPU Usage of Running Process?

On Linux (and other Unix-like OS's if there's a general answer), is there an easy way to get an output similar to the time command (current real time, user, and system CPU usage totals) for a process ...
1
vote
2answers
250 views

How to limit ram usage of a certain binary?

i have a binary, which indexes some stuff, it eats all my ram and my swap. Then the server hangs. I would like to limit its ram usage. I've looking at cpulimit and /etc/security/limits.conf but ...
0
votes
1answer
1k views

buagent process has been consuming 100% cpu for two days

The buagent process has been using 100% of cpu since two days ago. I want to terminate this process but I don't know if it's something dangerous or not (I am not much advanced in working with linux, ...
10
votes
4answers
17k views

What does 'nice' mean on CPU utilization graphs?

On Ubuntu server load graphs I see 4 types of CPU consumption: User, System, Nice and Idle. What does Nice type mean?
1
vote
2answers
216 views

Monitor dual intel xeon cpu load?

I have a Dell 1950 Poweredge server with two Quad Core Intel Xeon 2.33 GHZ and 16 GB of RAM under Gentoo Linux. I'm running heavy calculation task which I don't know how they were implemented ... Top ...
1
vote
1answer
365 views

Debian (Lenny) X2Go Client with 50% CPU

My x2Go Client uses too much cpu power, more than 50% all the time, even when I don't have an open remote session. Does anybody know how to check where the error (?) is located? Thanks