5
1
I'm not sure if this belongs here or on serverfault, but I already have an account here so this is where I'll start.
In my office we have a development server running windows 7 pro or server 2008 (I'm not sure which as I don't personally have access, but I can find this out if it's important), with network shares for each of the current builds. We've always done it this way, but it used to be a windows server 2003 box.
Anyway - periodically the server starts refusing connections from xp/2003 boxes, and there are errors in the server log about something running out of space; however we've found that someone rdp'ing into the server and running net stop server
, net start server
, net start "Computer Browser"
fixes the issue.
This however requires for someone with access rights to stop what they are doing and do this about 2-3 times per week.
Is there any way to solve this issue permanently? It seems obvious that there is an issue with the windows legacy network share, but is this a setup issue that can be solved, or if not is there a seamless workaround such as some way of monitoring the error log and restarting the service as soon as there's a problem?
Having checked it's Windows 7 Professional
OK I got the error message from the windows server log :
The server was unable to allocate from the system nonpaged pool because the server reached the configured limit for nonpaged pool allocations.
Windows 7, except for Starter if I am not mistaken, allows up to 20 connections. See this excerpt from the EULA: Device Connections. You may allow up to 20 other devices to access software installed on the licensed computer to use only File Services, Print Services, Internet Information Services and Internet Connection Sharing and Telephony Services. – bwDraco – 2011-06-15T11:20:12.317
Okay, Starter also allows 20 connections as well. – bwDraco – 2011-06-15T11:29:26.813
It looks like this is the problem - it's Windows 7 Pro. It won't be upgraded, you know what Technical Services departments can be like. Do you know any work-arounds? – theheadofabroom – 2011-06-15T13:26:49.203
@BiggAl Write a script and toss it in a scheduled task that will do your net stop server, net start server, net start "Computer Browser" command for you? Have it run in the middle of the night when the odds of someone using the system are slim? Just a thought. – N_Lindz – 2011-06-15T13:56:49.843
Hmm - if it's due to a 20 machine limit I'd say chances are slim - surely the connections would time out overnight? It's more likely that the randomness in occurrence is due to fluctuating usage patterns between departments. I stumbled across Half-open limit fix which looks like it would do the trick, but I'm not sure of the legality. Anyone? @N_Lindz @DragonLord
– theheadofabroom – 2011-06-15T14:09:49.387Oh wait, it looks like this was a red herring @N_Lindz @DragonLord
– theheadofabroom – 2011-06-15T14:15:32.817You guys were right, and I edited my comment to reflect the 20. – KCotreau – 2011-06-15T16:37:31.330