[Freeswitch-users] Virtualized Freeswitch?

Peter Olsson peter.olsson at visionutveckling.se
Mon Feb 20 23:37:41 MSK 2012


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!




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