-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: FSAL's state_free function doesn't actually free the state - was Question: Is the memory occupied by ceph_alloc_state normal? #1028
Comments
5.6 and 5.7 have fixes for memory usage in libcephfs. Please try 5.7 and see if that fixes your problem. |
This looks like something different from what we've addressed. I'll have a look at it. |
I tried version 5.7 and still have this problem. In addition, the ceph_alloc_state/ceph_free_state function seems to be called only by NFS V4. This problem does not occur when using V3.
I don’t see where the memory applied for here is released. |
Yea, I think it actually affects all FSALs, or at least all FSALs probably have the same bug. Will try to address this today. |
This does impact all FSALs that implement state_free... |
I tried the new patch, the bug seems to be fixed, memory of ganesha is stable. |
Thanks for the verification. |
I think I'm facing the same problem! I see that the fix is scheduled for version 6. Do you already have an idea when it's going to be released? It has a nice list of fixes already, so soon would be highly appreciated :-) Or another bugfix release maybe? |
This needs a backport to V5-stable |
The ganesha version I am using is 5.5.2 and the backend is CEPH.
Entries_HWMark is 500000, Chunks_HWMark is 0.
When I use vdbench to continuously write files to the nfs export, ganesha's memory keeps rising and the cache inode number remains at 500000.
So I was curious about what memory was increasing, so I used massif to analyze it. Then I found that the rising memory is ceph_alloc_state.
see:
This keeps growing...
cache remains unchanged.
I saw that the ceph_alloc_state function applied for memory, but ceph_free_state does not release the requested memory, Is it specially designed? Is the memory here normal?
The text was updated successfully, but these errors were encountered: