GNU bug report logs - #31184
tail -f on Network FS not refreshing as soon as the file is changed.

Previous Next

Package: coreutils;

Reported by: Jewsco Pius Jacquez <JewscoPius.Jacquez <at> Amdocs.com>

Date: Mon, 16 Apr 2018 17:26:02 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jewsco Pius Jacquez <JewscoPius.Jacquez <at> Amdocs.com>
To: Pádraig Brady <P <at> draigBrady.com>, "31184 <at> debbugs.gnu.org" <31184 <at> debbugs.gnu.org>
Subject: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed.
Date: Thu, 19 Apr 2018 14:43:07 +0000
Pádraig, thanks for your response.

In my reproducer environment, it doesn't totally update. RHEL7 Samba server, RHEL6 Samba client.

Unless I provided the extra interval parameter. 

When I run it in Redhat9, I don't need any extra, it refresh automatically.


[jjacquez <at> cmilsbtest03 src]$ ./tail --version
tail (GNU coreutils) 8.29
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Paul Rubin, David MacKenzie, Ian Lance Taylor,
and Jim Meyering.
[jjacquez <at> cmilsbtest03 src]$ date; time ./tail -f /media/samba/test.file
Thu Apr 19 09:28:48 CDT 2018
Thu Apr 19 09:28:47 CDT 2018
Thu Apr 19 09:28:48 CDT 2018
Thu Apr 19 09:28:48 CDT 2018
Thu Apr 19 09:28:48 CDT 2018
Thu Apr 19 09:28:48 CDT 2018
Thu Apr 19 09:28:48 CDT 2018
Thu Apr 19 09:28:48 CDT 2018
Thu Apr 19 09:28:48 CDT 2018
Thu Apr 19 09:28:48 CDT 2018
Thu Apr 19 09:28:48 CDT 2018


^C
real    10m51.467s
user    0m0.009s
sys     0m0.006s

[jjacquez <at> cmilsbtest03 src]$ date; time ./tail -f /media/samba/test.file
Thu Apr 19 09:39:42 CDT 2018
Thu Apr 19 09:39:38 CDT 2018
Thu Apr 19 09:39:38 CDT 2018
Thu Apr 19 09:39:38 CDT 2018
Thu Apr 19 09:39:38 CDT 2018
Thu Apr 19 09:39:38 CDT 2018
Thu Apr 19 09:39:38 CDT 2018
Thu Apr 19 09:39:38 CDT 2018
Thu Apr 19 09:39:38 CDT 2018
Thu Apr 19 09:39:39 CDT 2018
Thu Apr 19 09:39:39 CDT 2018
^C
real    0m3.908s
user    0m0.000s
sys     0m0.001s

[jjacquez <at> cmilsbtest03 src]$

-----Original Message-----
From: Pádraig Brady [mailto:P <at> draigBrady.com] 
Sent: Wednesday, April 18, 2018 10:04 PM
To: Jewsco Pius Jacquez <JewscoPius.Jacquez <at> Amdocs.com>; 31184 <at> debbugs.gnu.org
Subject: Re: bug#31184: tail -f on Network FS not refreshing as soon as the file is changed.

Could you clarify whether the rhel7 version of tail is too slow when showing updates to the file, or misses updates to the file entirely.

There have been various fixes to tail, so it would be worth verifying how the latest behaves, like:

  wget https://ftpmirror.gnu.org/coreutils/coreutils-8.29.tar.xz
  tar -xf coreutils-8.29.tar.xz
  cd coreutils-8.29
  ./configure --quiet && make -j$(nproc)
  src/tail -f /media/samba/test.file

cheers,
Pádraig
This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer <https://www.amdocs.com/about/email-disclaimer>





This bug report was last modified 6 years and 203 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.