<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Sean,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Drop us an email to <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a> we can get you back up and running pretty quick and diagnose the problem<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Sean Devoy<br><b>Sent:</b> Friday, July 22, 2016 1:06 PM<br><b>To:</b> FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt;<br><b>Subject:</b> [Freeswitch-users] [ERR] switch_core_sqldb.c:586 NATIVE SQL ERR [database or disk is full]<o:p></o:p></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>HI All,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Needless to say we are a non-Linux shop.&nbsp; Today we got FreeSwitch phone problems and the log says &#8220;[ERR] switch_core_sqldb.c:586 NATIVE SQL ERR [database or disk is full]&#8221;.&nbsp; Obviously something is out of space.&nbsp; How do we determine WHAT is out of space?&nbsp; I do periodically delete old FS log files.&nbsp; Other than that, this system DOES NOT EVER get changed.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The only information I have found on disk space usage is to use &#8220;df&#8221;, which seems to show 100% usage regardless, I have removed several 100 MB of files with no change.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>We do not use CDR data for our billing.<o:p></o:p></p><p class=MsoNormal>How do I empty cdr_data and sofia reg DBs?<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>We are offering paypal reward to clean up and leave us a &#8220;maintenance plan&#8221; commensurate with effort involved.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>df shows:<o:p></o:p></p><p class=MsoNormal>Filesystem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1K-blocks&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Used Available Use% Mounted on<o:p></o:p></p><p class=MsoNormal>/dev/mapper/vg_root-lv_root<o:p></o:p></p><p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 145725896 144108556&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 100% /<o:p></o:p></p><p class=MsoNormal>tmpfs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1029260&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp; 1029260&nbsp;&nbsp; 0% /dev/shm<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>ls -l /usr/local/freeswitch/db&nbsp; shows:<o:p></o:p></p><p class=MsoNormal>total 210704<o:p></o:p></p><p class=MsoNormal>-rw-r--r-- 1 root root&nbsp;&nbsp;&nbsp;&nbsp; 38912 Jul 22 13:57 call_limit.db<o:p></o:p></p><p class=MsoNormal>-rw-r--r-- 1 root root&nbsp; 56908800 Jul 22 13:53 cdr_data.db<o:p></o:p></p><p class=MsoNormal>-rw-r--r-- 1 root root&nbsp;&nbsp;&nbsp; 475136 Jul 22 13:58 core.db<o:p></o:p></p><p class=MsoNormal>-rw-r--r-- 1 root root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5120 Jul 22 13:33 fifo.db<o:p></o:p></p><p class=MsoNormal>-rw-r--r-- 1 root root 157506560 Jul 22 13:58 sofia_reg_external.db<o:p></o:p></p><p class=MsoNormal>-rw-r--r-- 1 root root&nbsp;&nbsp;&nbsp; 189440 Jul 22 13:57 sofia_reg_external_noauth.db<o:p></o:p></p><p class=MsoNormal>-rw-r--r-- 1 root root&nbsp;&nbsp;&nbsp; 362496 Jul 22 11:47 voicemail_default.db<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thanks in advance.<o:p></o:p></p><p class=MsoNormal>Sean<o:p></o:p></p></div></body></html>