public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* hanging in fsync for 3+ seconds
@ 2008-01-08 18:04 George Nychis
  2008-01-08 20:09 ` George Nychis
  0 siblings, 1 reply; 2+ messages in thread
From: George Nychis @ 2008-01-08 18:04 UTC (permalink / raw)
  To: lkml

Hi all,

I noticed that all of a sudden my disk writes using VIM/EMACS are taking 
3+ seconds for even just a single byte.  So, I've used strace to narrow 
it down to fsync.

The following log is an fsync opening up a new file 'test' inserting a 
't' and writing and quitting in vim:
   http://www.andrew.cmu.edu/user/gnychis/slog

If you do a search for the only fsync, you will see it takes more than 3 
seconds:
   15171      0.000094 fsync(6)            = 0 <3.386504>

What can I do to determine why the fsync is taking so long?  I am not 
getting any disk error messages in system logs.

Info about my system:
   Ubuntu Gutsy Gibbon desktop machine, updated as of last night
   Linux 2.6.22-14-generic #1 SMP i686 GNU/Linux, running reiserFS.

Thanks!
George

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: hanging in fsync for 3+ seconds
  2008-01-08 18:04 hanging in fsync for 3+ seconds George Nychis
@ 2008-01-08 20:09 ` George Nychis
  0 siblings, 0 replies; 2+ messages in thread
From: George Nychis @ 2008-01-08 20:09 UTC (permalink / raw)
  To: lkml

solved... lpd was causing the hang.

- George


George Nychis wrote:
> Hi all,
> 
> I noticed that all of a sudden my disk writes using VIM/EMACS are taking 
> 3+ seconds for even just a single byte.  So, I've used strace to narrow 
> it down to fsync.
> 
> The following log is an fsync opening up a new file 'test' inserting a 
> 't' and writing and quitting in vim:
>   http://www.andrew.cmu.edu/user/gnychis/slog
> 
> If you do a search for the only fsync, you will see it takes more than 3 
> seconds:
>   15171      0.000094 fsync(6)            = 0 <3.386504>
> 
> What can I do to determine why the fsync is taking so long?  I am not 
> getting any disk error messages in system logs.
> 
> Info about my system:
>   Ubuntu Gutsy Gibbon desktop machine, updated as of last night
>   Linux 2.6.22-14-generic #1 SMP i686 GNU/Linux, running reiserFS.
> 
> Thanks!
> George
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-08 20:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-08 18:04 hanging in fsync for 3+ seconds George Nychis
2008-01-08 20:09 ` George Nychis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox