Re: Re: High IO while config is open.

Michal Maruska <[email protected]>
Newsgroups gmane.comp.window-managers.sawfish
Message-ID <CAPHw+0UevL0+E6LgtTQXhyS-Hy7WXCJFDmqxgCVr5p0H9RKicA@mail.gmail.com>
On Wed, Aug 29, 2012 at 12:33 AM, GSR - FR <[email protected]> wrote:
.....
> There are thousands of 'read'. The one that appears a lot uses fd 10,
> 'grep "read(10" strace_output | wc -l' gives 116465, the file has
> 261125 lines.
>
> Looking up what has generated a 10 gives some 'open's (that are closed
> quickly) and 'inotify_init1'. Those read calls have
> '\x73\x74\x72\x61\x63\x65\x5f\x6f\x75\x74\x70\x75\x74' which is the
> string 'strace_output'.
>
> My take is something is looking for changed files (check the
> 'inotify_add_watch' calls), and you are changing a file just where
> that thing is looking at.
>
> Could you try making redirections to /tmp/strace_output and check
> again? Maybe something (gtk inner guts?) is causing part of the IO
> noise.

So for some reason  this  sawfish-config opens an inotify on your home
directory (and/home/robert/.local/share) .
Maybe it should not, or is it some Gtk internal thing?

So, similar to
    inoticoming --foreground  .  echo {} \;

When you do as GSR suggested (diverting the strace output out of those
2 directories),
you might see what is touching files in those directories.

-- 
Sawfish ML
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.