Hi all,

I'm having a strange problem with stun which cause a quite high memory
usage and often cause callweaver to core dump (300+ mb) after few calls.

I've tried various sip providers and various stun servers, so the
problems doesn't seem related to the far end of my calls.

When i first noticed the problem i were using svn version 5070 but i've
upgraded to the latest 5194 and the problem is the same.

On a newly boot up system equipped with 512mb of ram, callweaver uses
more ore less 3% of available memory.
On first outgoing call everything work fine during call setup and up to
when remote end answer, after that i start getting thousand of (with
stun debug enabled):

** STUN Packet SENT 1439629545 1439629545
** STUN Packet SENT 586232480 586232480
** STUN Packet SENT 596822167 596822167
** STUN Packet SENT 495343078 495343078
** STUN Packet SENT 1742304663 1742304663
....

Followed by thousand of:

** STUN request not matching. ID: 1208953606 done at: 1221144741
gotresponse 0:
** STUN request not matching. ID: 1878115324 done at: 1221144741
gotresponse 0:
** STUN request not matching. ID: 1848814686 done at: 1221144741
gotresponse 0:
** STUN request not matching. ID: 1796011874 done at: 1221144740
gotresponse 0:
** STUN request not matching. ID: 538999276 done at: 1221144740
gotresponse 0:

....

And thousand of:
** DROP: request in removal stun queue 1208953606 (too old)
** DROP: request in removal stun queue 1848814686 (too old)
** DROP: request in removal stun queue 1796011874 (too old)
** DROP: request in removal stun queue 538999276 (too old)
** DROP: request in removal stun queue 440038441 (too old)
....


All of this result in a jump of memory utilization from 3% to 26%, 100%
cpu utilization for 10 seconds and after few calls (3 to 5) in a nice
core dump (300+ mb).

Incoming calls work flawless with no memory consumption, no strange stun
messages, no 100% cpu usage.

Has anyone ever seen something like this?
Suggestion on how to resolve or at least further debug the problem?
Should i post a message in the -dev mailing list? or maybe open a ticket?

Thanks
Enrico

_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users

Reply via email to