Summary: | ASTERISK-08607: Using Mixmonitor app eat's a lot of memory on > = 10 Simultaneous call | ||
Reporter: | Ronald Chan (loloski) | Labels: | |
Date Opened: | 2007-02-08 16:33:24.000-0600 | Date Closed: | 2007-02-26 16:08:48.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_mixmonitor |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When using mixmonitor application to record outgoing sip calls, i can barely see that in instant the memory usage was very high to the extent that the machine was extremely unstable. the calls generated on this server was about 5-20 minutes / call. If this happen, asterisk still continue to function no core dump or error reported on the console. except choppy audio simply because there's no available memory left to use. dialplan snippet: [macro-DialSipGw] exten => s,1,Mixmonitor(${CALLERID(num)-${ARG1}.wav|a) exten => s,n,Dial(SIP/itsp/${prefix}${ARG1}|60) exten => s,n,Hangup [outgoing] exten => _91XXXNXXXXXX,1,Macro(DialSipGw,${prefix}${EXTEN:1}) ****** ADDITIONAL INFORMATION ****** processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 3 model name : Intel(R) Pentium(R) 4 CPU 3.40GHz stepping : 4 cpu MHz : 3391.813 cache size : 1024 KB physical id : 0 siblings : 1 core id : 0 cpu cores : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 3 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc up pni monitor ds_cpl cid xtpr bogomips : 6785.69 Memory: 2GB Hardisk: 60GB | ||
Comments: | By: Ronald Chan (loloski) 2007-02-08 16:38:50.000-0600 Wrong: [outgoing] exten => _91XXXNXXXXXX,1,Macro(DialSipGw,${prefix}${EXTEN:1}) Correction: exten => _91XXXNXXXXXX,1,Macro(DialSipGw,${EXTEN:1}) By: Ronald Chan (loloski) 2007-02-08 16:41:00.000-0600 I'm not sure how to debug this, but removing mixmonitor solve * stability problem. Ronald By: Jason Parker (jparker) 2007-02-08 18:06:30.000-0600 exten => s,1,Mixmonitor(${CALLERID(num)-${ARG1}.wav|a) ? Did you maybe mean to do exten => s,1,Mixmonitor(${CALLERID(num)}-${ARG1}.wav|a) ? By: Ronald Chan (loloski) 2007-02-08 18:08:45.000-0600 qwell: yes heheh, i'm sorry i guess i need to sleep now :) By: Ronald Chan (loloski) 2007-02-08 18:10:47.000-0600 qwell: no heheh this what i mean, i guess i _really_ need to sleep now. dialplan snippet: [macro-DialSipGw] exten => s,1,Mixmonitor(${CALLERID(num)-${ARG1}.wav|a) exten => s,n,Dial(SIP/itsp/${prefix}${ARG1}|60) exten => s,n,Hangup [outgoing] exten => _91XXXNXXXXXX,1,Macro(DialSipGw,${EXTEN:1}) By: Joshua C. Colp (jcolp) 2007-02-13 19:28:26.000-0600 Can you please enable MALLOC_DEBUG in the 1.2 Makefile and then recompile. You should then have show memory * commands that will show you where memory is leaking (if it is). By: Ronald Chan (loloski) 2007-02-14 16:15:42.000-0600 file: alright will do that thanks, i will post results asap, as soon as i convince the customer again to enable the voice recording. thanks By: Ronald Chan (loloski) 2007-02-26 16:03:30.000-0600 file: please close this for the meantime since the customer, has an alternate route to record their conversation, if the problem resurface on my other implementation i'll ask to re-open this again. Thanks Ronald |