[asterisk-users] Asterisk 1.2.10 - Continually Restarting Logger
Filip Drągowski
f.dragowski at ontp.net
Fri Jul 28 02:14:51 MST 2006
check your cron jobs.
mayby there is asterisk -rx "logger rotate" executing too often ?
> Hi,
>
> We're seeing a problem on Asterisk 1.2.10 where when we get in in the
> morning it's continually rotating the logs over and over again,
> generating 100's of thousands of log rotated 0 byte files:-
>
> /var/logs/asterisk # find . -type f -maxdepth 1 | wc -l
> 176930
>
> /var/log/asterisk # find . -type f -maxdepth 1 -size 0 -exec mv {} nulls/ \;
>
> /var/log/asterisk # find . -type f -maxdepth 1 | wc -l
> 69169
>
> A segment of the relevant log is:-
>
> Jul 25 06:33:42 VERBOSE[9638] logger.c: Asterisk Event Logger restarted
> Jul 25 06:33:42 VERBOSE[9638] logger.c: Asterisk Queue Logger restarted
> Jul 25 06:33:42 VERBOSE[9635] logger.c: -- Remote UNIX connection
> disconnected
> Jul 25 06:33:42 VERBOSE[18276] logger.c: -- Remote UNIX connection
> Jul 25 06:33:42 VERBOSE[9641] logger.c: Asterisk Event Logger restarted
> Jul 25 06:33:42 VERBOSE[9641] logger.c: Asterisk Queue Logger restarted
> Jul 25 06:33:42 VERBOSE[9638] logger.c: -- Remote UNIX connection
> disconnected
> Jul 25 06:33:42 VERBOSE[18276] logger.c: -- Remote UNIX connection
> Jul 25 06:33:42 VERBOSE[9644] logger.c: Asterisk Event Logger restarted
> Jul 25 06:33:42 VERBOSE[9644] logger.c: Asterisk Queue Logger restarted
> Jul 25 06:33:42 VERBOSE[18276] logger.c: -- Remote UNIX connection
> Jul 25 06:33:42 VERBOSE[9641] logger.c: -- Remote UNIX connection
> disconnected
> Jul 25 06:33:42 VERBOSE[9647] logger.c: Asterisk Event Logger restarted
> Jul 25 06:33:42 VERBOSE[9647] logger.c: Asterisk Queue Logger restarted
>
> etc...
>
> Has anyone else seen this or have any ideas what the problem may be?
>
> Thanks,
>
More information about the asterisk-users
mailing list