Hi, Jim!
The behavior you are describing is normal: if you kill opensips with
SIGKILL, OpenSIPS closes instantly, without being able to run the code
that dumps the data into the file.
If you want to prevent this, you should always dump the db data into the
file (note that this is not very good in terms of performance). To do
this, you should turn off the db_text caching mode[1].
[1] http://www.opensips.org/html/docs/modules/2.2.x/db_text#id293561
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 06/23/2016 05:39 PM, Jim DeVito wrote:
Hi All.
2.2.0.rc2.20160617.c1aa55e-1.el7
modparam("dialog", "db_url", "text:///var/lib/opensips/dbtext")
modparam("dialog", "db_mode", 1)
modparam("dialog", "table_name", "dialog")
db_mode 1 should be realtime correct? The DB is only being synced from
memory on clean shutdown. If I kill -9 the process the dialog info is
lost. Thoughts?
Thanks!!
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users