Hello Prasad,

Prasad Koya:
> aufs au_new_inode:412:Aaa[7803]: Warning: Un-notified UDBA or repeatedly 
> renamed dir, b0, tmpfs, admin, hi5959, i4117.
> We are seeing above warning from aufs. Two questions:
> 
> 1. Is above message benign? Or does it indicate there is some memory leak or 
> something of that sort happening?
> 
> 2. Pl see my mounts below. I tried running a command like "mv /.overlay/test 
> /.overlay/test1; mv /.overlay/test1 /.overlay/test" like several 10s of 
> thousand times but I didn't see above warning. Any other way I can find out 
> what is it from user space or kernel space that is making aufs throw this 
> warning?

The message doesn't indicate a memory leak. It tells you that
- you have accessed a file in aufs, and the system stores its inode in cache.
- you made some changes to the file outside of aufs (bypassing aufs).
- you access the file again in aufs.
- aufs finds something unmatched between the cached aufs-inode and the
  inode on the branch fs (directly changed inode), and produces the
  warning.

To reproduce the warning, I'd suggest you the following steps. But I am
not sure it can surely reproduce since it highly depends upon the cache
situation.
- /u = /rw + /ro
- run "> /u/file" once
- repeat "stat /u/file > /dev/null" in background
- repeat "> /rw/file2; mv /rw/file2 /rw/file"

If you want aufs to support such situation without the warning, then you
should use the aufs "udba=notify" mount option. It detects the direct
changes on the branch and aufs simply make the cached inode obsolete.

If you didn't make any direct changes, then there may be something wrong
in aufs. Please let me know more details.


J. R. Okajima

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct

Reply via email to