?
Solved

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

Posted on 2004-03-31
4
Medium Priority
?
997 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 200 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
I came across an unsolved Outlook issue and here is my solution.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

862 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