由于为该应用程序池提供服务的进程中出现一系列故障,应用程序池将自动禁用

时间:2014-04-08 19:19:48

标签: asp.net

此网站托管共享托管'Windows Server 2012',该网站停止工作,并给我一般“服务不可用”错误。我联系了他们所说的支持"Currently, your site is working fine. You have availed additional Application pool memory for your site. When the application memory allocated to the site reaches to the maximum limit your site will stop. In this case, you will need to check the script/code of your VPS. We have attached logs for this matter along with this response.",现在网站一次又一次地下降。此外,我检查了网站文件,发现很多文件都有一个奇怪的名字,我对它们一无所知!!请帮我解决这个问题。

这是日志文件所说的:

Application pool 'sceryemen.com v4.0 (Classic)' is being automatically disabled due to a series of failures in the process(es) serving that application pool.

Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          4/8/2014 2:22:04 AM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      Accu17.denver.wehostwebsites.com
Description:
Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 4/8/2014 2:22:04 AM 
Event time (UTC): 4/8/2014 8:22:04 AM 
Event ID: a1d9a08b129642d8afd284051089ca09 
Event sequence: 1394 
Event occurrence: 4 
Event detail code: 0 

Application information: 
    Application domain: /LM/W3SVC/280/ROOT-1-130414157749022422 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\HostingSpaces\sceryeme\sceryemen.com\wwwroot\ 
    Machine name: ACCU17 

Process information: 
    Process ID: 23016 
    Process name: w3wp.exe 
    Account name: ACCU17\sceryemencom_web 

Exception information: 
    Exception type: HttpException 
    Exception message: A potentially dangerous Request.Path value was detected from the client (&).
   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



Request information: 
    Request URL: http://sceryemen.com/assets/js/flexdropdown.jsbin/getcdndnsAAT2g62JNXAW3zxZ&video_id=LDrkWJpO2XA 
    Request path: /assets/js/flexdropdown.jsbin/getcdndnsAAT2g62JNXAW3zxZ&video_id=LDrkWJpO2XA 
    User host address: 50.57.104.33 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: ACCU17\sceryemencom_web 

Thread information: 
    Thread ID: 27 
    Thread account name: ACCU17\sceryemencom_web 
    Is impersonating: False 
    Stack trace:    at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Custom event details: Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ASP.NET 4.0.30319.0" />
    <EventID Qualifiers="32768">1309</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-04-08T08:22:04.000000000Z" />
    <EventRecordID>1448969</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Accu17.denver.wehostwebsites.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>4/8/2014 2:22:04 AM</Data>
    <Data>4/8/2014 8:22:04 AM</Data>
    <Data>a1d9a08b129642d8afd284051089ca09</Data>
    <Data>1394</Data>
    <Data>4</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/280/ROOT-1-130414157749022422</Data>
    <Data>Full</Data>
    <Data>/</Data>
    <Data>C:\HostingSpaces\sceryeme\sceryemen.com\wwwroot\</Data>
    <Data>ACCU17</Data>
    <Data>
    </Data>
    <Data>23016</Data>
    <Data>w3wp.exe</Data>
    <Data>ACCU17\sceryemencom_web</Data>
    <Data>HttpException</Data>
    <Data>A potentially dangerous Request.Path value was detected from the client (&amp;).
   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)

</Data>
    <Data>http://sceryemen.com/assets/js/flexdropdown.jsbin/getcdndnsAAT2g62JNXAW3zxZ&amp;video_id=LDrkWJpO2XA</Data>
    <Data>/assets/js/flexdropdown.jsbin/getcdndnsAAT2g62JNXAW3zxZ&amp;video_id=LDrkWJpO2XA</Data>
    <Data>50.57.104.33</Data>
    <Data>
    </Data>
    <Data>False</Data>
    <Data>
    </Data>
    <Data>ACCU17\sceryemencom_web</Data>
    <Data>27</Data>
    <Data>ACCU17\sceryemencom_web</Data>
    <Data>False</Data>
    <Data>   at System.Web.HttpRequest.ValidateInputIfRequiredByConfig()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)
</Data>
  </EventData>
</Event>

1 个答案:

答案 0 :(得分:3)

不涉及代码更改的简单方法是在托管此应用程序的应用程序池上关闭Rapid Fail Protection。 IIS将最大故障率默认为30分钟到30之后。之后,您的应用程序池将关闭并获得503.关闭Rapid Fail Protection至少会使您超出应用程序而终止该进程。