Shared memory leak in python bindings
|Assignee:||Redmine Admin||% Done:|
The python bindings leak shared memory. This is a problem when you have resident scripts handling drqueue stuff periodically.
import drqueue.base.libdrqueue as drqueue
comp = drqueue.request_computer_list(drqueue.CLIENT)
Now if you do an ipcs, you will see a new shared memory item for each computer on the network. When you have a network of, say, 100 computers, this will exhaust the shared memory very quickly and the script will begin to fail :(
#1 Updated by Andreas Schröder almost 10 years ago
See forum entry http://drqueue.org/cwebsite/drqueue_community/comments.php?DiscussionID=493 for progress on this bug.
#3 Updated by Andreas Schröder over 9 years ago
The correct URL for the discussion entry is now https://ssl.drqueue.org/cwebsite/drqueue_community/comments.php?DiscussionID=493
#5 Updated by Andreas Schröder about 9 years ago
I've added a script to look for shared memory leaks: https://ssl.drqueue.org/project/browser/branches/0.64.x/python/python_leak_test.py
So far, no leaks for me with these tests.