Solved

CPU with printer share maxes out connections

Posted on 2010-08-25
10
320 Views
Last Modified: 2012-08-14
I have a windows XP machine that is setup and has a printer connected to it.  This cpu is only used to connect to the printer, and the printer is shared.

This setup has worked for as long as I can remember; however, recently, I have been getting errors saying the printer is unavailable.

After a little troubleshooting, I found the problem to be the Open Files / Sessions in computer management.  They appear to be maxed out at the 10 threshold.

I do not know what started to cause this problem, but how do I fix it?  The printer share will be on numerous computers, well over 10; however, there will hardly ever be more than one person printing at the same time.

Looking at it right now, it shows one person has a session open for over a day., and many with idle times of over an hour.  They show open files, spool files I'm sure, but shouldn't they close after printing and disconnect the session?

The printer is a Tharo H-426 if that matters.

Any ideas?
0
Comment
Question by:dzirkelb
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 38

Expert Comment

by:Aaron Tomosky
ID: 33521542
Xp has. 10 connection limit. If you google" xp 10 connection limit tcpip.sys hack" you can download and replace tcpip.sys with a hacked version without the limit. There is also a registry entry you can set to change the idle disconnect time to close those connections after a few min.

Or you can use a server OS like Microsoft wants you to. OR you can use win7 which has no limit.
0
 
LVL 11

Expert Comment

by:Coast-IT
ID: 33521572
To save all this XP hassle, just buy a print server for the PC and share it via IP address.  That way you wont be depending on Windows XP being on and working.
0
 
LVL 11

Expert Comment

by:Coast-IT
ID: 33521587
If you are a company, I wouldn't fancy using the hack as mentioned above, I know a company that got fined with a XP unlimited style terminal server box  (same restriction removals)
0
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 

Author Comment

by:dzirkelb
ID: 33521704
I plan on moving it to our print server (server 2003); however, I believe there are driver issues with this printer.

I'll try to change the disconnect time in the registry first; however, does anyone know where the registry key is?
0
 
LVL 11

Expert Comment

by:Coast-IT
ID: 33522697
This link should help ;

http://support.microsoft.com/kb/297684
0
 

Author Comment

by:dzirkelb
ID: 33523011
Ok, I changed the reg value to ffffffff, and changed the timeout to 0 (says it will disconnect if idle for a couple seconds).

I still have users with idle times of a variety of ranges.  I did disocnnect all sessions, and they pop back up once they print, and sit idle without disconnecting.

I am monitoring to see if we still reach the 10 max.
0
 
LVL 7

Expert Comment

by:simonseztech
ID: 33525886
May I suggest you use a print server

usb: http://www.startech.com/item/PM1115U-10-100-Mbps-USB-Print-Server.aspx
parallel : http://www.startech.com/item/PM1115P-1-Port-Parallel-10100-Mbps-Print-Server.aspx

For around 60$ you will seave yourself a lot of headache.

0
 

Author Comment

by:dzirkelb
ID: 33532263
I am not looking to purchase any hardware or move the process at this time, I am looking for an answer on how to fix my problem today, and not for the future.

Currently, if I right click and disconnect all open sessions, then everything works fine.  Is there a command line prompt that will do this for me?  If so, then I'll create a scheduled task to perform that command line code every minute.

Then, I will move the printer after I formulate a plan and strategy for movement.
0
 
LVL 7

Accepted Solution

by:
simonseztech earned 500 total points
ID: 33532568
You can execute the following command

Disconnect all sessions connected to this machine
NET SESSION /DELETE

Disconnect all sessions connected to this machine (without any prompts)
NET SESSION /DELETE /y
0
 

Author Comment

by:dzirkelb
ID: 33533206
That will work perfect for a short term fix, thanks a ton!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASA Troubleshooting: Easy way to determine an interface's next hop 18 71
How VPC help preventing STP Loops 4 95
eigrp routing loop 5 39
VPS for routing recomendations 3 49
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

808 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