[mythtv-users] Why does mythfrontend open 6,040 files...
robert.mcnamara at gmail.com
Sat Oct 29 03:29:35 UTC 2011
On Fri, Oct 28, 2011 at 8:09 PM, Jeff Siddall <news at siddall.name> wrote:
> ...every time I select a menu item?
> I ran strace on my frontend to try to figure out why it was taking so
> long to show the next menu after selecting something and discovered that
> mythfrontend tried to open 6,040 files every time I select a menu item.
> Most of these seem to be to directories in the pwd that I can't imagine
> would ever exist. Below is an example of 34 "open" calls for variants
> of the file "title/title_tv.png".
> I created links for "title", "ui" and "watermark" directories in my home
> dir to /tmp which reduced the menu navigation time by about 80%, but
> still, is there a good reason for what it is doing?
You appear to have a badly broken copy of the theme. It's opening all
those files because it's trying to find all the possible suffix
variants of the missing file.
Get a complete copy of the theme and your issue will go away.
More information about the mythtv-users