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
I run freeswitch on both bare metal and OpenVZ containers. Other than occasional choppy audio I don't have issues on virtualized nodes. I suggest making sure your host is in fact set up properly. I've actually had better results using freeswitch than asterisk on the same host. There are white a few people out there running FreeSWITCH on virtualized nodes with favorable results. -BDF P.S. As with Asterisk it's not really recommended to run FreeSWITCH in a OpenVZ container. Works well enough if you bypass media. On Feb 20, 2012 2:34 PM, "Tim Nelson" <tnelson@rockbochs.com> wrote:
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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
On Mon, Feb 20, 2012 at 12:31 PM, Brian Foster <bdfoster@endigotech.com>wrote:
I run freeswitch on both bare metal and OpenVZ containers. Other than occasional choppy audio I don't have issues on virtualized nodes. I suggest making sure your host is in fact set up properly. I've actually had better results using freeswitch than asterisk on the same host. There are white a few people out there running FreeSWITCH on virtualized nodes with favorable results.
While there are quite a few white people using FreeSWITCH I must say that we welcome all races and colors. :) -MC
Virtualized FS works great for us. Date: Mon, 20 Feb 2012 15:31:10 -0500 From: bdfoster@endigotech.com To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Virtualized Freeswitch? I run freeswitch on both bare metal and OpenVZ containers. Other than occasional choppy audio I don't have issues on virtualized nodes. I suggest making sure your host is in fact set up properly. I've actually had better results using freeswitch than asterisk on the same host. There are white a few people out there running FreeSWITCH on virtualized nodes with favorable results. -BDF P.S. As with Asterisk it's not really recommended to run FreeSWITCH in a OpenVZ container. Works well enough if you bypass media. On Feb 20, 2012 2:34 PM, "Tim Nelson" <tnelson@rockbochs.com> wrote: 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@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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
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@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Tim Nelson [tnelson@rockbochs.com] Skickat: den 20 februari 2012 16:48 Till: freeswitch-users@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@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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:4f429f4e32761940426658!
I'm crazy enough to run FreeSWITCH on the Rackspace cloud. They allow you to build your own kernel, so I have a custom one with 1kHz interrupt timer. Seems to work fine. On 20 February 2012 20:37, Peter Olsson <peter.olsson@visionutveckling.se>wrote:
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@lists.freeswitch.org [ freeswitch-users-bounces@lists.freeswitch.org] för Tim Nelson [ tnelson@rockbochs.com] Skickat: den 20 februari 2012 16:48 Till: freeswitch-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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:4f429f4e32761940426658!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Andrew Cassidy BSc (Hons) MBCS Managing Director; Cassidy Web Services Ltd T: 03300 100 960 F: 03300 100 961 E: andrew@cassidywebservices.co.uk W: www.cassidywebservices.co.uk
MC, Good catch, I just grounded my sleek check for making me look like a fool... On Feb 20, 2012 3:44 PM, "Andrew Cassidy" <andrew@cassidywebservices.co.uk> wrote:
I'm crazy enough to run FreeSWITCH on the Rackspace cloud. They allow you to build your own kernel, so I have a custom one with 1kHz interrupt timer. Seems to work fine.
On 20 February 2012 20:37, Peter Olsson <peter.olsson@visionutveckling.se>wrote:
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@lists.freeswitch.org [ freeswitch-users-bounces@lists.freeswitch.org] för Tim Nelson [ tnelson@rockbochs.com] Skickat: den 20 februari 2012 16:48 Till: freeswitch-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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:4f429f4e32761940426658!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Andrew Cassidy BSc (Hons) MBCS Managing Director; Cassidy Web Services Ltd T: 03300 100 960 F: 03300 100 961 E: andrew@cassidywebservices.co.uk W: www.cassidywebservices.co.uk
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
On Feb 20, 2012 4:07 PM, "Brian Foster" <bdfoster@endigotech.com> wrote:
MC,
Good catch, I just grounded my sleek check for making me look like a
fool...
And apparently it hasn't learned its lesson...
On Feb 20, 2012 3:44 PM, "Andrew Cassidy" <andrew@cassidywebservices.co.uk> wrote:
I'm crazy enough to run FreeSWITCH on the Rackspace cloud. They allow
you to build your own kernel, so I have a custom one with 1kHz interrupt timer. Seems to work fine.
On 20 February 2012 20:37, Peter Olsson <peter.olsson@visionutveckling.se>
wrote:
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@lists.freeswitch.org [
freeswitch-users-bounces@lists.freeswitch.org] för Tim Nelson [ tnelson@rockbochs.com]
Skickat: den 20 februari 2012 16:48 Till: freeswitch-users@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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:4f429f4e32761940426658!
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Andrew Cassidy BSc (Hons) MBCS Managing Director; Cassidy Web Services Ltd T: 03300 100 960 F: 03300 100 961 E: andrew@cassidywebservices.co.uk W: www.cassidywebservices.co.uk
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Tim Nelson [tnelson@rockbochs.com] Skickat: den 20 februari 2012 16:48 Till: freeswitch-users@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@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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:4f429f4e32761940426658! _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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
----- Original Message -----
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?
Nope, the system clock is stable. It appears responses to the mailing list are quite slow today. So, you'll probably see my other response before this but... This issue is only present on a CentOS 6 VZ container, not in CentOS 5. So, it appears to be OS/lib/etc specific. --Tim
I guess you could add some calls to trace the output of the various clock functions around there, and see how the monotonic clock drifts over time? -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tim Nelson Sent: Monday, February 20, 2012 2:43 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Virtualized Freeswitch? ----- Original Message -----
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?
Nope, the system clock is stable. It appears responses to the mailing list are quite slow today. So, you'll probably see my other response before this but... This issue is only present on a CentOS 6 VZ container, not in CentOS 5. So, it appears to be OS/lib/etc specific. --Tim _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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
----- Original Message -----
I guess you could add some calls to trace the output of the various clock functions around there, and see how the monotonic clock drifts over time?
That is a bit out of my knowledge/comfort level. However, after further testing, I've found a later kernel/Glibc solves the problem. When running the CentOS 6 container on the following system, I have the errors present: Kernel: Linux virt3 2.6.18-6-pve #1 SMP Mon May 9 13:27:11 CEST 2011 x86_64 GNU/Linux Glibc: 2.7-18lenny6 However, after migrating the CentOS 6 container to a more updated system, the errors go away: Kernel: Linux virt1 2.6.32-4-pve #1 SMP Mon May 9 12:59:57 CEST 2011 x86_64 GNU/Linux Glibc: 2.7-18lenny7 My (somewhat educated) guess is the changes to the CentOS 6 kernel in regards to timing are also reflected somehow in the software. The kernel being used is not from CentOS 6 (but rather Debian, patched with OpenVZ), and the later kernels support or handle whatever it is the CentOS 6 libs/ABI/whatever are looking for. Does that make sense? --Tim
2.6.18 is the kernel that CentOS 5 shipped with. Using the CentOS 6 kernel will definitely make a huge difference. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Tim Nelson Sent: Tuesday, February 21, 2012 10:39 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Virtualized Freeswitch? ----- Original Message -----
I guess you could add some calls to trace the output of the various clock functions around there, and see how the monotonic clock drifts over time?
That is a bit out of my knowledge/comfort level. However, after further testing, I've found a later kernel/Glibc solves the problem. When running the CentOS 6 container on the following system, I have the errors present: Kernel: Linux virt3 2.6.18-6-pve #1 SMP Mon May 9 13:27:11 CEST 2011 x86_64 GNU/Linux Glibc: 2.7-18lenny6 However, after migrating the CentOS 6 container to a more updated system, the errors go away: Kernel: Linux virt1 2.6.32-4-pve #1 SMP Mon May 9 12:59:57 CEST 2011 x86_64 GNU/Linux Glibc: 2.7-18lenny7 My (somewhat educated) guess is the changes to the CentOS 6 kernel in regards to timing are also reflected somehow in the software. The kernel being used is not from CentOS 6 (but rather Debian, patched with OpenVZ), and the later kernels support or handle whatever it is the CentOS 6 libs/ABI/whatever are looking for. Does that make sense? --Tim _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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
participants (7)
-
Andrew Cassidy
-
Brian Foster
-
David Lawal
-
Michael Collins
-
Michael Giagnocavo
-
Peter Olsson
-
Tim Nelson