[Freeswitch-users] How configure FS to working without Database

Voxbox.io talk at voxbox.io
Wed Aug 12 19:31:52 MSD 2015


Alex,
as Oz Mortimer told you if you start FS with parameter -nosql you can’t get
information of active calls.

You start up with -nosql, but things like show channels will not work


This is because FS is using an “internal” sqlite database for storing some
basic informations (very basic, NO CDR!), and therefore it’s not taking too
much storage space, so in my opinion there is no need to disable SQL as you
will not gain any performance disabling it.
If you disable the internal database you will not have the ability to check
call status on fs_cli (in my point of view this is worse!)

BTW, if you are trying to disable the database because you believe that
could be some performance issues then if you follow this guide (
https://freeswitch.org/confluence/display/FREESWITCH/Performance+Testing+and+Configurations)
under section "FreeSWITCH's core.db I/O Bottleneck” you will find that you
can put the database into a RAM disk, so you will not impact on performance
and on each reboot the database is deleted.

Cheers
Max

On 12 August 2015 at 17:06, Alex Polischuk <alxpol at gmail.com> wrote:

> I running FS with this -nosql parameters, it is working but not have show
> channels command.
>
> Thanks,
> Alex
>
>
> On Wed, Aug 12, 2015 at 4:13 PM, Oz Mortimer <omortimer at gmail.com> wrote:
>
>>
>> You start up with -nosql, but things like show channels will not work
>>
>>
>> On 12 Aug 2015, at 14:07, Dmitriy N. Borisov <bordmi at rarus.ru> wrote:
>>
>> Hi, All!
>>
>>
>> Вы писали 12 августа 2015 г., 15:30:55:
>>
>>
>> Hello, by default freeswitch uses sqlite db in a core. And, as I know,
>> FS can`t working without any DB.
>>
>> --
>> С уважением,
>> Борисов Дмитрий
>> Отдел облачных технологий 1С-Рарус
>> Тел. +7 (495) 231-20-02 доб.: 15-94
>> --
>> with best regards,
>> Dmitriy Borisov
>> 1C-Rarus Cloud Services
>> tel.: +7 (495) 231-20-02 add.: 15-94
>>
>>
>>
>>
>> On Wed, Aug 12, 2015 at 1:18 PM, Alex Polischuk <alxpol at gmail.com> wrote:
>> when I run with full debug log (fsctl debug_level 10) I have the next
>> error:
>> [ALERT] sofia_glue.c:2455 Reuse Unused Cached DB handle
>> db="sofia_reg_external",type="core_db" [CORE_DB]
>> that is coming from function: _switch_cache_db_get_db_handle() in
>> switch_core_sqldb.c that checked to what DB FS has connection.
>>
>> Thanks,
>> Alex
>>
>>
>> On Wed, Aug 12, 2015 at 12:04 PM, Artur Mega <findmeinwland at gmail.com>
>> wrote:
>> ​i thought that FS doesnt need any database​
>>
>> 2015-08-12 12:12 GMT+05:00 Alex Polischuk <alxpol at gmail.com>:
>> Hi All,
>>
>> I use FreeSwitch 1.4.20, my question is if exist option to configure FS
>> to working without Database.
>>
>> Thanks,
>> Alex
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>> --
>>
>> Arthur
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>
>> --
>> Best regards,
>> Volodymyr
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150812/93edf379/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list