Revision: 4169
http://openser.svn.sourceforge.net/openser/?rev=4169&view=rev
Author: bogdan_iancu
Date: 2008-05-13 10:01:07 -0700 (Tue, 13 May 2008)
Log Message:
-----------
backport from trunk (rev #4167):
- 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 ;)
)
Revision Links:
--------------
http://openser.svn.sourceforge.net/openser/?rev=4167&view=rev
Modified Paths:
--------------
branches/1.2/modules/snmpstats/hashTable.c
branches/1.2/modules/snmpstats/interprocess_buffer.c
branches/1.2/modules/snmpstats/interprocess_buffer.h
branches/1.2/modules/snmpstats/openserSIPContactTable.c
branches/1.2/modules/snmpstats/openserSIPRegUserTable.c
branches/1.2/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