应用程序池配置为以域用户身份运行,该用户对Web代码具有 权限。当我们遇到问题时,网络服务器将返回ASP.Net服务器应用程序不可用。页面,我们的应用程序池 内存使用率非常高(我们正常使用的2到4倍)。 非asp.net内容服务很好。如果我回收应用程序 池或执行iisreset,内存使用率会恢复正常,并且网站 重新开始工作。 事件日志或http错误日志中没有记录任何内容,我们从应用程序中看到的唯一错误 偶尔出现类型异常 System.OutOfMemoryException被扔了。同样的页面每次都没有错误 ,我看到的函数抛出异常令人难以置信的b / b 泛型并在整个应用程序中大量使用(或者我们的开发人员 告诉我)。每次发生这个 时,我们的应用程序甚至都不会记录错误。 我应该如何解决此问题?我们的开发人员说它是一个 服务器问题,但我倾向于代码问题。这些服务器是运行Windows 2003 Server标准的,在上周末完全更新了 周末。I''m responsible for a pair of IIS 6 webservers that run our productionASP.Net application. We push code on a monthly basis, and about two weeksafter our October code push, we started to run into occasional webservererrors.The application pool is configured to run as a domain user which haspermissions to the web code. When we have issues, the webserver willreturn the ASP.Net "Server Application Unavailable" page, and our app poolmemory usage is really high (anywhere from 2 to 4 times our normal usage).Non asp.net content is served up just fine. If I recycle the applicationpool or do an iisreset, memory usage drops back to normal and the sitestarts working again.Nothing is logged to the eventlog or http error log, and the only errorswe see from our application has been the occasional "Exception of typeSystem.OutOfMemoryException was thrown." The same page doesn''t errorevery time, and the function I''ve seen throw exceptions is incrediblygeneric and used heavily throughout our entire application (or so our devshave told me). Our application doesn''t even log an error every time thishas happened.How should I go about troubleshooting this? Our devs are saying it''s aserver issue, but I''m leaning towards a code issue. These servers arerunning Windows 2003 Server standard, fully updated as of this lastweekend.我们正在使用会话状态db。 " Eliyahu Goldin" < RE ************************** @ mMvVpPsS.org写在 消息新闻:e0 **** ********** @ TK2MSFTNGP06.phx.gbl ...We''re using the session state db."Eliyahu Goldin" <RE**************************@mMvVpPsS.orgwrote inmessage news:e0**************@TK2MSFTNGP06.phx.gbl... 您正在使用哪种会话管理。 InProc会话是主要内存 消费者。 - Eliyahu Goldin, 软件开发人员 Microsoft MVP [ASP.NET] http:/ /msmvps.com/blogs/egoldin http://usableasp.net Daniel Peterson < py **** @ hotmail.comwrote in message news:CB ************************** ******** @ microsof t.com ...What session management are you using. InProc sessions are major memoryconsumers.--Eliyahu Goldin,Software DeveloperMicrosoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net"Daniel Peterson" <py****@hotmail.comwrote in messagenews:CB**********************************@microsof t.com... >我负责运行我们的生产的一对IIS 6网络服务器 ASP.Net应用程序。我们按月推送代码,在10月代码推送后大约两周,我们开始偶尔遇到网页服务器错误。 应用程序池配置为运行作为对Web代码具有权限的域用户。当我们遇到问题时,网络服务器将返回ASP.Net服务器应用程序不可用。页面和我们的应用程序池内存使用率非常高(我们正常使用的时间是2到4倍)。非asp.net内容提供得很好。如果我回收应用程序池或执行iisreset,内存使用率将恢复正常,并且该站点将再次开始工作。 没有记录到事件日志或http错误日志,我们从我们的应用程序中看到的唯一错误是偶尔的类型异常 System.OutOfMemoryException被抛出。同一页面每次都没有错误,并且我看到的函数抛出异常是令人难以置信的通用并在整个应用程序中大量使用(或者我们的开发人员告诉我们)我)。我们的应用程序每次都没有记录错误这已经发生了。 我应该如何解决这个问题呢?我们的开发人员说它是服务器问题,但我倾向于代码问题。这些服务器运行Windows 2003 Server标准,在最后一个周末完全更新。>I''m responsible for a pair of IIS 6 webservers that run our productionASP.Net application. We push code on a monthly basis, and about twoweeks after our October code push, we started to run into occasionalwebserver errors.The application pool is configured to run as a domain user which haspermissions to the web code. When we have issues, the webserver willreturn the ASP.Net "Server Application Unavailable" page, and our apppool memory usage is really high (anywhere from 2 to 4 times our normalusage). Non asp.net content is served up just fine. If I recycle theapplication pool or do an iisreset, memory usage drops back to normal andthe site starts working again.Nothing is logged to the eventlog or http error log, and the only errorswe see from our application has been the occasional "Exception of typeSystem.OutOfMemoryException was thrown." The same page doesn''t errorevery time, and the function I''ve seen throw exceptions is incrediblygeneric and used heavily throughout our entire application (or so ourdevs have told me). Our application doesn''t even log an error every timethis has happened.How should I go about troubleshooting this? Our devs are saying it''s aserver issue, but I''m leaning towards a code issue. These servers arerunning Windows 2003 Server standard, fully updated as of this lastweekend. 这篇关于ASP.Net内存使用问题疑难解答?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-06 22:51