[issue1129] hammer-inodes: malloc limit exceeded

Francois Tigeot ftigeot at wolfpond.org
Tue Sep 16 13:40:06 PDT 2008


Matthew Dillon wrote:
>     Ok, I'm looking at the core.  There do not appear to be any
>     memory leaks but HAMMER got behind on reclaiming inodes whos ref
>     count has dropped to 0.
> 
>     In looking at the code I see a case that I am not handling in
>     VOP_SETATTR.  Was the code you were running doing a lot of chmod,
>     chown, or other operations on file paths that do not require open()ing
>     the file?

Definitely.

Every time I got a crash, the machine was re-creating an hourly rsnapshot
arborescence from the previous one. It should have been a mix of mkdir /
chmod / chown ...

-- 
Francois Tigeot





More information about the Bugs mailing list