Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have a few PHP sites running on a windows server that are generating errors in the c:\windows\temp directory under a single log file. This file is nearly 30gb at this point. When I try to list the directory contents with powershell, command prompt, or windows explorer the program locks.

Since I can't list the files I can't pinpoint the specific file to delete but we recently had this same issue on a staging server.

How can we locate and delete this file?

share|improve this question
Locking up is not normal. Do you have an unusually high number of files in that directory? – Zoredache Apr 15 '13 at 17:18
Hard to say since I can't get the directory contents to fully enumerate. Because of this though I'm thinking that there probably is a large number. – jjr2527 Apr 15 '13 at 18:02

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.