This is a bug in the latest wanpipe.<br><br>you can wait for the next release of wanpipe/openzap or you can downgrade to wanpipe 4.1 and rebuild FS<br><br><br><div class="gmail_quote">On Wed, Jun 10, 2009 at 12:32 PM, Helmut Kuper <span dir="ltr">&lt;<a href="mailto:helmut.kuper@ewetel.de">helmut.kuper@ewetel.de</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;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Hello,<br>
<br>
today I updated to latest trunk. Everything compiled well. FS starts up<br>
without errors. Calls are executed successfully.<br>
<br>
But after a few minutes with very few call activity I get this lines on<br>
console:<br>
<br>
<br>
2009-06-10 18:21:16.52527 [ERR] switch_core_sqldb.c:95 SQL ERR [unable<br>
to open database file] (update tasks set task_sql_manager=&#39;&#39; where<br>
task_id=1;<br>
)<br>
2009-06-10 18:21:16.152501 [ERR] switch_core_sqldb.c:95 SQL ERR [unable<br>
to open database file] (update tasks set task_sql_manager=&#39;&#39; where<br>
task_id=1;<br>
)<br>
2009-06-10 18:21:16.252481 [ERR] switch_core_sqldb.c:95 SQL ERR [unable<br>
to open database file] (update tasks set task_sql_manager=&#39;&#39; where<br>
task_id=1;<br>
)<br>
<br>
...<br>
<br>
2009-06-10 18:22:37.121405 [CRIT] switch_core_sqldb.c:209 SQL thread<br>
unable to commit transaction, records lost!<br>
<br>
I modified switch_core_sqldb.c to output the actual sql statement as<br>
well to get an idea which database is affected. It&#39;s the core-db.<br>
<br>
<br>
<br>
Mixed with that lines above I got lines like this:<br>
<br>
2009-06-10 18:21:32.656605 [ERR] mod_sndfile.c:194 Error Opening File<br>
[/opt/app/voip/ippbx/sounds/music/32000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav]<br>
[System error : Too many open files in system.]<br>
<br>
<br>
This may points to the ulimit thing, cause I run FS as non root (on<br>
centos 5.3).<br>
<br>
ulimit -a shows:<br>
[ippbx@ippbx-test-node0 ~]$ ulimit -a<br>
core file size          (blocks, -c) 0<br>
data seg size           (kbytes, -d) unlimited<br>
scheduling priority             (-e) 0<br>
file size               (blocks, -f) unlimited<br>
pending signals                 (-i) unlimited<br>
max locked memory       (kbytes, -l) 32<br>
max memory size         (kbytes, -m) unlimited<br>
open files                      (-n) 999999<br>
pipe size            (512 bytes, -p) 8<br>
POSIX message queues     (bytes, -q) unlimited<br>
real-time priority              (-r) 0<br>
stack size              (kbytes, -s) 10240<br>
cpu time               (seconds, -t) unlimited<br>
max user processes              (-u) unlimited<br>
virtual memory          (kbytes, -v) unlimited<br>
file locks                      (-x) unlimited<br>
<br>
<br>
/etc/security/limits.conf contains:<br>
ippbx            -       nofile          999999<br>
ippbx            -       core            unlimited<br>
ippbx            -       data            unlimited<br>
ippbx            -       fsize           unlimited<br>
ippbx            -       sigpending      unlimited<br>
ippbx            -       msgqueue        unlimited<br>
ippbx            -       nproc           unlimited<br>
ippbx            -       locks           unlimited<br>
<br>
<br>
So has anyone an idea what&#39;s wrong?<br>
<br>
regards<br>
Helmut<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.7 (MingW32)<br>
<br>
iD8DBQFKL+454tZeNddg3dwRAqcCAJsFSEWuI2X1fvOF2rmIFoSmRdBZzQCggD8B<br>
MQiS7RZkOoL9lhV8LV+pL7s=<br>
=v7QY<br>
-----END PGP SIGNATURE-----<br>
<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>
</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>