Thank you Anthony.<div><br><div>You are right twice.</div><div>I don&#39;t have timeout in xml_curl configuration.</div><div>And I am using core odbc as well.</div><div><br></div><div>So probably whole FS was blocked because of short network outage.</div>
<div><br></div><div>Just FYI, this is what I have in log between 16:57 and 17:01 - but I don&#39;t think it will add more light to this problem:</div><div><br></div><div><div>2011-01-17 16:57:44.338974 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile /usr/local/freeswitch/log/cdr-csv/Master.csv</div>
<div>2011-01-17 16:59:04.382035 [ERR] switch_xml.c:1621 Error[[error near line 1]: root tag missing]</div><div>2011-01-17 16:59:10.739780 [WARNING] sofia_reg.c:1241 SIP auth challenge (REGISTER) on sofia profile &#39;internal&#39; for [<a href="mailto:1000@my.domain.com">1000@my.domain.com</a>] from ip *some_ip*</div>
<div>2011-01-17 17:00:24.443196 [ERR] switch_xml.c:1621 Error[[error near line 1]: root tag missing]</div><div>2011-01-17 17:00:30.997069 [ERR] switch_xml.c:1621 Error[[error near line 1]: root tag missing]</div><div>2011-01-17 17:00:30.997069 [WARNING] sofia_reg.c:2171 Can&#39;t find user [<a href="mailto:1000@my.domain.com">1000@my.domain.com</a>]</div>
<div>You must define a domain called &#39;<a href="http://my.domain.com">my.domain.com</a>&#39; in your directory and add a user with the id=&quot;1000&quot; attribute</div><div>and you must configure your device to use the proper domain in it&#39;s authentication credentials.</div>
<div>2011-01-17 17:00:31.158235 [WARNING] sofia_reg.c:1199 SIP auth failure (REGISTER) on sofia profile &#39;internal&#39; for [<a href="mailto:1000@my.domain.com">1000@my.domain.com</a>] from ip *some_ip*</div><div>2011-01-17 17:00:51.394967 [WARNING] sofia_reg.c:1241 SIP auth challenge (REGISTER) on sofia profile &#39;internal&#39; for [<a href="mailto:1000@my.domain.com">1000@my.domain.com</a>] from ip *some_ip*</div>
<div>2011-01-17 17:01:44.539778 [ERR] switch_xml.c:1621 Error[[error near line 1]: root tag missing]</div><div>2011-01-17 17:01:44.540795 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile /usr/local/freeswitch/log/cdr-csv/Master.csv</div>
<div>2011-01-17 17:01:44.540795 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile /usr/local/freeswitch/log/cdr-csv/Master.csv</div><div>2011-01-17 17:01:44.542071 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile /usr/local/freeswitch/log/cdr-csv/Master.csv</div>
</div><div><br></div><div><br></div><div>I will optimize my configuration.</div><div><br></div><div>Thank you,</div><div>Vitalie</div><div><br></div><div><br><br><div class="gmail_quote">2011/1/18 Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">you probably did not have your timeout set on the xml_curl<br>
or are you using odbc as well? when networks time out during odbc you<br>
were probably blocking the whole FS waiting for it to return.<br>
It&#39;s best not to rely on public networks for critical data.<br>
<div><div></div><div class="h5"><br>
<br>
On Mon, Jan 17, 2011 at 6:10 PM, Michael Collins &lt;<a href="mailto:msc@freeswitch.org">msc@freeswitch.org</a>&gt; wrote:<br>
&gt; Do you have any information about what was happening during that four-minute<br>
&gt; period? I would have to wonder if there was something goofy happening with<br>
&gt; disk i/o or some other weirdness. The hard part is going to be reproducing<br>
&gt; it. If you are able to reproduce the symptoms then getting a gcore while the<br>
&gt; system is in the weird state might be useful for debugging purposes.<br>
&gt; What kind of load is on this system? Also, what are the system specs?<br>
&gt; -MC<br>
&gt;<br>
&gt; On Mon, Jan 17, 2011 at 1:48 PM, Vitalii Colosov &lt;<a href="mailto:vetali100@gmail.com">vetali100@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt; I am using cron job which executes: killall -HUP freeswitch<br>
&gt;&gt; Usually new cdr file is created every one minute:<br>
&gt;&gt; 2011-01-17 16:55:01.583043 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile<br>
&gt;&gt; /usr/local/freeswitch/log/cdr-csv/Master.csv<br>
&gt;&gt; 2011-01-17 16:56:01.861371 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile<br>
&gt;&gt; /usr/local/freeswitch/log/cdr-csv/Master.csv<br>
&gt;&gt; 2011-01-17 16:57:44.338974 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile<br>
&gt;&gt; /usr/local/freeswitch/log/cdr-csv/Master.csv<br>
&gt;&gt;<br>
&gt;&gt; Today I got some problems with network DB connection, as this also can be<br>
&gt;&gt; seen by few lines (I am using xml_curl to serve registrations):<br>
&gt;&gt;<br>
&gt;&gt; 2011-01-17 16:59:04.382035 [ERR] switch_xml.c:1621 Error[[error near line<br>
&gt;&gt; 1]: root tag missing]<br>
&gt;&gt; 2011-01-17 17:00:24.443196 [ERR] switch_xml.c:1621 Error[[error near line<br>
&gt;&gt; 1]: root tag missing]<br>
&gt;&gt; 2011-01-17 17:00:30.997069 [ERR] switch_xml.c:1621 Error[[error near line<br>
&gt;&gt; 1]: root tag missing]<br>
&gt;&gt; 2011-01-17 17:00:30.997069 [WARNING] sofia_reg.c:2171 Can&#39;t find user<br>
&gt;&gt; [1000@xxx]<br>
&gt;&gt; You must define a domain called &#39;xxx&#39; in your directory and add a user<br>
&gt;&gt; with the id=&quot;1000&quot; attribute<br>
&gt;&gt; and you must configure your device to use the proper domain in it&#39;s<br>
&gt;&gt; authentication credentials.<br>
&gt;&gt; ...<br>
&gt;&gt; And I did not get any CDR file between 16:57 and 17:01.<br>
&gt;&gt;<br>
&gt;&gt; CDR rotation was restored after 4 minutes - 17:01 - BUT 3 times in 1<br>
&gt;&gt; second!<br>
&gt;&gt; 2011-01-17 17:01:44.540795 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile<br>
&gt;&gt; /usr/local/freeswitch/log/cdr-csv/Master.csv<br>
&gt;&gt; 2011-01-17 17:01:44.540795 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile<br>
&gt;&gt; /usr/local/freeswitch/log/cdr-csv/Master.csv<br>
&gt;&gt; 2011-01-17 17:01:44.542071 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile<br>
&gt;&gt; /usr/local/freeswitch/log/cdr-csv/Master.csv<br>
&gt;&gt;<br>
&gt;&gt; The same repeated again in few minutes:<br>
&gt;&gt; 2011-01-17 17:05:09.701507 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile<br>
&gt;&gt; /usr/local/freeswitch/log/cdr-csv/Master.csv<br>
&gt;&gt; 2011-01-17 17:05:09.701507 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile<br>
&gt;&gt; /usr/local/freeswitch/log/cdr-csv/Master.csv<br>
&gt;&gt; 2011-01-17 17:05:09.853446 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile<br>
&gt;&gt; /usr/local/freeswitch/log/cdr-csv/Master.csv<br>
&gt;&gt; 2011-01-17 17:05:14.949815 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile<br>
&gt;&gt; /usr/local/freeswitch/log/cdr-csv/Master.csv<br>
&gt;&gt; 2011-01-17 17:05:14.952841 [NOTICE] mod_cdr_csv.c:123 Rotated CDR logfile<br>
&gt;&gt; /usr/local/freeswitch/log/cdr-csv/Master.csv<br>
&gt;&gt;<br>
&gt;&gt; Because of this, I lost few call records (it is confirmed).<br>
&gt;&gt; File at 17:05:14.949815 (which contained 1 call record - as per logs) was<br>
&gt;&gt; overwritten by empty file at 17:05:14.952841.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Basically my question is - is it expected behavior that such [rarely<br>
&gt;&gt; expected] errors make it behave this way?<br>
&gt;&gt;<br>
&gt;&gt; It is Freeswitch 1.0.7 on Ubuntu Server 10.4.<br>
&gt;&gt; Thank you,<br>
&gt;&gt; Vitalie<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; FreeSWITCH-users mailing list<br>
&gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div>--<br>
Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</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" target="_blank">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="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div>