180,000 _XSERVTrans error log lines on single boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-session (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
uname -a
Linux popeye 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
My PC booted in 18 seconds before upgrading to Ubuntu Gnome 16.04 - now it takes 2 minutes. I tried to find the culprit in the logs. There is a set of 4 lines that repeats abount 50,000 times (to be exact, a total of 179628 log lines containing "gdm-x-
(By the way, my Gnome 3 session starts just fine, the log is just outrageous)
What I expect to happen: Logging the same error as may times in such a short period indicates one of two problems:
1) If something fails (maybe some service is not ready yet), then allow more time before trying again - there is no point in taking away processing power if some service is trying to start up.
2) If it is an absolute necessity for the number of failures (there might be 50,000 small components all trying the same thing), then limit log output. Logging the 4 lines once, then adjust a counter which you then log once the process is complete.
Here follows this first and last lines of just such a block of errors:
May 2 10:10:55 popeye /usr/lib/
May 2 10:10:55 popeye /usr/lib/
May 2 10:10:55 popeye /usr/lib/
May 2 10:10:55 popeye /usr/lib/
May 2 10:10:55 popeye /usr/lib/
May 2 10:10:55 popeye /usr/lib/
May 2 10:10:55 popeye /usr/lib/
May 2 10:10:55 popeye /usr/lib/
...
...
...
May 2 10:10:58 popeye /usr/lib/
May 2 10:10:58 popeye /usr/lib/
May 2 10:10:58 popeye /usr/lib/
May 2 10:10:58 popeye /usr/lib/
May 2 10:10:58 popeye /usr/lib/
May 2 10:10:58 popeye /usr/lib/
May 2 10:10:58 popeye /usr/lib/
May 2 10:10:58 popeye /usr/lib/