[Freeswitch-users] Log Rollover issue
Nageshwara Rao Moova
mnrao2001 at gmail.com
Wed Nov 21 07:23:51 MSK 2012
Hi Anthony,
I doubt any permission issue as the failure happened not initially but
after a while. The user we are using has sufficient permissions for doing
rwx operations. Below is the log snippet from freeswitch log.
If it’s any help, the freeswitch log had entries like this every few
seconds:
2012-10-26 11:53:16.653473 [CRIT] mod_logfile.c:164 Error renaming log from
/usr/local/freeswitch/log/freeswitch.log.40 to
/usr/local/freeswitch/log/freeswitch.log.41
……
2012-10-27 00:19:30.313497 [CRIT] mod_logfile.c:164 Error renaming log from
/usr/local/freeswitch/log/freeswitch.log.40 to
/usr/local/freeswitch/log/freeswitch.log.41
Until it ran out of disk space and crashed. No reason why it couldn’t
rename the file, though.
On Tue, Nov 20, 2012 at 1:50 AM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:
> When it says it cannot, is that because of file permissions? Dos FS have
> permission to write to the directory?
> Can you reproduce this with logs and if so can you report it to Jira
> http://jira.freeswitch.org
>
>
>
> On Mon, Nov 19, 2012 at 6:45 AM, Nageshwara Rao Moova <mnrao2001 at gmail.com
> > wrote:
>
>> Hi all,
>>
>> I have modified my default logconf file for rollover to be restricted to
>> 100. But sometimes freeswitch is unable to rename rollover say “cannot
>> rename freeswitch.log.41” and fails. But the fail follows with serious
>> issue of writing all the logs to "freeswitch.log" and ends up filling the
>> disk space.
>>
>> I have not change the default file size i.e 10MB.
>>
>> How does 10MB size overridden by freeswitch?
>>
>> --
>> regards & thanks
>> --
>> m nageshwara rao
>> 99891 86280
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>>
>>
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
--
regards & thanks
--
m nageshwara rao
99891 86280
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121121/4484c77d/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list