Solved

Printer spool dir has over 62,000 tmp files (21Gb)!

Posted on 2004-03-31
4
969 Views
Last Modified: 2008-03-06
We have a W2K SP2 server acting as a terminal server for Win9x terminal clients. We have another W2K SP4 server acting as a file & print server. We've noticed that disk space is very low on the WTS server. We did a disk space analysis and found that the c:\winnt\system32\spool\printers dir has over 62,000 files, dating back several years and taking up over 21Gb of space!

I just don't understand why? The file & print server has no files in it's c:\winnt\system32\spool\printers dir - however, this is our printer server with the available print shares for the network are hanging off it. All terminal clients print via these shares?

1. To free up disk space, is it OK for me to delete all the tmp files in this dir?
2. Why is the WTS server receiving all of these tmp files? How can we stop this?

Thanks for your support.
0
Comment
Question by:omb
  • 2
  • 2
4 Comments
 
LVL 6

Expert Comment

by:jthow
ID: 10722852
1) The files should have been deleted after printing so, yes, you can delete them.

2) You say some of the files date back years.  I suspect that the files are left-overs from failed prints that, for some reason or other, didn't clear down.  After you delete the current lot, I'd keep an eye on the folder for a bit and see if it starts to fill up again.  If many files start to appear, there may be some other cause.

JohnT
0
 
LVL 3

Author Comment

by:omb
ID: 11213340
Thanks for coming back to me jthow. I've deleted the necessary temp files.

I've checked and every time a user prints, a temp file is created... any ideas why?
0
 
LVL 6

Accepted Solution

by:
jthow earned 50 total points
ID: 11258381
omb,

All print jobs sent to a print server will be temporarily spooled to a folder on the server.  They are supposed to be deleted when the print completes successfully.  Since the 'real' print server has no files in c:\winnt\system32\spool\printers, that bit seems to be working correctly.  I have to say that it makes no sense to me that these files are (apparently) either going to the terminal server before going to the print server or are being duplicated to the terminal server and the print server.  Either of those conditions would cause what you are seeing, since the terminal server isn't running the prints and won't 'know' to delete the files when the prints are completed.  

I suppose it's worth you looking at how the shares are set up and mapped in case there are any anomalies.  Other than that,  a scheduled task to clear out the terminal server's spool folder on a regular basis would seem a sensible workaround.

JohnT
0
 
LVL 3

Author Comment

by:omb
ID: 11445604
thanks for your feedback jthow. Eventhough I could not find out why these .tmp files were being created, I liked your idea about scheduling a task to del them on a regular basis.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Print Server: NT to 2008 10 576
Images sometimes not printed 6 469
P2V conversion for Windows NT 4.0 Server 2 2,174
Repair old Windows 2000 boot 15 199
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now