Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
32 views

Why is Linux load average reported as the exponential moving average? [duplicate]

Why is the Linux load average over the past 1, 5 and 15 minutes reported as the exponential moving average, instead of just simple (unweighted mean) moving average? It seems to me that the simple ...
0
votes
0answers
95 views

top/ps/mpstat showing different output

When my top shows a load of 19/20 and my ps shows root@server:/home/nohup# ps -eo pcpu,pid,user,args | sort -k 1 -r | head -5 %CPU PID USER COMMAND 122131 18695 mysql /usr/sbin/mysqld xxxxx ...
2
votes
1answer
1k views

Very high CPU load, but nothing significant in top

I'm running Ubuntu Linux 12.04.1, with VirtualMin 4.08.gpl GPL and 2 CPU cores. Pretty much all the time for the last few weeks, it's been running at well above load average of 5, usually up closer ...
0
votes
1answer
589 views

How can average run queue length be 1 but load average is almost zero

(I originally posted this on Stack Overflow - advised to move it to here). On fedora 17 when i run the sar command to view the load average activity it almost always shows a run queue length of 1 ...
1
vote
2answers
104 views

Apache: Simulate 100 new connections per sec with ab

I know I can use "-c" switch in ab to simulate a certain number of concurrent connections. Is there a way in which I could use "ab" to simulate 100 new clients every second visiting my website or ...
2
votes
1answer
46 views

Load application with module load and specify a different name from the default [closed]

I am using my local workstation to run applications stored on our local cluster. To load and run an application, I normally use: module load xxx However, there is a an application on my computer ...
2
votes
2answers
343 views

Why load is high despite the fact that neither CPU or disk is overused

I'm getting the following output from top: Cpu(s): 43.8%us, 32.5%sy, 4.8%ni, 2.0%id, 15.6%wa, 0.2%hi, 1.2%si, 0.0%st Mem: 16331504k total, 15759412k used, 572092k free, 4575980k buffers ...
1
vote
1answer
30 views

Is there a way to monitor the Shareable Objects (.so) loaded on launch of a specific application?

I've been through dependency issues, but, finally, have my application running. The problem is I need to force install of some old libraries with dpkg to achieve this, which, in turn, breaks my ...
-2
votes
1answer
77 views

Loading a kernel driver to a specific memory address

