<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;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle20
        {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">Thanks Ken. The system is up and seems ok for now. Sorry, but I definitely cannot afford even your single per-call-fee. Your $8K fee represents about 4 years of income for our FS services. It is really sort of a courtesy to some Cash
Cow customers. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I had hopes the Wiki would help with DB clean up, but have not found anything. As for disk cleanup, that is really just general Redhat support that is hardly worth your time to address. Maybe some of the other low budget FS users out
there can help me out.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Sean<o:p></o:p></p>
<p class="MsoNormal"><o:p> </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>Ken Rice<br>
<b>Sent:</b> Friday, July 22, 2016 2:11 PM<br>
<b>To:</b> 'FreeSWITCH Users Help' <freeswitch-users@lists.freeswitch.org><br>
<b>Subject:</b> Re: [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> </o:p></p>
<p class="MsoNormal">Sean,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </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> </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> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">
freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]
<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 <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><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> </o:p></p>
<p class="MsoNormal">HI All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Needless to say we are a non-Linux shop. Today we got FreeSwitch phone problems and the log says “[ERR] switch_core_sqldb.c:586 NATIVE SQL ERR [database or disk is full]”. Obviously something is out of space. How do we determine WHAT
is out of space? I do periodically delete old FS log files. Other than that, this system DOES NOT EVER get changed.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The only information I have found on disk space usage is to use “df”, 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> </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> </o:p></p>
<p class="MsoNormal">We are offering paypal reward to clean up and leave us a “maintenance plan” commensurate with effort involved.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">df shows:<o:p></o:p></p>
<p class="MsoNormal">Filesystem 1K-blocks 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"> 145725896 144108556 0 100% /<o:p></o:p></p>
<p class="MsoNormal">tmpfs 1029260 0 1029260 0% /dev/shm<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">ls -l /usr/local/freeswitch/db 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 38912 Jul 22 13:57 call_limit.db<o:p></o:p></p>
<p class="MsoNormal">-rw-r--r-- 1 root root 56908800 Jul 22 13:53 cdr_data.db<o:p></o:p></p>
<p class="MsoNormal">-rw-r--r-- 1 root root 475136 Jul 22 13:58 core.db<o:p></o:p></p>
<p class="MsoNormal">-rw-r--r-- 1 root root 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 189440 Jul 22 13:57 sofia_reg_external_noauth.db<o:p></o:p></p>
<p class="MsoNormal">-rw-r--r-- 1 root root 362496 Jul 22 11:47 voicemail_default.db<o:p></o:p></p>
<p class="MsoNormal"><o:p> </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>