yes fs will not trust the system time.<br>it gets one sample of system time when it first starts and uses the monotonic clock from there.<br><br>you can sync it back to real time with &quot;fsctl sync_clock&quot;<br><br>This is to prevent cdr from being damaged by migration over vm and someone changing the system clock.<br>
<br><br><div class="gmail_quote">On Tue, Nov 18, 2008 at 1:44 PM, Juan Jose Comellas <span dir="ltr">&lt;<a href="mailto:juanjo@comellas.org">juanjo@comellas.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, there was an update to the server&#39;s time yesterday. The ntpd<br>
daemon was down so I updated the time via ntpdate and started ntpd. I<br>
did not restart FreeSWITCH when I did that. Is FS &quot;caching&quot; the<br>
server&#39;s time in any way?<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
On Tue, Nov 18, 2008 at 5:18 PM, Brian West &lt;<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>&gt; wrote:<br>
&gt; Are you running ntpd on the machine? If so is it doing any corrections?<br>
&gt;<br>
&gt; /b<br>
&gt;<br>
&gt; On Nov 18, 2008, at 1:11 PM, Juan Jose Comellas wrote:<br>
&gt;<br>
&gt;&gt; I&#39;ve noticed that if FreeSWITCH (r10423) is left running for several<br>
&gt;&gt; hours (1 day in my case), the timestamps reported in log messages and<br>
&gt;&gt; events sent through mod_event_socket start lagging against the time<br>
&gt;&gt; reported by the server where FreeSWITCH runs. After 1 day, the time in<br>
&gt;&gt; FS was 3 minutes less than the time of the server. We are running ntp<br>
&gt;&gt; on the server, so the time is constantly updated to make sure that it<br>
&gt;&gt; stays correct.<br>
&gt;&gt;<br>
&gt;&gt; What&#39;s special about our setup is that all the dialplans are received<br>
&gt;&gt; via mod_xml_curl and that we use mod_event_socket a lot. Has anybody<br>
&gt;&gt; else experienced this problem?<br>
<br>
_______________________________________________<br>
Freeswitch-dev mailing list<br>
<a href="mailto:Freeswitch-dev@lists.freeswitch.org">Freeswitch-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>