« Previous Next »

Thread: Redirect causing Application Pool freeze

Last post 10-14-2009 10:05 PM by lextm. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 10-11-2009, 7:45 PM

    • bdun
    • Not Ranked
    • Joined on 10-11-2009, 11:33 PM
    • Posts 5

    Redirect causing Application Pool freeze

    I have 4 Rewrite rules trying to handle friendly URL's for a site but when they are enabled, the site eventually becomes unresponsive. If I manually recycle the app pool it starts up again.

    I have enabled FRT on the Urlrewrite module but don't really know what I need to be looking for that might be causing this.

    The server has 3.5 SP1 with the URLrewrite 1.1 module installed.

    There is a classic asp app running in a virtual directory in the root which may be related.

    Here are the rules. I have tried various alterations to conditions but this is the current state they are at (with enabled="true" when turned on obviously) 

    <rule name="RewriteUserFriendlyURL1" enabled="false" stopProcessing="true">
    <
    match url="^([^/]+)/?$" />
    <
    conditions logicalGrouping="MatchAll">
    <
    add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <
    add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    <
    add input="{URL}" negate="true" pattern="(jpg|png|gif|css|ashx|axd)$" />
    <
    add input="{URL}" negate="true" pattern="/admin/" />
    </
    conditions>
    <
    action type="Rewrite" url="ArticleShow.aspx?1st={R:1}" />
    </
    rule>

    <rule name="RewriteUserFriendlyURL2" enabled="false" stopProcessing="true">
    <
    match url="^([^/]+)/([^/]+)/?$" />
    <
    conditions logicalGrouping="MatchAll">
    <
    add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <
    add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    <
    add input="{URL}" negate="true" pattern="(jpg|png|gif|css|ashx|axd)$" />
    <
    add input="{URL}" negate="true" pattern="/admin/" />
    </
    conditions>
    <
    action type="Rewrite" url="ArticleShow.aspx?1st={R:1}&amp;2nd={R:2}" />
    </
    rule>

    <rule name="RewriteUserFriendlyURL3" enabled="false" stopProcessing="true">
    <
    match url="^([^/]+)/([^/]+)/([^/]+)/?$" />
    <
    conditions logicalGrouping="MatchAll">
    <
    add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <
    add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    <
    add input="{URL}" negate="true" pattern="(jpg|png|gif|css|ashx|axd)$" />
    <
    add input="{URL}" negate="true" pattern="/admin/" />
    </
    conditions>
    <
    action type="Rewrite" url="ArticleShow.aspx?1st={R:1}&amp;2nd={R:2}&amp;3rd={R:3}" />
    </
    rule>

    <rule name="RewriteUserFriendlyURL4" enabled="false" stopProcessing="true">
    <
    match url="^([^/]+)/([^/]+)/([^/]+)/([^/]+)?$" />
    <
    conditions logicalGrouping="MatchAll">
    <
    add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
    <
    add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    <
    add input="{URL}" negate="true" pattern="(jpg|png|gif|css|ashx|axd)$" />
    <
    add input="{URL}" negate="true" pattern="/admin/" />
    </
    conditions>
    <
    action type="Rewrite" url="ArticleShow.aspx?1st={R:1}&amp;2nd={R:2}&amp;3rd={R:3}&amp;4th={R:4}" />
    </
    rule>

  • 10-11-2009, 10:37 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,363

    Re: Redirect causing Application Pool freeze

    FRT is not for freezing cases. Consider using DebugDiag (http://support.microsoft.com/kb/919792)
    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 10-11-2009, 10:56 PM In reply to

    • bdun
    • Not Ranked
    • Joined on 10-11-2009, 11:33 PM
    • Posts 5

    Re: Redirect causing Application Pool freeze

    I was looking into deploying Debug Diag and the link contained the info i was looking for.

    Are there any simple loops that Url Rewriting can get into that I have over looked? or do you think this would be a case of monitoring the site and waiting for the crash dump?

  • 10-11-2009, 11:06 PM In reply to

    • bdun
    • Not Ranked
    • Joined on 10-11-2009, 11:33 PM
    • Posts 5

    Re: Redirect causing Application Pool freeze

    I just tried adding a Rule on the website, target type Web application pool but I am presented with a prompt: "This option is not available because DebudDiag.exe is 32-bit and IIS is running in 64-bit mode." Is there a way around this?
  • 10-11-2009, 11:15 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,363

    Re: Redirect causing Application Pool freeze

    Well, sounds like you are using a 64 bit server. Then DebugDiag cannot be used and it will take some effect to capture IIS hang dumps. Can you contact http://support.microsoft.com and open a support case? Regards,
    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 10-11-2009, 11:49 PM In reply to

    • bdun
    • Not Ranked
    • Joined on 10-11-2009, 11:33 PM
    • Posts 5

    Re: Redirect causing Application Pool freeze

    I've just tried to contact support but can't find anywhere to submit a report about IIS7 or Server 2008 Web so I guess I won't open a support case...
  • 10-12-2009, 5:02 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,363

    Re: Redirect causing Application Pool freeze

    I suggest you check out our contact phone numbers from support.microsoft.com and use your phone to create a case. In this way our representatives can assist you. But remember you need to provide valid information about your Microsoft product.
    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 10-14-2009, 5:32 PM In reply to

    • bdun
    • Not Ranked
    • Joined on 10-11-2009, 11:33 PM
    • Posts 5

    Re: Redirect causing Application Pool freeze

    It seems opening a support case is not an option. Is there really no way to debug application pool hangs on a 64-bit platform?
  • 10-14-2009, 10:05 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,363

    Re: Redirect causing Application Pool freeze

    ADPlus.vbs from Debugging Tools for Windows can be used to capture IIS hang dumps.

    http://support.microsoft.com/kb/286350/

    Remember to download the AMD64/x64 build. But for dump analysis, if you cannot do it yourself, opening a support case is a better way.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (9 items)
Microsoft Communities