[OpenAFS] getcwd() error for RHEL 7.4 kernel

Benjamin Kaduk kaduk@mit.edu
Sat, 28 Oct 2017 07:42:36 -0500


On Fri, Oct 27, 2017 at 12:34:08PM -0400, Matt Vander Werf wrote:
> Hi Ben,
> 
> Following
> https://unix.stackexchange.com/questions/17936/setting-proc-sys-vm-drop-caches-to-clear-cache,
> I dropped the pagecache (echo 1 > /proc/sys/vm/drop_caches) and that didn't
> make any difference. I then freed the dentries and inodes (echo 2 >
> /proc/sys/vm/drop_caches) and that didn't make any difference either.
> 
> Let me know if there's anything else we could try.

Well, we're pretty much scraping the bottom of the bucket, here, in that
there are only so many places that the non-existence of a directory
dentry could be recorded.  The only other thing that comes to mind as
potentially interesting would be to see what objects in /afs are
indicated as in use by lsof(8), after both 'echo 2 > /proc/sys/vm/drop_caches'
and 'fs flushall'.

-Ben