Having done CF based systems in the past why don't you do something more sane like targeted deletion of logs on the tmpfs mount? This allows you to keep some log files around, also to keep tmpfs from eatting all the ram specify a sane max size limit for that mount this helps avoid the whole ram saturation thing. On 3/13/13 7:37 AM, "G" <g.d.monnezza@tiscali.it> wrote:
Hi guys. I'm planning to put FS on a Compact Flash system.
I read on docs that ./freeswitch/log/freeswitch.xml.fsxml file is the result of parsing of various xml conf files and that it is the real "engine" file for FS when it is running. I also read to not modify this file while FS is running.
Usually I put all logs files in tmpfs volatile ram filesystem to avoid disk space consuming and also limit CF write cycles. Well, the problem is that I also usually delete each night all files from tmpfs log directories because I need to avoid RAM saturation due to log files In this scenario, also freeswitch.xml.fsxml will be deleted each night. This, I understand, is not good ... During compilation phases I found parameters to change the path where FS puts .pid file or db files etc, but nothing about this file.
The question is: can anybody suggest a way to change the location of this file? O can anybody ensure me that deleting this file while FS is running is not a big deal?
Thanks a lot!!! giuliano
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch