You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explored Valgrind tool to detect memory leak/corruption in istgt
It is able to give stats about the memory only once the istgt process is killed/died.
It doesn't support attaching the currently running process to it(By its design).
If will kill the Valgrind process then it will not give any stats about memory usage.
Ex: We need to launch istgt process as Valgrind ./istgt to get memory stats but if we kill that process then it is not giving any stats about the memory(since Valgrind itself dies so no one is there to print output).
============
Basically, to overcome the above issue we need to have istgtcontrol command to kill istgt process alone and need to check whether Valgrind is able to give stats.
What would you like to be added:
It will help to fix memory issues/corruption in cstor-istgt.
Why is this needed:
Add a test case to track memory leak (or) corruption using Valgrind tool
Describe the solution you'd like:
[A clear and concise description of what you want to happen]
Environment:
kubectl version
):/etc/os-release
):The text was updated successfully, but these errors were encountered: