mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #02210
[Bug 589780] [NEW] mythfrontend wastes cpu cyles trying to access /etc/localtime
Public bug reported:
Mythfrontend constantly uses about 15% CPU which is enough to cause heat
problems in my quiet frontend box. And it wastes power too of course.
When connecting to the process with strace to see what's going on,
here's what we get repeating as fast as the terminal can print it:
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3543, ...}) = 0
read(7, 0x13a9eb4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11, events=POLLIN}], 4, 13) = 0 (Timeout)
read(7, 0x13a9eb4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(7, 0x13a9eb4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11, events=POLLIN}], 4, 0) = 0 (Timeout)
read(7, 0x13a9eb4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
And /etc/localtime on my system is this:
root@ubuntu:~# ls -l /etc/localtime
lrwxrwxrwx 1 root root 30 2010-06-04 09:37 /etc/localtime -> /usr/share/zoneinfo/US/Central
So it should be valid.
Using lsof indicates nobody is using the file.
** Affects: mythbuntu
Importance: Undecided
Status: New
** Tags: cpu mythfrontend
--
mythfrontend wastes cpu cyles trying to access /etc/localtime
https://bugs.launchpad.net/bugs/589780
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
Status in Mythbuntu, Ubuntu derivative focused upon MythTV: New
Bug description:
Mythfrontend constantly uses about 15% CPU which is enough to cause heat problems in my quiet frontend box. And it wastes power too of course.
When connecting to the process with strace to see what's going on, here's what we get repeating as fast as the terminal can print it:
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3543, ...}) = 0
read(7, 0x13a9eb4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11, events=POLLIN}], 4, 13) = 0 (Timeout)
read(7, 0x13a9eb4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(7, 0x13a9eb4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11, events=POLLIN}], 4, 0) = 0 (Timeout)
read(7, 0x13a9eb4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
And /etc/localtime on my system is this:
root@ubuntu:~# ls -l /etc/localtime
lrwxrwxrwx 1 root root 30 2010-06-04 09:37 /etc/localtime -> /usr/share/zoneinfo/US/Central
So it should be valid.
Using lsof indicates nobody is using the file.
Follow ups
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: mattsteven, 2015-01-10
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: Thomas Mashos, 2015-01-10
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: Eric, 2014-05-13
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: Eric, 2013-12-19
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: Eric, 2013-12-19
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: Eric, 2013-12-19
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: mattsteven, 2010-12-02
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: mattsteven, 2010-12-02
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: Gibby, 2010-12-02
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: mattsteven, 2010-12-01
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: Gibby, 2010-12-01
-
[Bug 589780] Re: mythfrontend wastes cpu cyles trying to access /etc/localtime
From: Lei Zhang, 2010-08-21
-
[Bug 589780] [NEW] mythfrontend wastes cpu cyles trying to access /etc/localtime
From: mattsteven, 2010-06-04
References