[Freeswitch-users] Unable to Recreate Log Files
Peter Olsson
POlsson at enghouse.com
Mon Mar 4 18:32:27 MSK 2013
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] 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>> 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>] 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>
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:5134a8c632761755499571!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130304/a27c6449/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list