How can I load a kernel driver at a specific memory address? How could it be done with the following methods? commands/scripts like insmod or modprobe using C code (not sure if there may exist ...
3
votes
2answers
254 views

How can I load a module at runtime?

I just compiled the qcserial module which is a driver module for a Gobi USB modem. Now I have a couple of questions. Now I have two files: drivers/usb/serial/qcserial.ko and ...
1
vote
1answer
367 views

High IO-APIC-fasteoi interrupt usage eth0

I believe this is due to an rsync cronjob which runs every 15 minutes. This is a RHEL 6 box running in ESXi. /proc/interrupts shows: 18: 3386804969 IO-APIC-fasteoi eth0 and the system load ...
3
votes
3answers
762 views

Is setting a higher nice level for a process an effective way to reduce its impact on system load/CPU time?

I have an rsync cron job which is pushing the server load and triggering monitor alerts. If I set the job to be run with a high nice level, would that effectively reduce the impact it has on system ...
2
votes
1answer
89 views

What does a high load with an empty top mean? [duplicate]

What does it mean when I have a non-trivial load and when I run top, there are no processes using non-trivial amounts of cpu time? For example, I have a server with this top line: top - 10:10:59 up ...
1
vote
2answers
240 views

Is there a way to discover why my server had a high load

Just now I was forced to remotely reboot my CentOS 6.3 system due to a ultra high load (75!) that paralyzed the system. This is a web/mail server that serves a wordpress blog (mySQL + PHP). Is there ...
1
vote
2answers
149 views

Should I care for applications that increase the system Load in order to prevent overheating?

I found that my "PCI Adapter" overheats when load is above 4.0 (having 4 cores). It does NOT overheat when the load is below 4.0 (but I had an overclocked memory that was causing trouble as I explain ...
1
vote
1answer
114 views

Linux statistics script (Google analytics-like)

We own a few servers, each with about 100 users on it, some with 1 domain, some with a few. I'm looking for a script which runs in the background which can provide information about which users uses ...
4
votes
1answer
128 views

why would there be a load of 5 if there are zero processes in the runq?

This doesn't make sense to me, why would there be a load of 5 if there are zero processes in the runq? 12:00:01 AM runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15 12:05:01 AM 0 708 ...
3
votes
2answers
593 views

Reset Load Averages?

I'm doing some load testing on a new dedicated web server, and after a certain amount of strain is put on the server I have to wait a minute for the one-minute load average to climb back down so that ...
1
vote
1answer
152 views

emacs elpa load packages

I am using emacs24, and I started using elpa to download the packages to ~/.emacs.d/elpa folder. How can I load these packages? For instance, I have tried (see below) for rainbow-delimiter but it ...
4
votes
2answers
1k views

Why “uninterruptible sleep” is not counted as “IDLE”?

When I run top -bi, where the parameter -i means "ignore idle processes", the resulted list(see below) of processes are either R or D, although there're S processes at that time. So, why ...
9
votes
3answers
500 views

Any utility to find source of system load / load average for a certain period?

By running top, htop, uptime, etc. we can see the load average as three values indicating the average load for the last 1/5/15 minutes (well not really, but that isn't the question here). Sometimes ...
1
vote
1answer
182 views

why does it take long for the bash prompt to return on high system load [closed]

When my server experiences high load and I run a command, there is a long delay after the command has finished before I get the prompt again. Any idea what is causing this?
3
votes
0answers
81 views

reserve resources for admin console

My servers is often almost DOS'ed by crawlers. I have not yet managed to figure out what exactly is responsible for the high load. CPU, memory and disk IO are not at the limit (could be network ...
5
votes
2answers
2k views

Detailed Per-Process Profiling

I am looking for a way to profile a single process including time spent for CPU, I/O, memory usage over time and optionally system calls. I already know callgrind offering some basic profiling ...
7
votes
1answer
2k views

Throttling web crawlers

My website is being DoS'ed by Google webspiders. Google is welcome to index my site, but sometimes it is querying a tagcloud on my site faster than my webserver can produce the results, making my ...
0
votes
0answers
92 views

all type of image files stop loading

I am working on my newly installed wine. when i tried to run a game , called "road rash" through wine, my screen resolution got change and after few seconds game stop working. Then my most of image ...
1
vote
1answer
718 views

Alternative for `sleep seconds` that takes system load into account?

So I develop my server app and some client apps for it. After each rebuild I start my server (which tends to load qup all services for something like 2 seconds) and then I start my clients... So his ...
6
votes
2answers
1k views

How does load average work with modern CPU's?

My understanding of load average lead me to be quite shocked with my current system. The CPU in my workstation is an i7 with hyperthreading enabled, and cat /proc/cpuinfo produces 4 'cpu's. That all ...
2
votes
1answer
335 views

Linux Router Load Benchmark

What tools and methods can be used to stress test a Linux-based router/proxy? On the router Squid, Apache Modproxy and Privoxy are installed. The purpose of the stress test is to determine which proxy ...
9
votes
4answers
10k views

Why is kworker consuming so many resources on Linux 3.0.0-12-server?

Last Friday I upgraded my Ubuntu server to 11.10, which now runs with a 3.0.0-12-server kernel. Since then the overall performance has dropped dramatically. Before the upgrade the system load was ...
3
votes
1answer
448 views

Get load average excluding niced processes

Is there a way to return the load averages, excluding any load caused by nice'd processes? We have a load balancing mechanism in place that checks the load of multiple Linux servers, and submits a ...
3
votes
2answers
1k views

Program to test CPU load and process priority

I am running some test on Amazon EC2 instances and we want to make the CPU always busy at above 80%. What I have is a program main that needs to run in high priority and I want to launch another ...
8
votes
3answers
3k views

Understanding top and load average

I'm observing a high load average on a certain machine (about 9) in all three load fields. I understand load as the number of processes in state "run" / currently desiring CPU time. Am I correct at ...
20
votes
1answer
2k views

Why isn't a straightforward 1/5/15 minute moving average used in Linux load calculation?

Until recently i thought the load average (as shown for example in top) was a moving average on the n last values of the number of process in state "runnable" or "running". And n would have been ...
8
votes
1answer
31k views

How do I get sar to show for the previous day?

on our servers, typing sar show's the system load statistics for today starting at midnight, is it possible to show yesterdays statistics?