[Freeswitch-users] Virtualized Freeswitch?

Michael Giagnocavo mgg at giagnocavo.net
Tue Feb 21 00:37:17 MSK 2012


>From what I understand, the monotonic clock can be affected by NTP. Perhaps NTP is slewing hard or something, causing FreeSWITCH to detect and resync, causing an apparent jump forward by many minutes?

Can you check your NTP config and see how well your clock is staying in sync?

-Michael

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Peter Olsson
Sent: Monday, February 20, 2012 1:38 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Virtualized Freeswitch?

I agree, this shouldn't be any problems.

The log lines indicate that the monotonic clock in the OpenVZ container goes backwards by the time it's logged. I haven't used OpenVZ much though, so I'm not really sure what could be the reason for this.

/Peter

________________________________________
Från: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] för Tim Nelson [tnelson at rockbochs.com]
Skickat: den 20 februari 2012 16:48
Till: freeswitch-users at lists.freeswitch.org
Ämne: [Freeswitch-users] Virtualized Freeswitch?

Greetings all-

I'm quite experienced with Asterisk, and specifically, usage in a virtualized environment. It works great with a bit of tuning. I'm starting to work more with Freeswitch, and as such, I'm looking to implement it in a virtualized environment. My initial installation was onto a CentOS 6 OpenVZ container. However, the logs are showing this (many times):

2012-02-20 18:43:51.846882 [WARNING] switch_scheduler.c:114 Task was executed late by 280 seconds 1 heartbeat (core)
2012-02-20 18:43:51.846882 [WARNING] switch_scheduler.c:114 Task was executed late by 260 seconds 2 check_ip (core)
2012-02-20 18:46:21.496538 [CRIT] switch_time.c:798 Virtual Migration Detected! Syncing Clock
2012-02-20 18:46:21.496538 [CRIT] switch_time.c:810 If you see this message many times try setting the param enable-clock-nanosleep to true in switch.conf.xml or consider a nicer machine to run me on. I AM *FREE* afterall.

I completely understand the issue with realtime applications such as VoIP in a virtualized environment with limited timing facilities. However, OpenVZ makes use of a shared kernel which in my prior experience, does not have the issues associated with fully virtualized technologies like VMWare, KVM, Xen, Hyper-V, etc. Am I incorrect or is this issue specific to Freeswitch (but apparently not so in use with Asterisk) ?

There are a couple of wiki entries [1][2] which seem to indicate others are using Freeswitch with OpenVZ with success. Am I mistaken?

Looking for some pointers if you can lend some insight into this issue. Maybe the errors are harmless? I have not actually pushed any traffic through this installation yet, due to the errors.

Thanks!

--Tim

[1] http://wiki.freeswitch.org/wiki/FreeSWITCH_in_OpenVZ
[2] http://wiki.freeswitch.org/index.php?title=Virtualization&redirect=no

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

 

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at 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:4f429f4e32761940426658!


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org
http://www.freeswitchsolutions.com

 

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list