-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
We configured an in-memory filesystem for the freeswitch core db. (according to https://freeswitch.org/confluence/display/FREESWITCH/Performance+Testing+and+Configurations#PerformanceTestingandConfigurations-FreeSWITCH'score.dbI/OBottleneck)
We have the situation that Freeswitch is running about 2 weeks properly and then suddenly the core db gets corrupted. The log fills up with the following error messages:
2020-02-25 20:25:30.151902 [ERR] switch_core_sqldb.c:732 [db="/dev/shm/core.db",type="core_db"] NATIVE SQL ERR [file is encrypted or is not a database]
BEGIN EXCLUSIVE
2020-02-25 20:25:30.151902 [CRIT] switch_core_sqldb.c:2163 ERROR [file is encrypted or is not a database], [db="/dev/shm/core.db",type="core_db"]
2020-02-25 20:25:30.151902 [ERR] switch_core_sqldb.c:732 [db="/dev/shm/core.db",type="core_db"] NATIVE SQL ERR [cannot commit - no transaction is active]
COMMIT
We use the following version:
FreeSWITCH Version 1.10.2-release-13-f7bdd3845a~64bit (-release-13-f7bdd3845a 64bit)
on
4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64 GNU/Linux
Is there something we can check, or is it better to use a local postgres db for the core db to avoid such error?
Metadata
Metadata
Assignees
Labels
No labels