Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

 
discard

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

Browse other questions tagged or ask your own question.