IIS 5 & IIS 6
"Application Starting" reported on every click
Last post Mar 12, 2009 05:05 AM by Paul Lynch
Feb 23, 2009 06:11 AM|davidiusk|LINK
We have a website setup that in ASP. On Windows Server 2003 on a new server with new install of Windows and it’s all up to date. Each page seems to open fine, the user can see the result of what they clicked on, but it is incredibly slow. Looking into it
It’s designed to hold all the data in memory, so recycling is turned off. It starts up fine and then the w3wp.exe worker process seems to reset itself. Normally it would stay at about 50MB in memory, but it drops down to 3-5Mb.
Each time a user clicks on a navigation item it records Application starting... in the system log. Also for each user click the following is recorded in the Windows Security Log.
Event Type: Failure Audit
Event Source: Security
Event Category: Logon/Logoff
Event ID: 534
Time: 2:45:47 PM
User: NT AUTHORITY\SYSTEM
Reason: The user has not been granted the requested
logon type at this machine
User Name: IUSR_SERVERNAME
Logon Type: 8
Logon Process: Advapi
Authentication Package: Negotiate
Workstation Name: SERVERNAME
Caller User Name: NETWORK SERVICE
Caller Domain: NT AUTHORITY
Caller Logon ID: (0x0,0x3E4)
Caller Process ID: 4684
Transited Services: -
Source Network Address: -
Source Port: -
Feb 23, 2009 07:14 AM|tomkmvp|LINK
IUSR needs to have the Windows user right to logon locally. Sounds like someone changed that.
Feb 24, 2009 05:44 AM|davidiusk|LINK
I looked at that, I found it was not explicity denied. I had a look at the test server and the same there so to test it I added the IUSR account to "Deny log on locally" and there were no adverse effects.
Feb 26, 2009 04:01 AM|davidiusk|LINK
On our test server I cannot replicate the issue by restricting behaviour of the IUSR account. I wonder if it's worth un-installing and re-installing the app and IIS?
Mar 02, 2009 03:11 AM|Andrew Zhu - MSFT|LINK
the user can see the result of what they clicked on, but it is incredibly slow.
It’s designed to hold all the data in memory
According to your description, it seems there is too much data to display so that the page display slow. Have you considered pagination? pagination may solve this problem for you.
If you have anything new, please post here.
Mar 02, 2009 03:48 AM|davidiusk|LINK
IIS holds all the data in memory, not the client. when a user clicks on something the client is only send the data that page will ultimately contain, usually a couple of K. If the user opens a report that is very long they can be sent the first 20 rows
or so. But that's never been a problem, even on the much older test server.
Mar 11, 2009 01:53 PM|davidiusk|LINK
After updating the Oracle driver it would seem that the website works, in a way. It would seem able to reproesent the report - dicing of the data in one way. but after that the w3wp.exe process seems to restart. browsing another item or hitting refresh results
in the whole thing being loaded into memory again.
Are there any services that have to be running to enable IIS to hang on to it's data, the Local security also looks OK, what about the Group Policy?
Mar 12, 2009 05:05 AM|Paul Lynch|LINK
Are there any services that have to be running to enable IIS to hang on to it's data
Yes, the worker process (w3wp.exe) needs to be running if you wish to maintain in-process session data. What you need to do is work out why your application pool is re-starting. I'd start by enabling Application Pool recycle event logging, which should give
you some clue as to why this is happening :
Application Pool Recycle Event Logging