Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3210

apache_error.log The process cannot access the file because it is being used by another process (1 reply)

$
0
0
Hi

I have a program that requests the content of a json file from the file system. Sometimes I notice the line "The process cannot access the file because it is being used by another process" in the apache_error.log file.

I think I know why this is happening. A different program opens the file, writes the most up to date information and closes it. So if the client requests it when it's open, I would expect to get this error.

The question is, does it retry, and how many times, and how long does it wait in between retries? Is there a way to set this? It there a way to see if it has exhausted the number of retries.

I realize that this is a rudimentary question. So rudimentary, in fact, that I didn't even find it in the FAQ's. I am a little new to apache, so any help would be appreciated

Zev

Viewing all articles
Browse latest Browse all 3210

Trending Articles