1. Run "virsh nodedev-list" for 1000 times, and check the memory occupied by virtnodedevd service; The memory occupied increased from 13.9M to 24.0M after 8min;
#!/bin/sh
systemctl start virtnodedevd
systemctl status virtnodedevd
i=0
while [ $i -ne 1000 ]
do
virsh nodedev-list
i=$(($i+1))
echo "$i"
done
systemctl status virtnodedevd
and watch the "Memory:" field grow (or not, if the fix is there).
https:/ /bugzilla. redhat. com/show_ bug.cgi? id=2143235# c4 has a nice reproducer which could be used in the test case, if you can confirm it works as advertised.
Basically:
1. Run "virsh nodedev-list" for 1000 times, and check the memory occupied by virtnodedevd service; The memory occupied increased from 13.9M to 24.0M after 8min;
#!/bin/sh
systemctl start virtnodedevd
systemctl status virtnodedevd
i=0
while [ $i -ne 1000 ]
do
virsh nodedev-list
i=$(($i+1))
echo "$i"
done
systemctl status virtnodedevd
and watch the "Memory:" field grow (or not, if the fix is there).