Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / January 2006

Tip: Looking for answers? Try searching our database.

OutOfMemoryException: major production problems

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vecozo@online.nospam - 03 Jan 2006 21:14 GMT
Hi,

On our production servers we receive the following events (in more detail
below)

* HTTP/ASMX Message Receive Failure: System.OutOfMemoryException: [Resource
lookup failed - infinite recursion detected.  Resource name:
Exception_WasThrown] (WSE2)

* Details: System.OutOfMemoryException: Exception of type
System.OutOfMemoryException was thrown.. (Application)

* System.OutOfMemoryException: Exception of type System.OutOfMemoryException
was thrown. (WSE2)

* Setup Error: Failed to load resources from resource file
Please check your Setup. (.NET Runtime)

We run Windows 2003 Server and have .NET framework 1.1 installed. Most
memory is allocated in the gen 2 heap. Our customers receive either an
OutOfMemory exception (very embarrassing) or a service unavailable message.
Problems seem to have started when the load to our webservers increased
(dramatically). Of course we increased the number of servers, but the
OutOfMemory Exception in a managed environment seems odd: shouldn’t the
process recycle or garbage collect, or just return a server busy message
(which is does as well, sometimes)?

Does this sound familiar to anyone? We have initiated a first attempt to
debug using a dumpfile created with ADPlus, but so far no results are
available. Any references to professional experts in asp.net production
debugging – preferably in Europe / the Netherlands – are appreciated as well.

Regards,
Martijn Kaag

______________________________
www.VECOZO.nl

