Srv warning event 2021

R

Rich

I have a file and print server that has become inundated with the following
Srv warnings, event 2021, with the # being filled in with a variety of
different numbers. How do I get to the bottom of this? every article i've
come up with says it could really be anything causing this with not much help.

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

Rich

Thanks for the article. I don't have either of the keys MaxWorkItems or
SizReqBuf in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters

I only have 1GB memory in the server, should I go with adding the values of
8192 and 16644 to see if that lessens the 2021 events then?

Dave Patrick said:
Chances are good that the box is overloaded.

http://support.microsoft.com/kb/317249


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Rich said:
I have a file and print server that has become inundated with the following
Srv warnings, event 2021, with the # being filled in with a variety of
different numbers. How do I get to the bottom of this? every article
i've
come up with says it could really be anything causing this with not much
help.

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

Rich

is there a way to make it log any details about the work item that it
couldn't process, or a way to take a snapshot of the queue in order to see
what's filling it up?

Dave Patrick said:
Chances are good that the box is overloaded.

http://support.microsoft.com/kb/317249


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Rich said:
I have a file and print server that has become inundated with the following
Srv warnings, event 2021, with the # being filled in with a variety of
different numbers. How do I get to the bottom of this? every article
i've
come up with says it could really be anything causing this with not much
help.

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

Rich

Thanks Dave. I checked out the article about 2021, and that registry key
mentioned, mine is set to 0, where the article suggests 1000. Would
switching this to 1000 have any negative affect on anything? since this
server is my file & print, it's a big deal when i take it down or if it goes
haywire.

Dave Patrick said:
You might also give this a go.

http://www.microsoft.com/technet/su...er=5.2&EvtID=2021&EvtSrc=NCP Server&LCID=1033

also;

http://www.microsoft.com/technet/su...er=5.2&EvtID=2022&EvtSrc=NCP Server&LCID=1033


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Rich said:
Thanks for the article. I don't have either of the keys MaxWorkItems or
SizReqBuf in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters

I only have 1GB memory in the server, should I go with adding the values
of
8192 and 16644 to see if that lessens the 2021 events then?
 
J

John John

Did you resolve this problem, Rich? Please let us know, it would be
informative to know the results of your endeavours.

John
Thanks Dave. I checked out the article about 2021, and that registry key
mentioned, mine is set to 0, where the article suggests 1000. Would
switching this to 1000 have any negative affect on anything? since this
server is my file & print, it's a big deal when i take it down or if it goes
haywire.

:

You might also give this a go.

http://www.microsoft.com/technet/su...er=5.2&EvtID=2021&EvtSrc=NCP Server&LCID=1033

also;

http://www.microsoft.com/technet/su...er=5.2&EvtID=2022&EvtSrc=NCP Server&LCID=1033


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

Rich said:
Thanks for the article. I don't have either of the keys MaxWorkItems or
SizReqBuf in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters

I only have 1GB memory in the server, should I go with adding the values
of
8192 and 16644 to see if that lessens the 2021 events then?
 
R

Rich

Have not tried tweaking that setting yet. In reading more about it, leaving
it at 0 allows Windows to adjust it dynamically. I'm debating whether I
should change it or try installing more RAM in the server.

John John said:
Did you resolve this problem, Rich? Please let us know, it would be
informative to know the results of your endeavours.

John
Thanks Dave. I checked out the article about 2021, and that registry key
mentioned, mine is set to 0, where the article suggests 1000. Would
switching this to 1000 have any negative affect on anything? since this
server is my file & print, it's a big deal when i take it down or if it goes
haywire.

:

You might also give this a go.

http://www.microsoft.com/technet/su...er=5.2&EvtID=2021&EvtSrc=NCP Server&LCID=1033

also;

http://www.microsoft.com/technet/su...er=5.2&EvtID=2022&EvtSrc=NCP Server&LCID=1033


--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:

Thanks for the article. I don't have either of the keys MaxWorkItems or
SizReqBuf in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters

I only have 1GB memory in the server, should I go with adding the values
of
8192 and 16644 to see if that lessens the 2021 events then?
 
E

Edwin vMierlo [MVP]

Rich said:
Have not tried tweaking that setting yet. In reading more about it, leaving
it at 0 allows Windows to adjust it dynamically. I'm debating whether I
should change it or try installing more RAM in the server.

John John said:
Did you resolve this problem, Rich? Please let us know, it would be
informative to know the results of your endeavours.

John
Thanks Dave. I checked out the article about 2021, and that registry key
mentioned, mine is set to 0, where the article suggests 1000. Would
switching this to 1000 have any negative affect on anything? since this
server is my file & print, it's a big deal when i take it down or if it goes
haywire.

:


You might also give this a go.

http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Window s%20Operating%20System&ProdVer=5.2&EvtID=2021&EvtSrc=NCP%20Server&LCID=1033

http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Window s%20Operating%20System&ProdVer=5.2&EvtID=2022&EvtSrc=NCP%20Server&LCID=1033
--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:

Thanks for the article. I don't have either of the keys MaxWorkItems or
SizReqBuf in
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\paramet ers

I only have 1GB memory in the server, should I go with adding the values
of
8192 and 16644 to see if that lessens the 2021 events then?

You could open a ticket with Microsoft, but here is usually the recommended
actions if you indeed have the 2021 and 2022 events :


1) Set the following registry key to the new value 15 in HEX:


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

IRPStackSize:Reg_Dword:0x15



2) Reduce Event ID 2021 errors


To specifically address Event ID 2021, start Registry Editor and locate the
following registry subkey:



HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters



Then, add or modify the following DWORD registry values:


Description: Maximum Work Items
Value Name: MaxWorkItems
Data Type: REG_DWORD
Value data: 0x2000 or 8192 (decimal)

Description: Size of a Requested Buffer
Value Name: SizReqBuf
Data Type: REG_DWORD
Value data: 0x4104 or 16644 (decimal)

3) Reduce Event ID 2022 errors


To specifically address Event ID 2022, start Registry Editor, and move to
the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters


Then add or modify the following DWORD registry values:
Description: Maximum Free Connections
Value Name: MaxFreeConnections
Data Type: REG_DWORD
Value data: 0x1000 or 4096 (decimal)

Description: Minimum Free Connections
Value Name: MinFreeConnections
Data Type: REG_DWORD
Value data: 0x100 or 256 (decimal)



HTH,
Edwin.
 
J

John John

I have emailed you at your mail domain.

Should the message not make it to your inbox you can email me at the
same domain, (e-mail address removed)

John

(e-mail address removed)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Soruce: Srv Event ID: 2021 1
System Event Warning: EventID 2021 5
Vista srv: nonpaged pool 4
Srv Error 2019 and 2021 1
Event 2021 1
performance problems 1
Error 1
unable to allocate work item error ? 1

Top