Which db/*.db files are not suited for tmpfs?
Hi, Earlier I read the interesting postings about the use of tmpfs. Looking at the files in db/ I wonder if anyone knows which ones needs to be persistent across FreeSWITCH restarts or which are unsuitable for use with tmpfs e.g. in case of a power failure. From Steven Ayre's comment I understand that voicemail_default.db should not be put on tmpfs. Are there any other db files that should *not* be put on tmpfs? Overview of files I have in db/ on my test box: call_limit.db core.db directory.db fifo.db sofia_reg_external.db sofia_reg_internal.db sofia_reg_internal-ipv6.db voicemail_default.db zrtp.dat Regards, Patrick
I was surprised at the lack of information on this topic in the wiki. If anyone has information on how to put SQLite db's into a ramdisk and any pointers on that let me know so that we can properly document it on the wiki. Also, I'm sure there are snippets in past mail list conversations so be sure to search them for nuggets of wisdom... -MC On Wed, Aug 18, 2010 at 11:17 AM, Patrick Lists < freeswitch-list@puzzled.xs4all.nl> wrote:
Hi,
Earlier I read the interesting postings about the use of tmpfs. Looking at the files in db/ I wonder if anyone knows which ones needs to be persistent across FreeSWITCH restarts or which are unsuitable for use with tmpfs e.g. in case of a power failure. From Steven Ayre's comment I understand that voicemail_default.db should not be put on tmpfs. Are there any other db files that should *not* be put on tmpfs?
Overview of files I have in db/ on my test box:
call_limit.db core.db directory.db fifo.db sofia_reg_external.db sofia_reg_internal.db sofia_reg_internal-ipv6.db voicemail_default.db zrtp.dat
Regards, Patrick
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
core.db and possibly call_limit.db are the only 2 that have any intense usage so really only the core one, (which is regenerated on every new run anyway) needs to be moved to ram for a visible improvement. On Wed, Aug 18, 2010 at 2:21 PM, Michael Collins <msc@freeswitch.org> wrote:
I was surprised at the lack of information on this topic in the wiki. If anyone has information on how to put SQLite db's into a ramdisk and any pointers on that let me know so that we can properly document it on the wiki. Also, I'm sure there are snippets in past mail list conversations so be sure to search them for nuggets of wisdom...
-MC
On Wed, Aug 18, 2010 at 11:17 AM, Patrick Lists <freeswitch-list@puzzled.xs4all.nl> wrote:
Hi,
Earlier I read the interesting postings about the use of tmpfs. Looking at the files in db/ I wonder if anyone knows which ones needs to be persistent across FreeSWITCH restarts or which are unsuitable for use with tmpfs e.g. in case of a power failure. From Steven Ayre's comment I understand that voicemail_default.db should not be put on tmpfs. Are there any other db files that should *not* be put on tmpfs?
Overview of files I have in db/ on my test box:
call_limit.db core.db directory.db fifo.db sofia_reg_external.db sofia_reg_internal.db sofia_reg_internal-ipv6.db voicemail_default.db zrtp.dat
Regards, Patrick
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (3)
-
Anthony Minessale
-
Michael Collins
-
Patrick Lists