Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755834AbYAHUJS (ORCPT ); Tue, 8 Jan 2008 15:09:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752373AbYAHUJG (ORCPT ); Tue, 8 Jan 2008 15:09:06 -0500 Received: from SMTP.andrew.cmu.edu ([128.2.10.83]:36415 "EHLO smtp.andrew.cmu.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751462AbYAHUJF (ORCPT ); Tue, 8 Jan 2008 15:09:05 -0500 Message-ID: <4783D891.4010505@cmu.edu> Date: Tue, 08 Jan 2008 15:09:53 -0500 From: George Nychis User-Agent: Thunderbird 2.0.0.6 (X11/20071022) MIME-Version: 1.0 To: lkml Subject: Re: hanging in fsync for 3+ seconds References: <4783BB41.4010707@cmu.edu> In-Reply-To: <4783BB41.4010707@cmu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1124 Lines: 35 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 > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/