Robert Boardman
2004-Mar-03 05:33 UTC
[Asterisk-Users] PRI and Voicemail Memory increasing
Hi, With the current CVS as of last night 20:00GMT I was testing a asterisk with the e100p card using a PRI analyzer to excerise the 30 channels over and over, just going directly to voice-mail. Basically, I don't know what is going on but every time a PRI channel is picked up about 8K memory is used, but it is never released, I ran the test for about four hours last night, and th server started with 100Mb usage, and after 4 hours the memory usage had climbed to 270Mb. After some research and a few changes this is my current observation 1st Observation: After the memory leak was discovered I turned astmm on and recompiled *. The 'show memory allocations' and 'show memory summary' commands did not indicate that any of the * internals were growing during the test run. 2nd Observation: When I first boot the system (mod probes for zaptel and wct1xxp and * are run up from rc.local and there are no ISDN calls running) the memory is already leaking by 8Kb every few seconds. If I stop * and then restart it the "memory leak" stops until I start making ISDN calls... Does anyone have any advice to release the memory or stop the leak? Thanks Robb -- Robert Boardman Tel:01617737929 IAXTel:17007737929 FWD:82623 -- Robert Boardman Tel:01617737929 IAXTel:17007737929 FWD:82623
Steven Critchfield
2004-Mar-03 11:44 UTC
[Asterisk-Users] PRI and Voicemail Memory increasing
On Wed, 2004-03-03 at 06:33, Robert Boardman wrote:> Hi, > > With the current CVS as of last night 20:00GMT > > I was testing a asterisk with the e100p card using a PRI analyzer to excerise > the 30 channels over and over, just going directly to voice-mail. > > Basically, I don't know what is going on but every time a PRI channel is picked > up about 8K memory is used, but it is never released, I ran the test for about > four hours last night, and th server started with 100Mb usage, and after 4 hours > the memory usage had climbed to 270Mb. > > After some research and a few changes this is my current observation > > 1st Observation: > After the memory leak was discovered I turned astmm on and recompiled *. The > 'show memory allocations' and 'show memory summary' commands did not > indicate that any of the * internals were growing during the test run. > > 2nd Observation: > When I first boot the system (mod probes for zaptel and wct1xxp and * are run up > from rc.local and there are no ISDN calls running) the memory is already leaking > by 8Kb every few seconds. If I stop * and then restart it the "memory leak" > stops until I start making ISDN calls... > > Does anyone have any advice to release the memory or stop the leak?Where are you getting the values for the memory usage? Are you just using the free memory on the system? -- Steven Critchfield <critch@basesys.com>