[Home]

Summary:ASTERISK-28358: Too much allocations in frame.c
Reporter:Pilganchuk O. (Oleksii)Labels:
Date Opened:2019-03-28 04:03:18Date Closed:2019-04-16 12:09:56
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/General
Versions:13.14.0 13.25.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment: Debian 3.16.51-3 Attachments:( 0) Aster.7z
Description:Hi, I have a problem with memory leak in 13.25 version

From start of the work day (8 AM) until to end (8 PM)  Asterisk have alot og RAM and does not free them.

Now in 10 AM:
1084961849 bytes (1084961849 cache) in    2980583 allocations in file frame.c

and this cache wiil be rase up to 10 GB. And if even all activity has been stoped - leak goon until i'll stop\start daemon.
Comments:By: Asterisk Team (asteriskteam) 2019-03-28 04:03:20.430-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

By: Joshua C. Colp (jcolp) 2019-03-28 08:21:26.449-0500

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. Please read over the Asterisk Issue Guidelines [1] which discusses the information necessary for your issue to be resolved and the format that information needs to be in. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected and the location of documentation that led you to that expectation.
3. The behavior you actually encountered.

To demonstrate the issue in detail, please include Asterisk log files generated per the instructions on the wiki [2]. If applicable, please ensure that protocol-level trace debugging is enabled, e.g., 'sip set debug on' if the issue involves chan_sip, and configuration information such as dialplan and channel configuration.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

[2] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

For example frames are used wherever media passes - so without knowing how you are using Asterisk, what is being executed, what is going on, noone can help really.

By: Pilganchuk O. (Oleksii) 2019-03-28 09:01:02.510-0500

Added attach with debug lvl 5 anf debyg lvl 99

By: Pilganchuk O. (Oleksii) 2019-03-28 09:01:18.961-0500

Few words about harware: VirtualMachine, 4 CPU, 16 GB RAM, 400 GB SSD

My Asterisk have two roles
1. Single SIP Calling
2. Call flow trough REST(ARI, Stasis)

1st - Noproblem, and no Bugs
2nd - have discribed bug,  and tack about it

Schema is:
1. POST to REST API to create Channel for Operator(softphone Microsip), and this channel stiil active all work time
2. POST to REST API to create Bridge, and this bridge stiil active all work time
3. POST to add cahnnel to bridge
4. If Operator in his UI try to call on Mobile - POST to POST to REST API to create Channel
5. Post to play MOH into Operator channel
6. If Mobile answered, POST to join to bridge
7. POST to Start Recording
8. POST to Stop Recording

in debug calls trough Peer 'ukrtelecom' and channels are not standart Asterisk id in float, they are like UID+Secondname.


By: Joshua C. Colp (jcolp) 2019-04-02 05:31:42.049-0500

Can you please provide an ARI application and configuration that reproduces this issue so an individual can more easily isolate and determine what is going on?

By: Asterisk Team (asteriskteam) 2019-04-16 12:00:02.240-0500

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines