Freeswitch Frozen issue.

Status
Not open for further replies.

Sohel Shaikh

New Member
Aug 2, 2023
2
0
1
30
Hello,

We are facing the issue Call stuck issue in Freeswitch 1.10.9 version. Once calls were freeze then we are unable to reload any module like reload mod_curl, mod_sofia, etc.
However, we have added the ulimits and release the freeswitch calls connection from msql when calls completed. But it didn't worked. After restart the freeswitch service it is working fine for some hours and again calls are started call frozen.

I have added below ulimit:
ulimit -c unlimited # The maximum size of core files created.
ulimit -d unlimited # The maximum size of a process's data segment.
ulimit -f unlimited # The maximum size of files created by the shell (default option)
ulimit -i unlimited # The maximum number of pending signals
ulimit -n 999999 # The maximum number of open file descriptors.
ulimit -q unlimited # The maximum POSIX message queue size
ulimit -u unlimited # The maximum number of processes available to a single user.
ulimit -v unlimited # The maximum amount of virtual memory available to the process.
ulimit -x unlimited # ???
ulimit -s 240 # The maximum stack size
ulimit -l unlimited # The maximum size that may be locked into memory.


And added paramters /root/.sqliterc are below:

PRAGMA journal_mode = WAL;
PRAGMA synchronous = normal;
PRAGMA temp_store = memory;
PRAGMA mmap_size = 30000000000;
PRAGMA page_size = 65536;
PRAGMA cache_size = 10000;
PRAGMA vacuum;
PRAGMA optimize;
PRAGMA incremental_vacuum;
PRAGMA analysis_limit=400;
pragma auto_vacuum = incremental;
pragma incremental_vacuum;

Then go to freeswitch database directory cd /usr/local/freeswitch/db and run below commands:

ls *.db | while read filename; do sqlite3 $filename 'PRAGMA journal_mode=WAL;';done;
ls *.db | while read filename; do sqlite3 $filename 'pragma vacuum;'; done;
ls *.db | while read filename; do sqlite3 $filename 'pragma optimize;'; done;
ls *.db | while read filename; do sqlite3 $filename 'pragma auto_vacuum = incremental;'; done;
ls *.db | while read filename; do sqlite3 $filename 'pragma incremental_vacuum; '; done;

Please share us any suggestion. Thanks in advance.
 
Status
Not open for further replies.