Summary: | [PATCH]X server takes 100% CPU, in endless select()/read() loop | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Max Kellermann <max> | ||||
Component: | Protocol/Core | Assignee: | Xorg Project Team <xorg-team> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | high | CC: | erik.andren, shrek | ||||
Version: | 6.9.0 | Keywords: | patch | ||||
Hardware: | x86 (IA32) | ||||||
OS: | Linux (All) | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 5041 | ||||||
Attachments: |
|
Description
Max Kellermann
2006-02-14 00:15:42 UTC
the nvidia driver is totally capable of feeding file descriptors to the main loop. it would be helpful if you could figure out what program is on the other end of fd 3 when this happens. I just found a way to reproduce that easily - the X server was connected to the ACPI daemon on file descriptor 3 (/var/run/acpid.socket). When I stopped acpid, the X server entered the state of 100% CPU consumption. Restarting acpid does not fix that once it happened. Could have happened after acpid upgrades.. Created attachment 4829 [details] [review] xorg-x11-6.8.99.901-alt-acpi.patch this patch fixed problem with ACPI Marking topic as patch. Added patch keyword (In reply to comment #3) > Created an attachment (id=4829) [edit] > xorg-x11-6.8.99.901-alt-acpi.patch > > this patch fixed problem with ACPI Is there a reason you dropped support for reading /proc/acpi/event directly? I think i'm fine with the idea of requiring acpid to be running but I'd like to know if there's a tradeoff involved. system with /proc/acpi/event usually have working acpid. however, if X server would start before acpid, then acpid couldn't start. applied with minor fixups, thanks! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.