[Freeswitch-dev] Lag in timestamps reported by FreeSWITCH

Anthony Minessale anthony.minessale at gmail.com
Tue Nov 18 12:22:09 PST 2008

yes fs will not trust the system time.
it gets one sample of system time when it first starts and uses the
monotonic clock from there.

you can sync it back to real time with "fsctl sync_clock"

This is to prevent cdr from being damaged by migration over vm and someone
changing the system clock.

On Tue, Nov 18, 2008 at 1:44 PM, Juan Jose Comellas <juanjo at comellas.org>wrote:

> Yes, there was an update to the server's time yesterday. The ntpd
> daemon was down so I updated the time via ntpdate and started ntpd. I
> did not restart FreeSWITCH when I did that. Is FS "caching" the
> server's time in any way?
> On Tue, Nov 18, 2008 at 5:18 PM, Brian West <brian at freeswitch.org> wrote:
> > Are you running ntpd on the machine? If so is it doing any corrections?
> >
> > /b
> >
> > On Nov 18, 2008, at 1:11 PM, Juan Jose Comellas wrote:
> >
> >> I've noticed that if FreeSWITCH (r10423) is left running for several
> >> hours (1 day in my case), the timestamps reported in log messages and
> >> events sent through mod_event_socket start lagging against the time
> >> reported by the server where FreeSWITCH runs. After 1 day, the time in
> >> FS was 3 minutes less than the time of the server. We are running ntp
> >> on the server, so the time is constantly updated to make sure that it
> >> stays correct.
> >>
> >> What's special about our setup is that all the dialplans are received
> >> via mod_xml_curl and that we use mod_event_socket a lot. Has anybody
> >> else experienced this problem?
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20081118/bd526b24/attachment.html 

More information about the Freeswitch-dev mailing list