Event 1:
_____________________________
Event Type:    Error
Event Source:    Microsoft WSE 2.0
Event Category:    None
Event ID:    0
Date:        3-1-2006
Time:        21:07:55
User:        N/A
Computer:    WBS_SERVER04
Description:
HTTP/ASMX Message Receive Failure: System.OutOfMemoryException: [Resource
lookup failed - infinite recursion detected.  Resource name:
Exception_WasThrown]

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Event 2:
______________________________
Event Type:    Error
Event Source:    Application
Event Category:    None
Event ID:    0
Date:        3-1-2006
Time:        20:47:23
User:        N/A
Computer:    WBS_SERVER04
Description:
The description for Event ID ( 0 ) in Source ( Application ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be able
to use the /AUXSOURCE= flag to retrieve this description; see Help and
Support for details. The following information is part of the event: Error
publishing logentry.

Details: System.OutOfMemoryException: Exception of type
System.OutOfMemoryException was thrown..

Event 3:
______________________________
Event Type:    Error
Event Source:    Microsoft WSE 2.0
Event Category:    None
Event ID:    0
Date:        3-1-2006
Time:        20:45:57
User:        N/A
Computer:    WBS_SERVER04
Description:
System.OutOfMemoryException: Exception of type System.OutOfMemoryException
was thrown.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

________________________________________________
Event Type:    Error
Event Source:    .NET Runtime
Event Category:    None
Event ID:    0
Date:        3-1-2006
Time:        17:51:22
User:        N/A
Computer:    WBS_SERVER04
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be able
to use the /AUXSOURCE= flag to retrieve this description; see Help and
Support for details. The following information is part of the event: .NET
Runtime version 1.1.4322.2300- Setup Error: Failed to load resources from
resource file
Please check your Setup.
Steven Cheng[MSFT] - 04 Jan 2006 09:16 GMT
Hi vecozo,

Welcome to MSDN newsgroup.
From your description, you're encountering some OOM exception in your
webservice application in production environment. Based on my understanding:

OutOfMemoryException¡¯s usually occurs when the GC cannot allocate the new
object in an existing space in the heap and so tries to allocate a new
segment but cannot due to lack of large enough continuous virtual address
space segment.  Also, though ASP.NET worker process or application
pool(iis6) has recycling setting on physical memory usage limitation, there
still have some cases the runtime fail to allocate a block of memory before
physical memory usage hit the recycle limit...  e.g some times our
application's code cause many heap fragment that kill those available large
VM blocks...    

And for production environement, it'll be much harder to troubleshot than
dev environement... Here are some related msdn referece on debugging .net
webservice or ASP.NET application in production environment which including
some production memory debugging introduction...

#Debugging Production Problems in Your XML Web Service
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/h
tml/service12192001.asp

#Production Debugging for .NET Framework Applications
http://msdn.microsoft.com/library/en-us/dnbda/html/DBGrm.asp?frame=true

In addition, due to the nature of such problem, if you feel it an urgent
issue, I'd suggest you contact PSS for further assistance which will
provide some thorough throubleshooting like dump analyze or live
debugging....

Hope helps. Thanks,

Steven Cheng
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
Thread-Topic: OutOfMemoryException: major production problems
thread-index: AcYQqp9zBShY84f+RbumCeUKS7N1BA==
X-WBNR-Posting-Host: 193.108.210.227
From: "=?Utf-8?B?dmVjb3pvQG9ubGluZS5ub3NwYW0=?=" <vecozo@online.nospam>
Subject: OutOfMemoryException: major production problems
Date: Tue, 3 Jan 2006 13:14:03 -0800
Lines: 116
Message-ID: <93A987C9-14E2-4FB2-9C59-1E47E87E49E9@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
    charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices.enhancements
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.webservices.enhancements:8030
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices.enhancements

Hi,

On our production servers we receive the following events (in more detail
below)

* HTTP/ASMX Message Receive Failure: System.OutOfMemoryException: [Resource
lookup failed - infinite recursion detected.  Resource name:
Exception_WasThrown] (WSE2)

* Details: System.OutOfMemoryException: Exception of type
System.OutOfMemoryException was thrown.. (Application)

* System.OutOfMemoryException: Exception of type
System.OutOfMemoryException
was thrown. (WSE2)

* Setup Error: Failed to load resources from resource file
Please check your Setup. (.NET Runtime)

We run Windows 2003 Server and have .NET framework 1.1 installed. Most
memory is allocated in the gen 2 heap. Our customers receive either an
OutOfMemory exception (very embarrassing) or a service unavailable message.
Problems seem to have started when the load to our webservers increased
(dramatically). Of course we increased the number of servers, but the
OutOfMemory Exception in a managed environment seems odd: shouldn’t the
process recycle or garbage collect, or just return a server busy message
(which is does as well, sometimes)?

Does this sound familiar to anyone? We have initiated a first attempt to
debug using a dumpfile created with ADPlus, but so far no results are
available. Any references to professional experts in asp.net production
debugging �preferably in Europe / the Netherlands �are appreciated as
well.

Regards,
Martijn Kaag

______________________________
www.VECOZO.nl

Event 1:
_____________________________
Event Type:    Error
Event Source:    Microsoft WSE 2.0
Event Category:    None
Event ID:    0
Date:        3-1-2006
Time:        21:07:55
User:        N/A
Computer:    WBS_SERVER04
Description:
HTTP/ASMX Message Receive Failure: System.OutOfMemoryException: [Resource
lookup failed - infinite recursion detected.  Resource name:
Exception_WasThrown]

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

Event 2:
______________________________
Event Type:    Error
Event Source:    Application
Event Category:    None
Event ID:    0
Date:        3-1-2006
Time:        20:47:23
User:        N/A
Computer:    WBS_SERVER04
Description:
The description for Event ID ( 0 ) in Source ( Application ) cannot be
found. The local computer may not have the necessary registry information
or
message DLL files to display messages from a remote computer. You may be
able
to use the /AUXSOURCE= flag to retrieve this description; see Help and
Support for details. The following information is part of the event: Error
publishing logentry.

Details: System.OutOfMemoryException: Exception of type
System.OutOfMemoryException was thrown..

Event 3:
______________________________
Event Type:    Error
Event Source:    Microsoft WSE 2.0
Event Category:    None
Event ID:    0
Date:        3-1-2006
Time:        20:45:57
User:        N/A
Computer:    WBS_SERVER04
Description:
System.OutOfMemoryException: Exception of type System.OutOfMemoryException
was thrown.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

________________________________________________
Event Type:    Error
Event Source:    .NET Runtime
Event Category:    None
Event ID:    0
Date:        3-1-2006
Time:        17:51:22
User:        N/A
Computer:    WBS_SERVER04
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry information
or
message DLL files to display messages from a remote computer. You may be
able
to use the /AUXSOURCE= flag to retrieve this description; see Help and
Support for details. The following information is part of the event: .NET
Runtime version 1.1.4322.2300- Setup Error: Failed to load resources from
resource file
Please check your Setup.
vecozo@online.nospam - 04 Jan 2006 10:49 GMT
Hi Steven,

Thanks for your response. Your analysis of the problem seems to be correct.
I have posted some details of the WinDbg output under
microsoft.public.dotnet.framework.performance, as this seems to be a more
appropriate location.
(http://msdn.microsoft.com/newsgroups/managed/default.aspx?dg=microsoft.public.do
tnet.framework.performance&mid=7d97a85e-4c9e-48a7-8fca-4623769d46c2
)

It is an an urgent issue and we want to contact PSS for further assistance
[a support engineer on site would be the preferred option] So far, however,
we have not yet succeeded to find the correct contact in the Netherlands.
We'll keep on trying.

Regards,
Martijn Kaag

Signature

______________________________
www.VECOZO.nl

> Hi vecozo,
>
[quoted text clipped - 181 lines]
> resource file
> Please check your Setup
Steven Cheng[MSFT] - 05 Jan 2006 02:23 GMT
Thanks for your reply Martijin,

For PSS support or a local on site, you can also try contacting the global
support center through the following link:

http://support.microsoft.com/gp/assistsupport

they may provide you the detailed info on how to contact the local
developer support center...

Regards,

Steven Cheng
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
Thread-Topic: OutOfMemoryException: major production problems
thread-index: AcYRHHnOITFH2PaxRj+T2+HJnYRvng==
X-WBNR-Posting-Host: 84.117.15.17
From: "=?Utf-8?B?dmVjb3pvQG9ubGluZS5ub3NwYW0=?=" <vecozo@online.nospam>
References:  <93A987C9-14E2-4FB2-9C59-1E47E87E49E9@microsoft.com>
<q9$cJ#QEGHA.1888@TK2MSFTNGXA02.phx.gbl>
Subject: RE: OutOfMemoryException: major production problems
Date: Wed, 4 Jan 2006 02:49:02 -0800
Lines: 215
Message-ID: <6B697186-2880-4AD4-BED1-AC68E8C07168@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
    charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices.enhancements
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.webservices.enhancements:8036
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices.enhancements

Hi Steven,

Thanks for your response. Your analysis of the problem seems to be correct.
I have posted some details of the WinDbg output under
microsoft.public.dotnet.framework.performance, as this seems to be a more
appropriate location.
(http://msdn.microsoft.com/newsgroups/managed/default.aspx?dg=microsoft.publ
ic.dotnet.framework.performance&mid=7d97a85e-4c9e-48a7-8fca-4623769d46c2)

It is an an urgent issue and we want to contact PSS for further assistance
[a support engineer on site would be the preferred option] So far, however,
we have not yet succeeded to find the correct contact in the Netherlands.
We'll keep on trying.

Regards,
Martijn Kaag

Signature

______________________________
www.VECOZO.nl

"Steven Cheng[MSFT]" wrote:

> Hi vecozo,
>
[quoted text clipped - 3 lines]
>
> OutOfMemoryException¡¯s usually occurs when the GC cannot allocate the
new
> object in an existing space in the heap and so tries to allocate a new
> segment but cannot due to lack of large enough continuous virtual address
[quoted text clipped - 11 lines]
>
> #Debugging Production Problems in Your XML Web Service

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/h
> tml/service12192001.asp
>
[quoted text clipped - 65 lines]
> (dramatically). Of course we increased the number of servers, but the
> OutOfMemory Exception in a managed environment seems odd: shouldnâ€â„
¢t the
> process recycle or garbage collect, or just return a server busy message
> (which is does as well, sometimes)?
[quoted text clipped - 3 lines]
> available. Any references to professional experts in asp.net production
> debugging â�preferably in Europe / the Netherlands â�are
appreciated as
> well.
>
[quoted text clipped - 57 lines]
> Description:
> System.OutOfMemoryException: Exception of type
System.OutOfMemoryException
> was thrown.
>
[quoted text clipped - 21 lines]
> resource file
> Please check your Setup
vecozo@online.nospam - 05 Jan 2006 17:05 GMT
Hi Steven,

Thanx. We are in contact with Microsoft Product Support Services EMEA GTSC
right now. Thanx for your help and suggestions.

Regards,
Martijn Kaag
______________________________
www.VECOZO.nl

> Thanks for your reply Martijin,
>
[quoted text clipped - 257 lines]
> > resource file
> > Please check your Setup
Steven Cheng[MSFT] - 06 Jan 2006 01:50 GMT
You're welcome Martijn,

Please feel free to post here if you get the problem resolved and share us
the result...

Good luck!

Steven Cheng
Microsoft Online Support

Signature

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
Thread-Topic: OutOfMemoryException: major production problems
thread-index: AcYSGiueVkQRQF1tRf6yHfll8MpxIw==
X-WBNR-Posting-Host: 193.108.210.227
From: "=?Utf-8?B?dmVjb3pvQG9ubGluZS5ub3NwYW0=?=" <vecozo@online.nospam>
References:  <93A987C9-14E2-4FB2-9C59-1E47E87E49E9@microsoft.com>
<q9$cJ#QEGHA.1888@TK2MSFTNGXA02.phx.gbl>
<6B697186-2880-4AD4-BED1-AC68E8C07168@microsoft.com>
<U4KBG8ZEGHA.2660@TK2MSFTNGXA02.phx.gbl>
Subject: RE: OutOfMemoryException: major production problems
Date: Thu, 5 Jan 2006 09:05:03 -0800
Lines: 290
Message-ID: <1849CDCE-074A-47BB-818D-9413CE8E3289@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
    charset="Utf-8"
Content-Transfer-Encoding: 8bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.framework.webservices.enhancements
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.webservices.enhancements:8052
X-Tomcat-NG: microsoft.public.dotnet.framework.webservices.enhancements

Hi Steven,

Thanx. We are in contact with Microsoft Product Support Services EMEA GTSC
right now. Thanx for your help and suggestions.

Regards,
Martijn Kaag
______________________________
www.VECOZO.nl

"Steven Cheng[MSFT]" wrote:

> Thanks for your reply Martijin,
>
[quoted text clipped - 48 lines]
> microsoft.public.dotnet.framework.performance, as this seems to be a more
> appropriate location.

(http://msdn.microsoft.com/newsgroups/managed/default.aspx?dg=microsoft.publ
> ic.dotnet.framework.performance&mid=7d97a85e-4c9e-48a7-8fca-4623769d46c2)
>
[quoted text clipped - 9 lines]
> >
> > Welcome to MSDN newsgroup.

> > From your description, you're encountering some OOM exception in your
> > webservice application in production environment. Based on my
> understanding:
> >
> > OutOfMemoryException¡¯s usually occurs when the GC cannot
allocate the
> new
> > object in an existing space in the heap and so tries to allocate a new
[quoted text clipped - 16 lines]
> >
> > #Debugging Production Problems in Your XML Web Service

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnservice/h
> > tml/service12192001.asp
> >
[quoted text clipped - 67 lines]
> > (dramatically). Of course we increased the number of servers, but the
> > OutOfMemory Exception in a managed environment seems odd: shouldnâÃ
¢â€šÂ¬Ã¢â€?
> ¢t the
> > process recycle or garbage collect, or just return a server busy message
[quoted text clipped - 90 lines]
> > to use the /AUXSOURCE= flag to retrieve this description; see Help and
> > Support for details. The following information is part of the event:
.NET
> > Runtime version 1.1.4322.2300- Setup Error: Failed to load resources from
> > resource file
> > Please check your Setup

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.