25
votes
Accepted
Is running a nightly IISReset outdated?
I wouldn't consider it a good practice. When most people usually set up things like "nightly iisresets" or "nightly reboots," generally, it's because they are running an application that is poorly-...
- 55.3k
13
votes
Accepted
ApplicationPoolIdentity Environment variables IIS
Yes! (As long as you're using IIS 7.0+) You need to set the loadUserProfile setting for the Application Pool Identity to true. The Application Pool Identity will now have a user profile under \Users\[...
- 1,719
8
votes
Is running a nightly IISReset outdated?
Yes, totally outdated, in fact it was never ever required or good practice. If you had to do this there was something wrong with your application.
Recycling application pools is a much cheaper ...
- 13.9k
7
votes
IIS_IUSRS Can Access a File, but Application Pool Identity User Cannot
When using anonymous authentication by default IIS uses a specific user named IUSR to access files. This user is automatically a member of the Windows Users but not a member of IIS_IUSRS
If you ...
- 13.9k
7
votes
Accepted
Why is IIS allowing only 3 connections at the time?
According to Scott Forsyth's blog, this is a limit set by the Windows licensing team. Below is the information from his blog:
Windows Vista – IIS 7 Concurrent Requests Limit
| 3 | Home Basic (IIS ...
- 769
6
votes
Removing phantom applications from Application Pools in IIS7
This is probably safer and simpler than editing applicationHost.config.
Powershell
PS C:\Windows\system32> import-module WebAdministration
PS C:\Windows\system32> iis:
PS IIS:\> cd .\...
- 34.9k
5
votes
Where in the event log is the IIS AppPool recycling events being recorded?
Event viewer / Custom views / Server Roles / Web Server (IIS)
- 1,007
5
votes
Accepted
What is the effect of stopping an AppPool on currently executing requests?
Yes, stopping an AppPool (rather than killing its process) does also gracefully shut down the ApplicationPool, giving existing requests time to finish.
So the behavior is the same as for recycling ...
- 13.9k
5
votes
Accepted
How can I get the list of app pool using appcmd.exe
below command, get the list of the application pools:
%systemroot%\system32\inetsrv\AppCmd.exe list apppool
- 89
4
votes
Removing phantom applications from Application Pools in IIS7
There is an easy way to fix this.
Select the site with the Phantom applications in the application pool.
On the right side "Action" menu select "View Applications". This list should show all the ...
- 41
4
votes
Accepted
Will changing recycle times cause app pool to reset?
No, your update will not cause the application pool to reset. Modifying the specific times that an application pool recycles will not cause the application pool to immediately recycle. You can ...
- 56
4
votes
Accepted
IIS Stopping/Starting Application Pool
Every Application Pool is (normally) associated with one worker process named w3wp.exe
If the application pool becomes unresponsive, you can kill it. It doesn't affect any of the other application ...
- 13.9k
3
votes
Is running a nightly IISReset outdated?
I would like to offer an alternative view on this. Whilst I agree that you shouldn't do it because you are trying to solve an issue such as resource leaks, we randomly destroy machines during office ...
- 139
3
votes
Accepted
Why IUSR does not have any permission on wwwroot
If you look at the default permission for C:\inetpub\wwwroot:
BUILTIN\IIS_IUSRS:(RX)
BUILTIN\IIS_IUSRS:(OI)(CI)(IO)(GR,GE)
NT SERVICE\TrustedInstaller:(I)(F)
NT SERVICE\TrustedInstaller:(I)(OI)(CI)(...
- 13.9k
3
votes
Accepted
change default app pool identity for new sites
There’s a Set Application Pool defaults on the top right Actions Pane. However it will affect existing application pools if they are defaulted as well.
- 441
3
votes
Logging when ApplicationPool is started/stopped via Powershell
As long as you have IIS 7.5 or newer (see the note at the bottom), you can enable additional logging.
In Event Viewer, expand the "Application and Services Logs" section. Then expand "Microsoft, ...
- 1,794
2
votes
Warming up an IIS Application Pool automatically?
You can follow these steps:
Edit %WINDIR%\system32\inetsrv\config\applicationHost.config
In the <applicationPools> tag, find the relevant app pool of your site and add the attribute: startMode="...
- 21
2
votes
How Does One Test IIS7's OrphanWorkerProcess (along with OrphanActionExe and OrphanActionParams)?
Use Process Explorer from SysInternals. It has a feature to suspend a process allowing it to pause communication with WAS.
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
- 131
2
votes
Removing phantom applications from Application Pools in IIS7
Child applications aren't automatically deleted and the IIS Manager can't display them in the tree, so that's your problem...
A quick and robust way is to use a PowerShell script to get all ...
- 266
2
votes
500 Error when using custom account for application pool in IIS 7
In my environment, due to group policy settings, I wasn't allowed to change "impersonate a client after authentication" setting nor to add the app pool user local admins so I went looking ...
2
votes
When will an app pool with both time intervals and a specific time recycle?
On IIS 8.5 (Windows 8.1), I've just run the following test.
My start time is 11:04. I set the app pool to recycle at 11:06 (specific time), and also reset every 5 minutes (regular time interval).
...
- 131
2
votes
Are Application Pools Generally Larger In IIS 8.5 vs IIS 7.5?
We had the same symptoms during a transition from Server 2008 R2 and IIS 7.5 to Server 2012 R2 and IIS 8.5. Turns out in our situation it was a missed setting on new configuration in .NET Framework ...
- 21
2
votes
Configuring IIS to use multiple application pools for a single website
The only way to have multiple applications pools for one web sites on IIS is to split the site up into various applications, you always have the root application and potentially multiple application ...
- 13.9k
2
votes
Accepted
Why does assigning read and execute permissions to IIS_IUSRS grant access to NETWORK SERVICE?
Any account that is running an IIS application pool is automatically added to the IIS_IUSRS group during runtime.
Or more correctly, the security token for the IIS_IUSRS group is added to the ...
- 13.9k
1
vote
Why is IIS allowing only 3 connections at the time?
I didn't know there was a very low connection limit for non server OS, looks like that is the reason of my 3 connections limit.
Thanks @David Schwartz (see the question comments)
- 133
1
vote
Where in the event log is the IIS AppPool recycling events being recorded?
Just to test, I did enabled same options for an app pool and imediately Microsoft-IIS-Configuration/Operational registered some events stating that there have been made some changes to the application ...
- 11
1
vote
Why IUSR does not have any permission on wwwroot
Because the IUSR account is put in the users group by virtue of the NT Authority\Authenticated Users group.
Mostly these two exist for legacy reasons, but serve two distinct purposes.
The IUSR ...
- 5,587
1
vote
Accepted
App pool stopping and not logging any error
It turns out that the errors we were seeing were as a result of some patching that had occurred. A restart of the server resolved the issues.
- 183
1
vote
How to take memory dump when IIS Applicationpool recycles
Seems the best way to achieve taking a dump og the process as close to recycling as possible is using ProcDump
Command procdump -m -ma -s 10 c:\temp\PrivateBytesLimitReached.dmp
- 200
1
vote
Accepted
Why does IIS recycle my application pool every 15 minutes?
To answer your specific question, yes, you can view application pool recycle events in the Windows System event log. Filter for event source 'WAS'.
By default only the following recycle reasons are ...
- 1,253
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
application-pools × 222iis × 117
iis-7 × 55
iis-7.5 × 47
asp.net × 30
iis-6 × 28
windows-server-2008 × 22
windows × 15
windows-server-2008-r2 × 15
permissions × 13
windows-server-2003 × 12
worker-process × 11
iis-8.5 × 10
active-directory × 7
windows-server-2012 × 7
.net × 7
security × 6
memory-usage × 6
iis-8 × 6
sql-server × 5
process × 5
windows-server-2012-r2 × 4
virtualization × 4
authentication × 4
iis-10 × 4