IIS 7 550 The process cannot access the file because it is being used by another process.

Avatar
  • updated
  • Fixed
We have recently updated our web server to IIS 7.

When analyzing log files we get the following error:
550 The process cannot access the file because it is being used by another process.

The error occurs when WebLog Expert is trying to download todays logfile, wich is in use by IIS7.

We have tried configuring IIS7 so that it is possible to download the log file without any luck. Others are also having this problem, but Microsoft seems not to take the problem seriously. For more information on the ISS7 FTP 550 issue, please use the following link: http://forums.iis.net/t/1159198.aspx

Anyone have a solution to this problem?
Avatar
Michael
Versions 7.2 and newer ignores files that cannot be downloaded because of the "550 The process cannot access the file because it is being used by another process" error while other errors aren't ignored. The problem is that is difficult for the program to determine whether a log file cannot be downloaded because it is used and can be ignored, or because of another reason (e.g. permission problem) so the error information should be shown to the user.

If it is possible, I recommend you to schedule a small script on your server to copy (and maybe compress) yesterday's log to another folder and then set the program to download logs from that folder, so it will fix the issue.

If you analyze large log files, the program may use a lot of system resources. If you use the built-in scheduler, you should check that the priority in tasks is set to "Low". If it doesn't help, you can disable using multiple processors in the program settings, while the program will work slower in this case as it will use one processor/core only.
Avatar
rschletty
Just happened again with another site. The problem occurs throughout the day with four different web sites (so far...more to configure). Arvixe says they can do nothing to fix it.

Michael, you said this was fixed in version 7.2 by a process of ignoring busy files. I have WebLog Professional Enterprise version 7.6. What is going on? Do I need to revert to 7.2?

Addendum: I just found out that my WebLog Expert Server was consuming 80-95% of my CPU usage and the system (Windows Server 2003) had slowed to a crawl. I could not stop WLE Server from the WLE application, so I had to use Windows Task Manager to end the WLE Server process. I never had this problem before. I surmise that the server is having difficulty with busy log files, especially as I have increased frequency of stats collection to every 3 hours in hopes of catching the current day's log while it is not in use by IIS or AWStats (Arvixe's web analysis solution which underreporting hits and even showed zero hits on a day that WLE showed plenty of traffic).

I am perplexed. Help!



Avatar
Michael
It is strange that the WebsitePanel FTP module allows you to copy the file. Maybe it uses another account to access it. I recommend you to also try to download the file using FileZilla or another FTP client as it may show additional error information.
Avatar
rschletty
The error message is "550 can't access file." It is hit and miss. Some of my sites hosted at dodder.arvixe.com (Windows Server 2008 with WebsitePanel control) work fine. Two of the problem sites work SOME of the time. It seems that the current day's log file is only in use part of the time. Arvixe support says they can do nothing to allow FTP copying for a file in use. However, the WebsitePanel FTP module does allow me to copy the "busy" log file to my local desktop.

My current thought is that the control panel's Advanced Web Statistics module should be turned off. Maybe that process is tying up the current day's log file. I will try turning off Website Panel's stats.

http://www.websitepanel.net/
Avatar
Michael
It seems that your server sends different error information so the program doesn't recognize that the problem is because of the locked log file. Could you post the screenshot of the error dialog that is shown when the error occurs?
Avatar
rschletty
I am getting this error with WLE version 7.6. Please help. Arvixe.com says they can do nothing because the current day's log file is busy.
Avatar
Michael
This issue has been fixed in version 7.2. Since this version WebLog Expert ignores log files that cannot been downloaded because of this error and just processes the remaining logs.