hidden hit counter
Welcome to WindowsForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Srv warning event 2021

 
   Win 2000/NT/98/ME (Home) -> File System RSS
Next:  DNS Forwarding Not Work  
Author Message
Rich

External


Since: Aug 03, 2006
Posts: 14



(Msg. 1) Posted: Tue Jan 08, 2008 10:59 am
Post subject: Srv warning event 2021
Archived from groups: microsoft>public>win2000>file_system (more info?)

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.

 >> Stay informed about: Srv warning event 2021 
Back to top
Login to vote
Dave Patrick

External


Since: Oct 18, 2005
Posts: 938



(Msg. 2) Posted: Tue Jan 08, 2008 6:42 pm
Post subject: Re: Srv warning event 2021 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" wrote:
>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.
>

 >> Stay informed about: Srv warning event 2021 
Back to top
Login to vote
Rich

External


Since: Aug 03, 2006
Posts: 14



(Msg. 3) Posted: Wed Jan 09, 2008 5:26 am
Post subject: Re: Srv warning event 2021 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" wrote:

> 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" wrote:
> >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.
> >
>
 >> Stay informed about: Srv warning event 2021 
Back to top
Login to vote
Rich

External


Since: Aug 03, 2006
Posts: 14



(Msg. 4) Posted: Wed Jan 09, 2008 9:10 am
Post subject: Re: Srv warning event 2021 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" wrote:

> 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" wrote:
> >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.
> >
>
 >> Stay informed about: Srv warning event 2021 
Back to top
Login to vote
Dave Patrick

External


Since: Oct 18, 2005
Posts: 938



(Msg. 5) Posted: Wed Jan 09, 2008 8:56 pm
Post subject: Re: Srv warning event 2021 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You might also give this a go.

http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Wi...ws%20Op

also;

http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Wi...ws%20Op


--

Regards,

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

"Rich" wrote:
> 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?
 >> Stay informed about: Srv warning event 2021 
Back to top
Login to vote
Rich

External


Since: Aug 03, 2006
Posts: 14



(Msg. 6) Posted: Fri Jan 11, 2008 6:11 am
Post subject: Re: Srv warning event 2021 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" wrote:

> You might also give this a go.
>
> http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Wi...ws%20Op
>
> also;
>
> http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Wi...ws%20Op
>
>
> --
>
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "Rich" wrote:
> > 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?
>
 >> Stay informed about: Srv warning event 2021 
Back to top
Login to vote
John John

External


Since: Jun 05, 2004
Posts: 808



(Msg. 7) Posted: Sat Jan 12, 2008 12:26 pm
Post subject: Re: Srv warning event 2021 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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

John

Rich wrote:

> 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" wrote:
>
>
>>You might also give this a go.
>>
>>http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Windows%20Operating%20System&ProdVer=5.2&EvtID=2021&EvtSrc=NCP%20Server&LCID=1033
>>
>>also;
>>
>>http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Windows%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
>>
>>"Rich" wrote:
>>
>>>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?
>>
 >> Stay informed about: Srv warning event 2021 
Back to top
Login to vote
Rich

External


Since: Aug 03, 2006
Posts: 14



(Msg. 8) Posted: Mon Jan 14, 2008 11:54 am
Post subject: Re: Srv warning event 2021 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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" wrote:

> Did you resolve this problem, Rich? Please let us know, it would be
> informative to know the results of your endeavours.
>
> John
>
> Rich wrote:
>
> > 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" wrote:
> >
> >
> >>You might also give this a go.
> >>
> >>http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Windows%20Operating%20System&ProdVer=5.2&EvtID=2021&EvtSrc=NCP%20Server&LCID=1033
> >>
> >>also;
> >>
> >>http://www.microsoft.com/technet/support/ee/transform.aspx?ProdName=Windows%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
> >>
> >>"Rich" wrote:
> >>
> >>>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?
> >>
>
 >> Stay informed about: Srv warning event 2021 
Back to top
Login to vote
Edwin vMierlo [MVP]

External


Since: May 17, 2007
Posts: 2



(Msg. 9) Posted: Tue Jan 15, 2008 10:52 am
Post subject: Re: Srv warning event 2021 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Rich" wrote in message

> 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" wrote:
>
> > Did you resolve this problem, Rich? Please let us know, it would be
> > informative to know the results of your endeavours.
> >
> > John
> >
> > Rich wrote:
> >
> > > 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" wrote:
> > >
> > >
> > >>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
> > >>
> > >>also;
> > >>
> >
>>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
> > >>
> > >>"Rich" wrote:
> > >>
> > >>>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.
 >> Stay informed about: Srv warning event 2021 
Back to top
Login to vote
Dave Patrick

External


Since: Oct 18, 2005
Posts: 938



(Msg. 10) Posted: Tue Jan 15, 2008 8:58 pm
Post subject: Re: Srv warning event 2021 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

John,

Can you ping me with a valid email addy

--

Regards,

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

"John John" wrote:
> Did you resolve this problem, Rich? Please let us know, it would be
> informative to know the results of your endeavours.
>
> John
 >> Stay informed about: Srv warning event 2021 
Back to top
Login to vote
John John

External


Since: Jun 05, 2004
Posts: 808



(Msg. 11) Posted: Wed Jan 16, 2008 9:05 am
Post subject: Re: Srv warning event 2021 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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, johnjbgb.TakeThisOut@nospam.gmail.com

John

johnjbgb.TakeThisOut@nospam.gmail.com

Dave Patrick wrote:
> John,
>
> Can you ping me with a valid email addy
>
 >> Stay informed about: Srv warning event 2021 
Back to top
Login to vote
Display posts from previous:   
   Win 2000/NT/98/ME (Home) -> File System All times are: Eastern Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
 Windows XP
  Win 2000/NT/98/ME
 Windows Vista!


[ Contact us | Terms of Service/Privacy Policy ]