Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#9461 closed Bug Report (Invalid)
mythfrontend seems to busy-wait while running
Reported by: | 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 (4)
Change History (14)
Changed 14 years ago by
Attachment: | version.txt added |
---|
comment:1 Changed 14 years ago by
Resolution: | → Invalid |
---|---|
Status: | new → closed |
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 14 years ago by
Resolution: | Invalid |
---|---|
Status: | closed → new |
Saw the discussion in #mythtv after closing this, giving it to stuart since he didn't object to a bug being opened.
comment:3 Changed 14 years ago by
Owner: | set to stuartm |
---|---|
Status: | new → assigned |
comment:4 Changed 14 years ago by
Owner: | stuartm deleted |
---|
comment:5 Changed 14 years ago by
As requested by Mike, I've attached the complete strace from updating to 0.24-fixes.
Changed 14 years ago by
Attachment: | mythversion.txt added |
---|
mythfrontend --version information from 0.24 fixes
comment:6 Changed 14 years ago by
Actually it's too big to be attached, so I've uploaded it to http://www.archifishal.co.uk/~aardvark/mythtv/strace.txt
comment:8 Changed 14 years ago by
Status: | assigned → new |
---|
comment:9 Changed 14 years ago by
Resolution: | → Invalid |
---|---|
Status: | new → closed |
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 14 years ago by
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