Tag Info

New answers tagged

0

While Matthew Ife's answer was very helpful and led us in the right direction, it was not exactly the what caused the behavior in our case. In our case we have a multi threaded Java application that uses thread pooling, why no work is done creating the actual tasks. However, the actual work the threads do is short lived and includes IO waits or ...


0

Is there a way to prevent this? Potentially, install & configure 'cpulimit' package if possible. Nice/renice might help. should you be concerned about this when you sign for a vps service? That TOS is ridiculous and puts burden of resource consumption monitoring on the user. Any other company will give you X resources and you are allowed (at least ...


5

On Linux at least, the load average and CPU utilization are actually two different things. Load average is a measurement of how many tasks are waiting in a kernel run queue (not just CPU time but also disk activity) over a period of time. CPU utilization is a measure of how busy the CPU is right now. The most load that a single CPU thread pegged at 100% can ...


1

Load average includes tasks that are blocked on disk IO, so you can easily have zero cpu utilization and a load average of 10 just by having 10 tasks all trying to read from a very slow disk. Thus it is common for a busy server to start thrashing the disk and all of the seeking causes lots of blocked tasks, driving up the load average, while cpu usage ...


0

The scenario here is not particularly unexpected although it is a little unusual. What Xavier touches on, but does not develop much, is that although Linux (by default) and most flavours of Unix implement pre-emptive multi-tasking, on a healthy machine, tasks will rarely be pre-empted. Each task is alotted a time slice for occupying the CPU, it is only ...


12

Load is a very deceptive number. Take it with a grain of salt. If you spawn many tasks in very quick succession which complete very quickly, the number of processes in the run queue is too small to register the load for them (the kernel counts load once every five seconds). Consider this example, on my host which has 8 logical cores, this python script ...


3

If the load average doesn't increase much then it just means that your hardware specs and the nature of the tasks to be processed result in a good overall throughput, avoiding them to be piled up in the task queue for some time. If there was a contention phenomenom because for instance the average task complexity is too high or task average processing time ...


0

Load average is average number of processes in the CPU queue. It is specific for each system, you cannot say that one LA is generically high on all systems, and another is low. So you have 12 cores, and for LA to increase significantly the number of processes must be really high. Another question is what is meant by the "CPU Usage" graph. If it's taken from ...


0

I'm not 100% sure of your issue. You stated that the snapshot occurs at the time of the spikes, so it seems that you have your culprit. If this is a VM snapshot then you are going to see the host CPU usage spike as snapshots do take some time to complete, and depending on your resources available on the host, this will affect the guest VMs. If you are ...


0

Could an overloaded or inefficient MySQL database cause these PHP processes to consume higher-than-normal CPU usage? Or are the two completely independent? PHP and MySQL are different processes, so when a slow MySQL query runs, and you are following with top, you definitely see MySQL start to load up the CPU. Why would incoming PHP requests be ...



Top 50 recent answers are included