If you're not concerned about saving debug info, just delete the file. You
may have to restart Asterisk to get it to "let loose" of the old file.
If you do need debug into, mv the messages file to another name (like:
messages.20150907) and then gzip it; that log is -very- compressible.
On Mon, 7 Sep 2015, kk6ecm wrote:
> astdb is small - 8k, but /var/log/asterisk/messages is 16G!... can I just
> delete it, and it will start over again. Otherwise, how do I shrink it down?
>
>
>
> Thanks much!
>
> Bob
>
> kk6ecm
>
>
>
> _____
>
> From: Jim Duuuude [mailto:telesistant@hotmail.com]
> Sent: Monday, September 07, 2015 12:30 PM
> To: David McGough; kk6ecm
> Cc: app_rpt mailing list
> Subject: RE: [App_rpt-users] hda1 cleanup
>
>
>
> Also, /var/lib/asterisk/astdb can grow HUGE (for no "good" reason).
>
> > Date: Mon, 7 Sep 2015 15:19:01 -0400
> > From: kb4fxc@inttek.net
> > To: kk6ecm@gmail.com
> > CC: app_rpt-users@ohnosec.org
> > Subject: Re: [App_rpt-users] hda1 cleanup
> >
> >
> > Check out the /var/log directory, including /var/log/asterisk
> >
> >
> >
> > On Mon, 7 Sep 2015, kk6ecm wrote:
> >
> > > We have an ACID build on one of our repeaters that has been crashing. It
> > > appears hda1 is full. I'm looking for suggestions to clean it up.
> > >
> > > Filesystem Size Used Avail Use% Mounted on
> > > /dev/hda1 18G 18G 0 100% /
> > > tmpfs 375M 0 375M 0% /dev/shm
> > >
> > > [root@xxx /]# du -ks /* | sort -nr | head
> > > 16124492 /var
> > > 1466656 /usr
> > > 126644 /lib
> > > 91508 /etc
> > > 30580 /sbin
> > > 11004 /boot
> > > 7336 /bin
> > > 932 /tmp
> > > 172 /root
> > > 92 /dev
> > > [root@xxx /]#
> > >
> > > with just a few bytes in root... I can't account for 18G used of disk
> space.
> > > My other ACID build looks good and only uses about 2.7 G.
> > >
> > > Any ideas?
> > >
> > > Thanks,
> > > Bob
> > > kk6ecm
> > >
> > > _______________________________________________
> > > App_rpt-users mailing list
> > > App_rpt-users@ohnosec.org
> > > http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
> > >
> > > To unsubscribe from this list please visit
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to
> the bottom of the page. Enter your email address and press the "Unsubscribe
> or edit options button"
> > > You do not need a password to unsubscribe, you can do it via email
> confirmation. If you have trouble unsubscribing, please send a message to
> the list detailing the problem.
> > >
> >
> > _______________________________________________
> > App_rpt-users mailing list
> > App_rpt-users@ohnosec.org
> > http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
> >
> > To unsubscribe from this list please visit
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to
> the bottom of the page. Enter your email address and press the "Unsubscribe
> or edit options button"
> > You do not need a password to unsubscribe, you can do it via email
> confirmation. If you have trouble unsubscribing, please send a message to
> the list detailing the problem.
>
>
_______________________________________________
App_rpt-users mailing list
App_rpt-users@ohnosec.org
http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.