[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Xorg process priority relative to applications causing apparent desktop lockup



Hello Debian.org,

Problem description:
I have noticed that when desktop screen applications peg cpu usage, such as by having many browser tabs open or a bug in a web page's _javascript_, the windowing system X appears to freeze so that the offending application cannot be closed by the user.  The mouse and keyboard are non-responsive requiring a power cycle reboot.

To replicate:
Open many tabs on your browser to heavy _javascript_ pages or other high screen usage sites such as youtube.com.  System will become non-responsive.  Mouse with lag and then freezes.  Keyboard and mouse become useless.

Apparent cause
When entering the top command on a Debian system, it can be seen that the Xorg process is at the same priority as screen applications such as Browsers, email, xterms, etc.  User screen control of X should take priority over general application processes.  Currently, I perform a workaround by the following root command:

# renice -12 -p $(pgrep Xorg)

It seems also desirable that some screen apps have high process priority than other apps.  For example, xterms to have higher priority than other applications such a chromium browser tab processes.  Should the Xorg process have a higher priority over the user application screen processes on Debian installs?  If yes, what package to report, etc. or ?

Thank you,
Glen Wetzel




Reply to: