Ticket #9461 (closed Bug Report: Invalid)
Opened 2 years ago
Last modified 2 years ago
mythfrontend seems to busy-wait while running
| Reported by: | alex@… | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - General | Version: | Unspecified |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
I noticed that while mythfrontend was running, my load average was quite high compared to when it wasn't. I tried strace on it and it seems to constantly be doing this:
poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11, events=POLLIN}], 4, -1) = 1 ([{fd=3, revents=POLLIN}]) read(3, "A", 1) = 1 read(7, 0x14d02c4, 4096) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0x14d02c4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
And lsof reports fd 7 to be:
mythfront 18164 mythtv 7u unix 0xffff880085ea7380 0t0 213283 socket
Anyone know what might be going on here?
Attachments
Change History
Changed 2 years ago by alex@…
- Attachment version.txt added
comment:1 Changed 2 years ago by robertm
- Status changed from new to closed
- Resolution set to Invalid
Please start on the users list, this is not a valid bug report. It's likely you are using a theme with alphapulse or other effects. The Myth UI is not yet hardware accelerated in any substantial fashion.
comment:2 Changed 2 years ago by robertm
- Status changed from closed to new
- Resolution Invalid deleted
Saw the discussion in #mythtv after closing this, giving it to stuart since he didn't object to a bug being opened.
comment:5 Changed 2 years ago by Alex Macfarlane Smith <alex@…>
As requested by Mike, I've attached the complete strace from updating to 0.24-fixes.
Changed 2 years ago by Alex Macfarlane Smith <alex@…>
- Attachment mythversion.txt added
mythfrontend --version information from 0.24 fixes
comment:6 Changed 2 years ago by Alex Macfarlane Smith <alex@…>
Actually it's too big to be attached, so I've uploaded it to http://www.archifishal.co.uk/~aardvark/mythtv/strace.txt
comment:7 Changed 2 years ago by Alex Macfarlane Smith <alex@…>
And I'm using MythCenter?-wide as my theme
comment:9 Changed 2 years ago by mdean
- Status changed from new to closed
- Resolution set to Invalid
Based on the strace output, it looks like your system is returning EAGAIN on attempting to access /tmp/.X11-unix/X0 . This looks to be normal X input polling.
comment:10 Changed 2 years ago by Alex Macfarlane Smith <alex@…>
Curious that mythfrontend seems to be doing it constantly though (I traced strace'ing kcalc randomly to see what it did and it's mostly idle, but wakes up occasionally to look at /tmp/.X11-unix/X0.) Don't suppose you worked out what the read(3, "A", 1) was? I tried to look through the trace and couldn't see when it was last opened that would cause that - I did wonder if that was the thing waking it up and the X0 access was just a side effect of that.
Anyway if I get some time I'll investigate further.

mythfrontend --version information