From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 06 02:43:17 2012 Received: (at submit) by debbugs.gnu.org; 6 Jan 2012 07:43:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj4SL-0004MI-BB for submit@debbugs.gnu.org; Fri, 06 Jan 2012 02:43:17 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj4JZ-00047b-Mu for submit@debbugs.gnu.org; Fri, 06 Jan 2012 02:34:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj4G5-0002hA-Db for submit@debbugs.gnu.org; Fri, 06 Jan 2012 02:30:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:53130) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj4G5-0002h6-C6 for submit@debbugs.gnu.org; Fri, 06 Jan 2012 02:30:37 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj4G4-00022k-2W for bug-coreutils@gnu.org; Fri, 06 Jan 2012 02:30:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj4G2-0002eZ-OY for bug-coreutils@gnu.org; Fri, 06 Jan 2012 02:30:36 -0500 Received: from szxga04-in.huawei.com ([119.145.14.67]:35981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj4G2-0002VS-AM for bug-coreutils@gnu.org; Fri, 06 Jan 2012 02:30:34 -0500 Received: from huawei.com (szxga04-in [172.24.2.12]) by szxga04-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0LXD004428S3RN@szxga04-in.huawei.com> for bug-coreutils@gnu.org; Fri, 06 Jan 2012 15:28:51 +0800 (CST) Received: from szxrg01-dlp.huawei.com ([172.24.2.119]) by szxga04-in.huawei.com (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0LXD007758S36K@szxga04-in.huawei.com> for bug-coreutils@gnu.org; Fri, 06 Jan 2012 15:28:51 +0800 (CST) Received: from szxeml206-edg.china.huawei.com ([172.24.2.119]) by szxrg01-dlp.huawei.com (MOS 4.1.9-GA) with ESMTP id AGG35428; Fri, 06 Jan 2012 15:27:51 +0800 Received: from SZXEML409-HUB.china.huawei.com (10.82.67.136) by szxeml206-edg.china.huawei.com (172.24.2.58) with Microsoft SMTP Server (TLS) id 14.1.323.3; Fri, 06 Jan 2012 15:27:48 +0800 Received: from SZXEML519-MBS.china.huawei.com ([169.254.7.136]) by szxeml409-hub.china.huawei.com ([10.82.67.136]) with mapi id 14.01.0323.003; Fri, 06 Jan 2012 15:27:43 +0800 Date: Fri, 06 Jan 2012 07:27:42 +0000 From: yukuan Subject: maybe a bug for "tail" X-Originating-IP: [10.138.12.174] To: "bug-coreutils@gnu.org" Message-id: <3ECE7663C0562F4FA7C918B9A030A10928D1A62B@SZXEML519-MBS.china.huawei.com> MIME-version: 1.0 Content-type: multipart/alternative; boundary="Boundary_(ID_UfZL6du6DIohE6Vjz5wF1Q)" Content-language: zh-CN Accept-Language: zh-CN, en-US Thread-topic: maybe a bug for "tail" Thread-index: AczMRKvXOG/kCOY2SLesNnZBUzmFEA== X-MS-Has-Attach: X-MS-TNEF-Correlator: X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: Solaris 9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 06 Jan 2012 02:43:16 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) --Boundary_(ID_UfZL6du6DIohE6Vjz5wF1Q) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT When I user "tail -f FILENAME" to follow a file, which is continually growing, the output sometimes stops. When I press ctrl-c to quit and right immediately follow the same file, output would continue. And I found the file is growing while the output stops. (BTW, it's a log file with timestamp, so I am sure the file is growing. And while writing this mail, the file in another window stops, again.) Maybe it is a bug, or not. Please explain this for me. Thanks! --Boundary_(ID_UfZL6du6DIohE6Vjz5wF1Q) Content-type: text/html; charset=us-ascii Content-transfer-encoding: 7BIT

When I user “tail –f FILENAME” to follow a file, which is continually growing, the output sometimes stops. When I press ctrl-c to quit and right immediately follow the same file, output would continue. And I found the file is growing while the output stops.

(BTW, it’s a log file with timestamp, so I am sure the file is growing. And while writing this mail, the file in another window stops, again.)

Maybe it is a bug, or not. Please explain this for me.

Thanks!

--Boundary_(ID_UfZL6du6DIohE6Vjz5wF1Q)-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 06 05:24:33 2012 Received: (at 10442) by debbugs.gnu.org; 6 Jan 2012 10:24:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj6yO-0000Nh-TK for submit@debbugs.gnu.org; Fri, 06 Jan 2012 05:24:33 -0500 Received: from mail2.vodafone.ie ([213.233.128.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj6yM-0000NW-Bn for 10442@debbugs.gnu.org; Fri, 06 Jan 2012 05:24:31 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBAMnJBk9dawJe/2dsb2JhbAAMN6oPhTABAQEEMgFGEAsNCwkWDwkDAgECAUUGDQEHAQG+JIwRBJp2jEY Received: from unknown (HELO [192.168.1.79]) ([93.107.2.94]) by mail2.vodafone.ie with ESMTP; 06 Jan 2012 10:20:54 +0000 Message-ID: <4F06CB04.7080106@draigBrady.com> Date: Fri, 06 Jan 2012 10:20:52 +0000 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: yukuan Subject: Re: bug#10442: maybe a bug for "tail" References: <3ECE7663C0562F4FA7C918B9A030A10928D1A62B@SZXEML519-MBS.china.huawei.com> In-Reply-To: <3ECE7663C0562F4FA7C918B9A030A10928D1A62B@SZXEML519-MBS.china.huawei.com> X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 10442 Cc: 10442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) On 01/06/2012 07:27 AM, yukuan wrote: > When I user "tail -f FILENAME" to follow a file, which is continually growing, the output sometimes stops. When I press ctrl-c to quit and right immediately follow the same file, output would continue. And I found the file is growing while the output stops. > (BTW, it's a log file with timestamp, so I am sure the file is growing. And while writing this mail, the file in another window stops, again.) > Maybe it is a bug, or not. Please explain this for me. > Thanks! > What version of tail? What file system is the log file on (is it remote for example)? What kernel version? Does it work with the undocumented ---disable-inotify option? cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 06 06:01:48 2012 Received: (at 10442) by debbugs.gnu.org; 6 Jan 2012 11:01:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj7YS-0001F2-85 for submit@debbugs.gnu.org; Fri, 06 Jan 2012 06:01:48 -0500 Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Rj7YQ-0001Ev-A9 for 10442@debbugs.gnu.org; Fri, 06 Jan 2012 06:01:47 -0500 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 7798D1C1D9FC; Fri, 6 Jan 2012 11:58:08 +0100 (CET) X-Auth-Info: RTu+46tSo7iqZNeRRZxfKIuGCcXkL69peJe6K0jkhfs= Received: from igel.home (ppp-88-217-123-102.dynamic.mnet-online.de [88.217.123.102]) by mail.mnet-online.de (Postfix) with ESMTPA id 4CC461C00075; Fri, 6 Jan 2012 11:58:08 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id AF86CCA2A7; Fri, 6 Jan 2012 11:58:07 +0100 (CET) From: Andreas Schwab To: yukuan Subject: Re: bug#10442: maybe a bug for "tail" References: <3ECE7663C0562F4FA7C918B9A030A10928D1A62B@SZXEML519-MBS.china.huawei.com> X-Yow: All I can think of is a platter of organic PRUNE CRISPS being trampled by an army of swarthy, Italian LOUNGE SINGERS... Date: Fri, 06 Jan 2012 11:58:07 +0100 In-Reply-To: <3ECE7663C0562F4FA7C918B9A030A10928D1A62B@SZXEML519-MBS.china.huawei.com> (yukuan@huawei.com's message of "Fri, 06 Jan 2012 07:27:42 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10442 Cc: 10442@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) yukuan writes: > When I user "tail -f FILENAME" to follow a file, which is continually growing, the output sometimes stops. When I press ctrl-c to quit and right immediately follow the same file, output would continue. And I found the file is growing while the output stops. Does it also happen if you use "tail -F"? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 09 04:49:53 2012 Received: (at 10442-done) by debbugs.gnu.org; 9 Jan 2012 09:49:53 +0000 Received: from localhost ([127.0.0.1]:50688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RkBrU-0001kO-BD for submit@debbugs.gnu.org; Mon, 09 Jan 2012 04:49:53 -0500 Received: from mail1.vodafone.ie ([213.233.128.43]:4712) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RkBrQ-0001k7-0U for 10442-done@debbugs.gnu.org; Mon, 09 Jan 2012 04:49:50 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApMBADy3Ck9daw08/2dsb2JhbAAMN69AAQEBBDIBRhALDQsJFg8JAwIBAgFFBg0BBQIBAb1cjBEEmnqMSA Received: from unknown (HELO [192.168.1.79]) ([93.107.13.60]) by mail1.vodafone.ie with ESMTP; 09 Jan 2012 09:49:29 +0000 Message-ID: <4F0AB829.3050802@draigBrady.com> Date: Mon, 09 Jan 2012 09:49:29 +0000 From: =?ISO-8859-1?Q?P=E1draig_Brady?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 MIME-Version: 1.0 To: Andreas Schwab Subject: Re: bug#10442: maybe a bug for "tail" References: <3ECE7663C0562F4FA7C918B9A030A10928D1A62B@SZXEML519-MBS.china.huawei.com> In-Reply-To: X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10442-done Cc: 10442-done@debbugs.gnu.org, yukuan X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) tags 10442 notabug On 01/06/2012 10:58 AM, Andreas Schwab wrote: > yukuan writes: > >> When I user "tail -f FILENAME" to follow a file, which is continually growing, the output sometimes stops. When I press ctrl-c to quit and right immediately follow the same file, output would continue. And I found the file is growing while the output stops. > > Does it also happen if you use "tail -F"? In private mails, the user confirmed that the file is being renamed, and thus -F is required. cheers, Pádraig. From unknown Tue Jun 24 22:36:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 06 Feb 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator