Xavi, Can you help with steps/pointers to validate the fix? regards, nag
Nag Pavan, Based on previous comments in the bug I understand that memory leak is caused due to the posix locks being acquired by the application (via fcntl call). So, one way to test whether the patches have fixed the memory leak would be to try taking posix locks (i.e. fcntl calls) and keep checking the memory usage of the bricks. With the patch, the memory usage should not be as much as without the patches. I have attached a program called locks.c to this bug. Please check whether it can help you to verify this bug. The program is a old one which I do not exactly recall when and why it was used. But it tries to take locks. See if it can help you. Regards, Raghavendra
Created attachment 1474815 [details] locks program
(In reply to Raghavendra Bhat from comment #38) > Nag Pavan, > > Based on previous comments in the bug I understand that memory leak is > caused due to the posix locks being acquired by the application (via fcntl > call). > > So, one way to test whether the patches have fixed the memory leak would be > to try taking posix locks (i.e. fcntl calls) and keep checking the memory > usage of the bricks. > > With the patch, the memory usage should not be as much as without the > patches. I have attached a program called locks.c to this bug. Please check > whether it can help you to verify this bug. The program is a old one which I > do not exactly recall when and why it was used. But it tries to take locks. > > See if it can help you. > > Regards, > Raghavendra thanks Raghavendra, I had a locks script, which I was running, but the one you shared is better, will make use of it.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2607