[prev in list] [next in list] [prev in thread] [next in thread] 

List:       asterisk-dev
Subject:    Re: [asterisk-dev] astDB "restart"
From:       Richard Mudgett <rmudgett () digium ! com>
Date:       2017-04-10 14:32:32
Message-ID: CALD46g2tuJwQi+FOM+aryLioR9+k37r+AFEK0BzuRL8HCuzj_w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Mon, Apr 10, 2017 at 9:18 AM, Gabriel Ortiz Lour <ortiz.admin@gmail.com>
wrote:

> Hi,
>   We are experiencing problems with leaks on our system and we think is
> astDB related.
>   I'm still using 1.8, migrating to 13, but for now i'd like to do
> something like an astDB "restart". Close the database and open again...
>
>   I'd like just a pointer to where start:
>   Where should I look on the source for astDB init/shutdown?
>

Look in main/db.c.  IIRC we switched from Berkley DB to sqlite3 for the
astDB
backend because of issues like memory leaks.

You could also simply do a CLI "core restart now" in the middle of the
night.

Richard

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr \
10, 2017 at 9:18 AM, Gabriel Ortiz Lour <span dir="ltr">&lt;<a \
href="mailto:ortiz.admin@gmail.com" \
target="_blank">ortiz.admin@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Hi,<div>   We are experiencing problems with \
leaks on our system and we think is astDB related.</div><div>   I&#39;m still using \
1.8, migrating to 13, but for now i&#39;d like to do something like an astDB \
&quot;restart&quot;. Close the database and open again...</div><div><br></div><div>   \
I&#39;d like just a pointer to where start:</div><div>   Where should I look on the \
source for astDB init/shutdown?</div></div></blockquote><div><br></div><div>Look in \
main/db.c.   IIRC we switched from Berkley DB to sqlite3 for the \
astDB<br></div><div>backend because of issues like memory \
leaks.<br><br></div><div>You could also simply do a CLI &quot;core restart now&quot; \
in the middle of the \
night.<br></div><div><br></div><div>Richard<br></div></div><br></div></div>



-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic