« Previous Next »

Thread: Problem with ApplicationPools

Last post 12-16-2008 1:18 PM by fadi89. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 12-14-2008, 11:14 AM

    • fadi89
    • Not Ranked
    • Joined on 07-27-2008, 6:28 AM
    • Posts 10

    Problem with ApplicationPools

    Hi,

      Lately (for the last 4-6 days) I have started experiencing problem with my websites running on IIS7.

     My websites running on Application Pools based on .net 2.0 (integrated and/or classic mode) seem to get 'stuck'. They will load all other pages properly but the page that gets 'stuck' all the links on that page stop responding. For example, if I clear spam comments in WordPress 2.7 based blog, the first bulk deletion works properly, the second bulk deletion just reloads the previous poage without performing any action. This also happens in .Net based Applications hosted on the same server. Recycling the pool solves the problem, but another change in the apps and the application pool has to be recycled again. I created new application pool and same thing happens with it.

    Server has these specs: Windos Server 2008 Enterprise, MSSQL 2k, MSSQL 2k5, MySQL5, PHP, .NET 1.1, .NET 2.0, Perl.

    Any ideas what might be going wrong?

    Regards,

    Fadi

  • 12-14-2008, 5:06 PM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 3:28 PM
    • Redmond
    • Posts 503

    Re: Problem with ApplicationPools

    Can you turn on Request Tracing for the request that gets stuck and see if something suspicious happens?

     http://learn.iis.net/page.aspx/266/troubleshooting-failed-requests-using-tracing-in-iis7/

     

    Thomas Deml
    Program Manager
    Internet Information Services
    Microsoft Corp.
  • 12-15-2008, 5:17 AM In reply to

    • fadi89
    • Not Ranked
    • Joined on 07-27-2008, 6:28 AM
    • Posts 10

    Re: Problem with ApplicationPools

    The problem is that this behavior is totally random !! I have FRT enabled for 500 errors, but no failed request log is generated (I checked this again just to be sure)
  • 12-15-2008, 11:44 AM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 3:28 PM
    • Redmond
    • Posts 503

    Re: Problem with ApplicationPools

    Do you see anything in the request logs? Why don't you set FRT to timeout trigger when a request takes longer than say 30 seconds. If that doesn't trigger a log file the request probably never arrives in IIS.

     

    Thomas Deml
    Program Manager
    Internet Information Services
    Microsoft Corp.
  • 12-16-2008, 7:50 AM In reply to

    • fadi89
    • Not Ranked
    • Joined on 07-27-2008, 6:28 AM
    • Posts 10

    Re: Problem with ApplicationPools

     Well, I think i couldnt get my point across... The page "loads" but its not the desired one. Its like this (this is just one example of wordpress, other .NET applications like DNN also suffer from same problem)

    1. I goto "Comments" -> "Spam"

    2. select all the spam messages and use the 'Bulk Action' -> "Delete"

    3. the comments are deleted and a message "xx comments deleted successfully" appears at the top.

    4. I click on "Comments" -> "Pending" (legitimate comments I want to approve for example)

    5. Page "loads" as if it was a normal load but I am still on the spam page with message "xx comments deleted successfull" at the top. No matter where I want to go within this edit-comments.php I get this page.

    6. If i try to goto the WordPress Dashboard, it loads normally.

    7. I goto "Comments" again and the spam page with "xx comments deleted successfully" keeps appearing.

    8. Either if I wait for sometime or recycle the Application Pool and then go to this page, the problem is solved.

     The twist is that this doesnt happen every time !!

    I still enabled FRT for time-taken = 30 secs and no log file generated. (Maybe because the page gets loaded within 30 seconds... its just that its out of the cache or something ??)

  • 12-16-2008, 11:05 AM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 3:28 PM
    • Redmond
    • Posts 503

    Re: Problem with ApplicationPools

    If no log file is generated the request probably never arrived in IIS.

     You could try with Fiddler and see if it is a browser issue.

     

    Thomas Deml
    Program Manager
    Internet Information Services
    Microsoft Corp.
  • 12-16-2008, 11:09 AM In reply to

    • fadi89
    • Not Ranked
    • Joined on 07-27-2008, 6:28 AM
    • Posts 10

    Re: Problem with ApplicationPools

    I have tried multiple browsers (IE7, FF3, GoogleChrome) with same results. And if it is not IIS7 / AppPool related, then why it gets solved when AppPool is recycled ?
  • 12-16-2008, 12:21 PM In reply to

    Re: Problem with ApplicationPools

    fadi89:
    And if it is not IIS7 / AppPool related, then why it gets solved when AppPool is recycled ?
     

    This could very easily be an application issue. When you recycle a app pool you basically reset afresh so in that state the app will work fine again. If the app is causing a problem then you have to recycle it is all fine again until the app leak memory, etc, etc.

    How is it loading up wrong pages?

    Separate files or pages as part of a query string asp or .NET?

    If it is displayed is based on code then I am sure how it can be an IIS issue. Most likely it is the application. I haven't used it but I imagine WordPress is now complex application (almost like middleware) and could be bugged in the way your WordPress and its configuration interfaces with IIS 7 configuration? So this is an app support issue.

  • 12-16-2008, 1:18 PM In reply to

    • fadi89
    • Not Ranked
    • Joined on 07-27-2008, 6:28 AM
    • Posts 10

    Re: Problem with ApplicationPools

    Well that makes sense too... I'll run all applications (DNN and WordPress) in their own separate AppPools to see if it is application related or AppPool related. Thanks

     

    Regards

Page 1 of 1 (9 items)
Microsoft Communities