Revision: 4167
http://openser.svn.sourceforge.net/openser/?rev=4167&view=rev
Author: bogdan_iancu
Date: 2008-05-13 09:53:08 -0700 (Tue, 13 May 2008)
Log Message:
-----------
- fixed SHM memeory leak; the interprocesses communication system is leaking
shm memory due bad pointer referencing; a SHM structure ends up to be refered
from multiple structures (pkg ans shm) and cannot be safely freed
Re-worked the the memory management for the interprocesses communication system
to be able to properly free the memory.
With a constant pull via SNMP at 5 minutes intervals, with 1K of online
subscriber, the modules was leaking around 0.5 Mb per day.
Credits go to Anca Vamanu for implementing the new version.
Patch tested on a production system - quite safe and no side effects ( yet ;) )
Modified Paths:
--------------
trunk/modules/snmpstats/hashTable.c
trunk/modules/snmpstats/interprocess_buffer.c
trunk/modules/snmpstats/interprocess_buffer.h
trunk/modules/snmpstats/openserSIPContactTable.c
trunk/modules/snmpstats/openserSIPRegUserTable.c
trunk/modules/snmpstats/snmpstats.c
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Devel mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/devel