This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | Next revisionBoth sides next revision |
| docs:guide-user:services:voip:freeswitch [2018/11/19 18:33] – [freeswitch-stable init configuration] micmac1 | docs:guide-user:services:voip:freeswitch [2018/11/20 09:44] – [freeswitch-stable init configuration] better warning about write wear and added database storage option bobafetthotmail |
|---|
| |
| <WRAP round important> | <WRAP round important> |
| Please consider that FreeSWITCH writes to its databases constantly. Constant writes can potentially degrade your flash memory. A solution can be to keep your database directory on a //tmpfs// filesystem (''/tmp'' is usually mounted as a //tmpfs// file system on OpenWrt devices). //tmpfs// resides in Random Access Memory (//RAM//). | **WARNING:** FreeSWITCH writes to its databases constantly. Constant writes will quickly kill your device's integrated flash memory. It's recommended to keep the databases on external storage (see [[docs:guide-user:storage:usb-drives|Using storage devices]]).\\ |
| |
| The downside of the //tmpfs// approach is that the databases will be lost when the device restarts. Please consider your options and requirements. | If that is not possible they can also be kept in the device's RAM (working memory), on a //tmpfs// filesystem (''/tmp'' is mounted as a //tmpfs// file system on OpenWrt devices). RAM memory is not subject to constant writing wear like flash memory.\\ |
| | The downside of the //tmpfs// approach is that the databases will be lost when the device loses power or is restarted, also the RAM used by these databases will decrease the amount of available RAM of the system by a few MB. Please consider your options and requirements. |
| </WRAP> | </WRAP> |
| |