Solved

The server was unable to allocate a work item 53 times in the last 60 seconds.

Posted on 1997-12-04
6
7,447 Views
1 Endorsement
Last Modified: 2013-12-23
NT 4 workstation with a file share. I am recieving a lot "The server was unable to allocate a work item x times in the last 60 seconds." messages in the system event log. When the error occurs and users trying to access the share hang briefly.

I initially thought that this was a workstation vs server limitation but I've been unable to reproduce the error by trying to diliberately overloading another NT workstation.

Any ideas ?

Brian V
1
Comment
Question by:brianv
6 Comments
 
LVL 1

Expert Comment

by:mert
ID: 1569454
The problem may be this:

The default system pages are not enough for the server due to
many pages being locked down during transmission.
 
For resolution try this:
 
To work around this problem, increase the number of system pages for the server in the registry
 
1. Start Registry Editor (REGEDT32.EXE) and locate the following Registry subkey in the HKEY_LOCAL_MACHINE subtree:
 
\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
 
2. Select SystemPages. From the Edit menu, select DWORD.
 
3. For Data, enter 20000 (Decimal).
 
4. Click OK and quit Registry Editor.
 
5. Shut down and restart Windows NT.

0
 

Author Comment

by:brianv
ID: 1569455
Tried it at 20,000 Dword as suggested...errors are still occuring. I'll set it higher and update you tomorrow. For what it's worth the errors seem to be generated when a remote user tries to compile c++ code that exists on the workstations share.

When this happens a single user can have over 40 opens.

Brian V
0
 

Author Comment

by:brianv
ID: 1569456
Bumped it to 40,000 DWord and the errors continue.

Any other suggestions

Brian V
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 2

Accepted Solution

by:
gantriis earned 300 total points
ID: 1569457
Hi Brian.

You might like to increase the value of MaxWorkItems to 64 which is the upper limit for a Windows NT Workstation.

So, fire up RegEdt32 once again and enter the value

MaxWorkItems: REG_DWORD: 64 (decimal)

under the key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

I believe that the default value is 32 on a  workstation and 512 on a server so the change should double the max value.

And while you are at it you might also like to adjust the InitWorkItems value under the same key. Add this as a DWORD value if it does not already exist. The max value you can specify for this one is 512. (Have a look at the Windows NT 4.0 resource kit file regentry.hlp for more information about these parameters.) However,  I suggest that you start by only adding the MaxWorkItems value.

Let me know how the workstation is doing after that change and a reboot.

Cheers
Gantriis
0
 

Author Comment

by:brianv
ID: 1569458
Thanks, the max workitems appears to have fixed it !!!

And more importantly I wasn't aware of regentry.hlp (great tool)

Thanks again

Brian V

0
 

Expert Comment

by:chuckRichards
ID: 1569459
Thanks a lot, gentriis, for your advice.  I will be trying it to see if it solves my problem.

For the reference of others that may have a similar problem, my symptoms have been:

Running NT Workstation 4.0 ServicePack 3 on a Dell...
Creating a filesystem share
(let's say, \\COMPUTER\share at C:\directory)
and redirecting a drive on the same \\COMPUTER
(let's say, X:\)
to access that share.
Most of the time things work fine, but when there is a large build with MS DevStudio of a lot of small source files that are contained within X:, delays happen and sometimes the X:\ stops working for any application (EXPLORER.EXE says that the computer is not accessible).
Subsequent investigation of the EventQueue shows a series of Srv Event 2021 ("The server was unable to allocate a work item (#) times in the last 60 seconds"), with some Rdr Event 3013 ("The redirector has timed out a request to COMPUTER").
The problem can be temporarily solved by running ControlPanel->Server and DisconnectingAll, but will eventually re-occur.

0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
UNC paths question 18 83
USB on Hyper-V VM Server 2012R2 13 102
HP Laser Jet Errors 10 93
Cannot Change Local DNS 9 42
Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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

15 Experts available now in Live!

Get 1:1 Help Now