[asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger

Koen Van Impe koenvi at gmail.com
Fri Jul 28 05:22:08 MST 2006


I use logrotate too, because I didn't know of the functionality in Asterisk.
Logrotate works fine for me though.

Kenny, you should give it a try!

K


On 7/28/06, Filip Drągowski <f.dragowski at ontp.net> wrote:
>
>  asterisk does daily log rotate all along ? i didn't know that it is
> posiible
> i create file in /etc/logrotate.d/asterisk (copy of postgrsql and renamed
> it)
> /var/log/asterisk/full {
>     daily
>     rotate 10
>     copytruncate
>     delaycompress
>     compress
>     notifempty
>     create 640 root root
> }
> i have 10 last full log, 8 oldest gziped
>
> on one cosnole a do asterisk -r
> on other i do asterisk -rx "logger rotate"
> and the result is
>     -- Remote UNIX connection
> Asterisk Event Logger restarted
> Asterisk Queue Logger restarted
>     -- Remote UNIX connection disconnected
> how often new log files are created ? = how many log files are created
> in 1 second  ?
>
>
> Very often, it slows down as the number of log files in the
> /var/log/asterisk directory increases.
>
>
> there is some kind of regularity or it is done randomly (10logs/1s and
> another time 20logs/1s) ?
>
>
> Seems to happen more often than not (the past three days) overnight.
> We're assuming that it starts when asterisk does it's daily log rotate
> itself and then gets itself into a spin...
>
>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com <http://easynews.com/>--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060728/fec7296c/attachment.htm


More information about the asterisk-users mailing list