[Freeswitch-users] Unable to Recreate Log Files

Peter Olsson POlsson at enghouse.com
Mon Mar 4 20:13:50 MSK 2013


I guess it just goes on, however the sqlite database files will probably get corrupt after a while, which will cause problems.

I'm not sure though, never tried it... I think a good idea is to get rid of at least debug logging, if disk space is an issue.

/Peter

4 mar 2013 kl. 18:07 skrev "Subhash" <gvvsubhashkumar at gmail.com<mailto:gvvsubhashkumar at gmail.com>>:

What is the behaviour of freeswitch in this case?

Is it get restart or stop answering the calls?


Thanks,
Subhash.


On Mon, Mar 4, 2013 at 10:14 PM, Peter Olsson <POlsson at enghouse.com<mailto:POlsson at enghouse.com>> wrote:
No, not really. But if it's close to maximum disk space it might be a reason. The reporter kind of says that he's out of disk space?

/Peter

4 mar 2013 kl. 17:40 skrev "Alex Lake" <alex at digitalmail.com<mailto:alex at digitalmail.com>>:

> Would a rename really consume extra space?
>> If you're out of disk space the easiest thing would be to get some more :) Or at least disable debug info within the log files. If you're close to maximum disk usage, that's probably the cause for the original problem as well?
>>
>> /Peter
>>
>> 4 mar 2013 kl. 16:57 skrev "Subhash" <gvvsubhashkumar at gmail.com<mailto:gvvsubhashkumar at gmail.com><mailto:gvvsubhashkumar at gmail.com<mailto:gvvsubhashkumar at gmail.com>>>:
>>
>> Ok. Can i control to not writing the logs in freeswitch.log when it is not able to recreate a new file beacuse it crossing the limit and ending up with full using of disk space
>>
>> Thanks,
>> Subhash.
>>
>>
>> On Mon, Mar 4, 2013 at 9:02 PM, Peter Olsson <POlsson at enghouse.com<mailto:POlsson at enghouse.com><mailto:POlsson at enghouse.com<mailto:POlsson at enghouse.com>>> wrote:
>> It might be lots of different reasons, but in the end it boils down to the OS –there is probably something else (outside FS) holding a lock, which make the rename file call to fail. Make sure to exclude the folder from antivirus, and make sure no other applications are touching the log files.
>>
>> The actual method called from FS is MoveFileEx, which is a standard Win32 api call – if it fails it’s because the OS can’t move the file, there is nothing inside FS that can change this.
>>
>> /Peter
>>
>>
>> Från: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org><mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>> [mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org><mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>>] För Subhash
>> Skickat: den 4 mars 2013 15:11
>> Till: FreeSWITCH Users Help
>> Ämne: Re: [Freeswitch-users] Unable to Recreate Log Files
>>
>>
>> But after a few hours of stress test we are facing this scenario.
>>
>> Are there any reasons?
>> On Mar 4, 2013 7:27 PM, "Peter Olsson" <POlsson at enghouse.com<mailto:POlsson at enghouse.com><mailto:POlsson at enghouse.com<mailto:POlsson at enghouse.com>>> wrote:
>> My guess would be antivirus or something similar, that’s holding a file lock when trying to rename the file.
>>
>> /Peter
>>
>> Från: freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org><mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>> [mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org><mailto:freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>>] För Subhash
>> Skickat: den 4 mars 2013 08:42
>> Till: FreeSWITCH Users Help
>> Ämne: [Freeswitch-users] Unable to Recreate Log Files
>>
>> Hi,
>>
>> I used the latest binaries(Windows Installer),version info is given below and observered that when it is not able to rename the log file it is keep on writing the logs in freeswitch.log file which is crossing the limt set in logconf.xml file.
>>
>> The error seen in the freeswitch log file is
>>
>> [CRIT] mod_logfile.c:164 Error renaming log from C:/Program Files/FreeSWITCH/log/freeswitch.log.4 to C:/Program Files/FreeSWITCH/log/freeswitch.log.5 [No error]
>>
>> And the version info is
>>
>> Freswitch version 1.3.13b git 3c7f8f8 2013-02-20 22:44:51z
>> NOTE : This issue is critical as we are facing it at production systems.
>>
>> Thanks,
>> Subhash.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org<mailto:consulting at freeswitch.org><mailto:consulting at freeswitch.org<mailto: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<mailto:FreeSWITCH-users at lists.freeswitch.org><mailto:FreeSWITCH-users at lists.freeswitch.org<mailto: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
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org<mailto:consulting at freeswitch.org><mailto:consulting at freeswitch.org<mailto: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<mailto:FreeSWITCH-users at lists.freeswitch.org><mailto:FreeSWITCH-users at lists.freeswitch.org<mailto: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
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org<mailto:consulting at freeswitch.org><mailto:consulting at freeswitch.org<mailto: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<mailto:FreeSWITCH-users at lists.freeswitch.org><mailto:FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>>
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users>
>> http://www.freeswitch.org
>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org<mailto: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<mailto: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
>>
>>
>> -----
>> No virus found in this message.
>> Checked by AVG - www.avg.com<http://www.avg.com>
>> Version: 2012.0.2238 / Virus Database: 2641/5646 - Release Date: 03/03/13
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org<mailto: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<mailto: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
>
> !DSPAM:5134c9ed32761506613391!
>

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto: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<mailto: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

!DSPAM:5134d00e32761364862667!
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto: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<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org


!DSPAM:5134d00e32761364862667!



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list