Re: [Sawfish] Re: High IO while config is open.

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


On Wed, Aug 29, 2012 at 12:33 AM, GSR - FR <famrom@xxxxxxxxxxxxxxxxxxxx> 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


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/