[asterisk-bugs] [JIRA] (ASTERISK-27981) res_fax: Fax session leak with fax gatewaying

pasandev (JIRA) noreply at issues.asterisk.org
Tue Aug 14 08:44:54 CDT 2018


     [ https://issues.asterisk.org/jira/browse/ASTERISK-27981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

pasandev updated ASTERISK-27981:
--------------------------------

    Status: Waiting for Feedback  (was: Waiting for Feedback)

Hi Josh,

This ref count log took after asterisk being up for few hours. Memory leak can be observe after about 1 day of continuous running But I can't log that much data as /var/log/asterisk/refs grows rapidly.  I have upload the raw refs file which is 6GB in total. Is there any alternate way to get this leak info without much logging ?. This build is also as MALLOC_DEBUG flag on.

you can download the raw file from https://ufile.io/4g448

> res_fax: Fax session leak with fax gatewaying
> ---------------------------------------------
>
>                 Key: ASTERISK-27981
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27981
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_fax
>    Affects Versions: 13.21.1
>         Environment: OS: Debian Stretch 9.4
> CPU Details:
> Architecture:          x86_64
> CPU op-mode(s):        32-bit, 64-bit
> Byte Order:            Little Endian
> CPU(s):                6
> On-line CPU(s) list:   0-5
> Thread(s) per core:    1
> Core(s) per socket:    6
> Socket(s):             1
> NUMA node(s):          1
> Vendor ID:             GenuineIntel
> CPU family:            6
> Model:                 44
> Model name:            Westmere E56xx/L56xx/X56xx (Nehalem-C)
> Stepping:              1
> CPU MHz:               2933.612
> BogoMIPS:              5867.22
> Hypervisor vendor:     KVM
> Virtualization type:   full
> L1d cache:             32K
> L1i cache:             32K
> L2 cache:              4096K
> L3 cache:              16384K
> NUMA node0 CPU(s):     0-5
> Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm kaiser tsc_adjust arat
>            Reporter: pasandev
>            Assignee: pasandev
>              Labels: fax, pjsip
>         Attachments: console, extensions.conf, mem_alloc, mem_alloc240718, mem_sum, mem_sum240718, mmlog, module_show, pjsip.conf
>
>
> possible memory leak on res_fax_spandsp.c according to "memory show summary" command, mem allocated to res_fax_spandsp.c keeps growing.
> I have a simple gateway setup to terminate calls from/to supplier using PJSIP Channel driver. Currently handling supplier -> Asterisk -> Customer calls.
> Customer <> Asterisk <> Supplier



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list