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@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@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@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@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400