Load bleibt bei 1.0: QXL-Treiber unter Ubuntu deaktivieren

Steht die Load auf deinem Ubuntu-Server dauerhaft bei etwa 1.0, obwohl die CPU fast nichts tut, hängt oft der QXL-Grafiktreiber. Deaktiviere ihn, dann ist Ruhe. Die VNC-Konsole funktioniert danach weiter.

Woran du es erkennst

  • Die Load liegt dauerhaft bei etwa 1.0, top zeigt die CPU trotzdem fast im Leerlauf.
  • Ein Kernel-Thread hängt im Zustand D bei qxl_fence_wait.
  • Im Kernel-Log stehen immer wieder Meldungen wie failed to allocate VRAM BO oder Buffer eviction failed.

Prüfen kannst du das so:

dmesg | grep -i qxl

Warum das passiert

Jeder vServer hat ein virtuelles Anzeigegerät vom Typ QXL. Es ist nur für die VNC-Konsole da. Dahinter steckt keine echte Grafikkarte und kein Grafikspeicher. Der QXL-Treiber von Ubuntu versucht trotzdem, Grafikspeicher zu belegen, und bleibt dabei hängen. Das ist ein bekannter Fehler im Ubuntu-Kernel. Er bremst den Server meist nicht wirklich aus, verfälscht aber die Load und füllt das Log. Die Hardware-Konfiguration ist bei allen vServern gleich, wir stellen sie für einzelne Server nicht um.

QXL-Treiber deaktivieren

echo "blacklist qxl" | sudo tee /etc/modprobe.d/blacklist-qxl.conf
sudo update-initramfs -u
sudo reboot

Nach dem Neustart prüfst du:

  1. Ob die VNC-Konsole im Cloud Manager noch ein Bild zeigt. Sie nutzt jetzt die einfache VGA-Ausgabe.
  2. Ob dmesg | grep -i qxl keine neuen Fehler mehr zeigt.
  3. Ob die Load in top oder htop wieder zu deiner echten Auslastung passt.

Rückgängig machst du das, indem du die Datei /etc/modprobe.d/blacklist-qxl.conf löschst und die beiden letzten Befehle wiederholst.

Was die Load-Werte bedeuten, steht bei Was ist der Load?

High Steal Values (CPU Steal): What Can You Do?

High steal values on your vServer almost always come from a configuration that was not fully applied after an upgrade. Check the value with top or vmstat. If it stays high, open a ticket: we check the configuration and then ask you for a regular „Stop und Start“ (stop and start) so the new values take effect.

What is steal?

Your vServer runs as a virtual machine on a host. Steal (abbreviated st) is the share of time in which your server wanted to compute, but the host did not give it any CPU time. Linux inside the VM only sees that the cores are waiting and reports it as steal. A few percent during load peaks are normal. Permanently double-digit values are unusual and your server will feel noticeably slow.

How to check the steal value

Connect via SSH and start top. In the line „%Cpu(s)“ the value behind st is your steal. Alternatively, vmstat shows it in the last column st:

top
vmstat 1 10

Watch the value for a few minutes and note the times when it is high. That helps us with the analysis. On Windows, Task Manager does not show a steal value. There you recognize the problem by high CPU usage while the process tab shows little load.

Most common cause: CPU limit does not match the core count

In the vast majority of cases it is a configuration issue after an upgrade. If you added cores, in rare cases the CPU percentage value is not raised with them. Your server then reports, for example, 6 cores but may only use 200 % CPU time. For Linux this looks like steal, usually between 50 and 70 %, although the host is not busy at all.

This short test shows the pattern. It loads all cores fully, so stop it again right afterwards:

for i in $(seq "$(nproc)"); do yes > /dev/null & done
top
# stop it afterwards:
pkill yes

With 6 cores and a limit of 200 %, the summary line of top shows about a third at us and the rest at st. In that case the limit is very likely the cause.

What to do in this case

  1. Open a support ticket and tell us you see high steal values (details below). Normal priority is enough, this is not an emergency.
  2. We check your server’s configuration and correct the CPU value.
  3. Afterwards we ask you to do a regular „Stop und Start“ (stop and start) in Vionity so the new values are applied. A reboot inside the operating system is not enough for this.

Short peaks around 0:00: backups

Backups start at 0:00 (midnight, German time). The host compresses with pigz, a parallel variant of gzip built for speed, which briefly loads many cores heavily. That is why host load is higher at this time and steal can rise for a short while. This is known and expected. If it only affects you in this time window, you do not need to do anything. If your server runs noticeably badly then, write to us anyway and we will look at the host.

Rarely: load on the host

We overbook our hosts moderately, but never beyond peak performance. For new servers we choose the host based on its recent average load. Even so, it can rarely happen that a process on the host runs wild or that load shifts because of upgrades and changed usage by customers. In such cases we fix the problem directly on the host. In individual cases we move servers of customers who contact us to another host. Sometimes we also approach customers with permanently very high load.

You can see whether there is a disruption right now on our status page.

What to include in your ticket

  • Name or ID of the server.
  • Output of top or vmstat 1 10 including the steal column.
  • Since when the problem exists and whether you added cores or changed the package shortly before.
  • Times when the value is especially high.

Common pitfalls

  • Mixing up steal and your own load: High values at us or sy are your own processes, not steal. Use top to see which process uses the CPU.
  • Only rebooting inside the operating system: A reboot does not apply a new VM configuration. For that you need „Stop und Start“ (stop and start) in Vionity.
  • Measuring only briefly around midnight: Steal around 0:00 is the backup window and not necessarily a fault.
  • High priority ticket: High priority is meant for emergencies and gives no speed advantage.

Related articles

What is Load? (Load-Average)

Load describes how much work a Linux operating system has had to handle in the past 1, 5, and 15 minutes. The load is primarily composed of CPU, RAM, and disk work, but there are other factors involved as well.

In general, it can be said that the load is “1” when a core is so busy that no further tasks can be handled in real time. So any value above 1 means that tasks had to wait for processing.

If you have 2 cores, for example, a load above 2 is an indication that tasks are waiting in a queue. At this point, tasks are no longer executed “live” because the task queue is full.

You can check the load on your server using the “uptime” command. The last 3 values describe the load average. If these values are higher than the number of your cores, your server is overloaded. In that case, you should consider upgrading your resources.

If you have any questions about this topic, please contact us through a support ticket. We will be happy to assist you.