[asterisk-dev] sqlite3 DB memory leaking?

Jamuel Starkey jamuel at hcvoip.com
Thu May 24 13:56:29 CDT 2012


Hi,

On May 24, 2012, at 11:45 AM, Stefan Schmidt wrote:

> Hello,
> 
> i have an asterisk 1.8 (to be precise dev branch unleash-the-beast)
> running since around 11 weeks with sqlite3 db enabled for custome cdr
> logging and i can see the master.db file in /var/log/asterisk is
> allready 471 MB big. When i do an database show i dont see any entries
> in the astdb so i wonder why this file is so big and is still growing up.
> 
> the file grows 1024 Byte every minute so i guess there is some kind of
> memory leak .
> 
> i dont use astdb in my dialplan on any place and there are no registered
> sip peers. so for me the output of database show (only two dundi rows)
> looks correct to me but i something keeps writing 1 KB every minute into
> the master.db file.

Isn't astdb stored as /var/lib/aterisk/astdb.  And master.db is your sqlite cdr DB.  Are you taking calls that would cause the master.db file to grow normally?

Cheers,

JPS


More information about the asterisk-dev mailing list