Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 28504

IIS Application Restarts unexpectedly

$
0
0

In our production environment, we have setup a WebFarm of 14 web servers.
We have noticed a very frequent restart of IIS web application (average 80 times a day for various servers). This is observed by installing the AppDynamics on 5 out of 14 servers.

The event viewer has no specific information other than the unexpected event of restarting of the server. The details of the event viewer entries can be found below.

Also at the bottom of the event details, we have put the detail settings of the application pool. Hope this will help in finding the solution quicker.

This results in severe performance setback for our customers. Please advise the next step in troubleshooting the issue further.

 

Application Log Details

Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          10-May-13 10:22:13 AM
Event ID:      1305
Task Category: Web Event
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      XXXXXXXXXXXXXXXXXXX
Description:
Event code: 1001
Event message: Application is starting.
Event time: 10/05/2013 05:52:13
Event time (UTC): 10/05/2013 04:52:13
Event ID: 62c2a98a73d2449e887e7f56b642e0ea
Event sequence: 1
Event occurrence: 1
Event detail code: 0 
 
Process information:
    Process ID: 2972
    Process name: w3wp.exe
    Account name:XXXXXXXXXXXXXXX
 
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="16384">1305</EventID>
    <Level>4</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-05-10T04:52:13.000000000Z" />
    <EventRecordID>1484426</EventRecordID>
    <Channel>Application</Channel>
    <Computer>XXXXXXXXXXXXXXXXXX</Computer>
    <Security />
  </System>
  <EventData>
    <Data>1001</Data>
    <Data>Application is starting.</Data>
    <Data>10/05/2013 05:52:13</Data>
    <Data>10/05/2013 04:52:13</Data>
    <Data>62c2a98a73d2449e887e7f56b642e0ea</Data>
    <Data>1</Data>
    <Data>1</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/7/ROOT-1-130126351137503515</Data>
    <Data>Full</Data>
    <Data>/</Data>
    <Data>D:\Inetpub\XXXXXXXXXXX</Data>
    <Data>XXXXXXXXXXXX</Data>
    <Data>
    </Data>
    <Data>2972</Data>
    <Data>w3wp.exe</Data>
    <Data>XXXXXXXXXXXXXX</Data>
  </EventData>
</Event>

Application Pool Settings

 

# General Setting

"Update General Settings"

$appPool.enable32BitAppOnWin64 = "False"

$appPool.queueLength = 9000

$appPool.autoStart = "True"

 

# CPU

"Update CPU Settings"

$appPool.cpu.limit = 0

$appPool.cpu.action = "NoAction"

$appPool.cpu.resetInterval = [TimeSpan]::FromMinutes(5)

$appPool.cpu.smpAffinitized = "False"

$appPool.cpu.smpProcessorAffinityMask = 4294967295

 

# ProcessModel

"Update Process Model Settings"

$appPool.ProcessModel.idleTimeout = [TimeSpan]::FromSeconds(0)

$appPool.ProcessModel.loadUserProfile = "False"

$appPool.ProcessModel.maxProcesses = 1

$appPool.ProcessModel.pingingEnabled = "True"

$appPool.ProcessModel.pingResponseTime = [TimeSpan]::FromSeconds(600)

$appPool.ProcessModel.pingInterval = [TimeSpan]::FromSeconds(600)

$appPool.ProcessModel.shutdownTimeLimit = [TimeSpan]::FromSeconds(90)

$appPool.ProcessModel.startupTimeLimit = [TimeSpan]::FromSeconds(600)

 

# Process Orphaning

"Update Process Orphaning Settings"

$appPool.failure.orphanWorkerProcess = "False"

 

# Rapid Fail Protection

"Update Rapid Fail Protect Settings"

$appPool.failure.loadBalancerCapabilities = "HttpLevel"

$appPool.failure.rapidFailProtection = "False"

$appPool.failure.rapidFailProtectionInterval = [TimeSpan]::FromMinutes(5)

$appPool.failure.rapidFailProtectionMaxCrashes = 5

 

# Recycling

"Update Recycle Settings"

$appPool.recycling.disallowOverlappingRotation = "False"

$appPool.recycling.disallowRotationOnConfigChange = "False"

$appPool.recycling.logEventOnRecycle = "ConfigChange,IsapiUnhealthy,OnDemand,Schedule"

$appPool.recycling.periodicRestart.privateMemory = 0

$appPool.recycling.periodicRestart.time = [TimeSpan]::FromSeconds(0)

$appPool.recycling.periodicRestart.privateMemory = 0

$appPool.recycling.periodicRestart.memory = 0


Viewing all articles
Browse latest Browse all 28504

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>