[Home]

Summary:ASTERISK-07820: memory leak in 1.2.12.1 after upgrading from 1.2.10
Reporter:Roy Sigurd Karlsbakk (rkarlsba)Labels:
Date Opened:2006-09-26 08:16:20Date Closed:2011-06-07 14:02:49
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) memleak.png
Description:just upgraded from 1.2.10 to 1.2.12.1 to try to reproduce ASTERISK-7811 with the newer code, and now asterisk eats lots of memory while running. after two hours run time, asterisk has allocated 777456/132196 kilobytes DRS/RSS. This did not happen with earlier versions.

I have astmm enabled, but 'show memory ...' does not show these allocations

I may try to trace back to see where then the leak stops

roy
Comments:By: Roy Sigurd Karlsbakk (rkarlsba) 2006-09-26 08:16:45

...and again i filed it undere the wrong project :P

sorry

By: Serge Vecher (serge-v) 2006-09-26 08:51:14

bad roy ;)
yes, please do track the mem leak down, we don't like those in the release branch...

By: Roy Sigurd Karlsbakk (rkarlsba) 2006-09-26 08:58:23

Any idea how to debug this when it doesn't show up with astmm?

By: Serge Vecher (serge-v) 2006-09-26 09:07:48

roy: better ask the gurus on the dev list

By: Russell Bryant (russell) 2006-09-26 14:51:44

I can't think of any reason why any module that is a part of the main Asterisk distribution would have its memory allocations not show up in astmm.  However, if you are using a module from Asterisk-addons, or some other 3rd party module, it most likely would not show up.  Do you have anything like this in use?

By: Clod Patry (junky) 2006-09-26 23:46:12

what happened at 13? a reload or restart ?

By: Roy Sigurd Karlsbakk (rkarlsba) 2006-09-27 03:34:16

russell: Just using standard -addons. And everything has been working perfectly until I added the 1.2.11, 1.2.12 and 1.2.12.1 patches

junky: 13? I do not understand.....

By: Clod Patry (junky) 2006-09-27 07:04:49

on ur graph (memleak.png)

By: Tilghman Lesher (tilghman) 2006-09-27 07:32:37

rkarlsba:  which of the standard addons are you actually using?  Could we see a dialplan which includes these uses?

By: Roy Sigurd Karlsbakk (rkarlsba) 2006-09-27 19:34:15

Just close this.
We had a merge earlier in our svn tree and some other shite came in that caused the bug.
When I tried with a plain(er) 1.2.12.1, the bug never came up

Sorry about this

roy

By: Clod Patry (junky) 2006-09-27 19:40:50

close per reporter's request.