Ok, I found the reason for the delays. check_ip() (which is called after heartbeat has been sent) sometimes took up to 12 seconds to complete. This seems to be related with some slow/semi-working DNS-servers in my lab network. I've created a patch that adds a setting that makes it possible to deactivate detection of IP address change (default behaviour will be the way it works now). I know this is kind of a special case, but still, the check_ip() is not needed on most servers I would say. I will create a jira and post the patch there (later on today). Thanks for all suggestions about this. /Peter ________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Peter Olsson [peter.olsson@visionutveckling.se] Skickat: den 9 december 2010 19:42 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Reliability of HEARTBEAT events every 20 seconds? (in mod_event_socket) Yes I realize this, but I just think 10-12 seconds (30-32 instead of 20) seems like a little too much to be correct - or should I consider this as normal? /Peter ________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Brian West [brian@freeswitch.org] Skickat: den 9 december 2010 19:35 Till: FreeSWITCH Users Help Ämne: Re: [Freeswitch-users] Reliability of HEARTBEAT events every 20 seconds? (in mod_event_socket) You do realize the time in the log is when its submitted. And you have some time between then the task is run then rescheduled... Are we really going to be that picky? /b On Dec 9, 2010, at 12:25 PM, Peter Olsson wrote:
That didn't make a difference either.. I will have to look into this deeper, and add some more debug logging for when the event fires within FS.
No more suggestions anyone? :)
/Peter
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org !DSPAM:4d0124e632764708731795!