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,
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users