« Previous Next »

Thread: Intermittent HTTP 500.19 error

Last post 07-02-2009 7:15 PM by steve schofield. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 06-26-2009, 12:26 PM

    • brian44
    • Not Ranked
    • Joined on 06-26-2009, 3:57 PM
    • Posts 3

    Intermittent HTTP 500.19 error

    Hi,

    We are currently running a Windows web server with approximately 250 sites and are recieving an intermittent 500.19 error, which affects a random selection of sites, and it affects ASP, ASP.NET and sites with naked HTML.

    We see the following error when we view an effected site (apologies for munging):

     Server Error ============ Internet Information Services 7.0 Error Summary HTTP Error 500.19 - Internal Server Error ----------------------------------------- The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code 0x80070038 Config Error Cannot read configuration file Config File \\?\UNC\10.0.3.25\home\domain.co.uk\public_html\web.config Requested URL http://domain.co.uk:80/ Physical Path \\10.0.3.25\home\domain.co.uk\public_html Logon Method Not yet determined Logon User Not yet determined Config Source -1: 0: Links and More Information This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error. [1]View more information » 1. http://go.microsoft.com/fwlink/?LinkID=62293&IIS70Error=500,19,0x80070038,6001

    This is often accompanied in the event log with an event with the message : 

    Could not load all ISAPI filters for site 'DOMAIN.CO.UK'.  Therefore site startup aborted

    I've previously seen a similar error reported at the link below, but this does not seem to help us as changing the MaxCmds registry entry seemingly has no effect.
    http://forums.iis.net/t/1157405.aspx

     The web server is Windows Server 2008 and the UNC share is a RHEL box with samba, site authentication is set to a specific domain user, asp impersonation is enabled, and all sites have individual application pools with their identity configured to the specific domain user.

    When we run Network Monitor, we seem to find packets indicating that Windows has failed to send packets it's requested a response from for an affected site, however the network is running at 30-50% of available bandwidth and very occasional TCP sacks seem to be unrelated to this problem.

     I would appreciate if any one could point me in the right direction.

  • 06-26-2009, 12:45 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Intermittent HTTP 500.19 error

    http://technet.microsoft.com/en-us/library/dd296694(WS.10).aspx talks about how to tune the various smb parameters to match your load - of course the unc server side of the instructions will not apply since you are not using a windows server for that, but you would probably need to find similar instructions for samba.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 06-27-2009, 6:31 AM In reply to

    • brian44
    • Not Ranked
    • Joined on 06-26-2009, 3:57 PM
    • Posts 3

    Re: Intermittent HTTP 500.19 error

    Thanks Anil for your help, however I am still confused on a couple of points:

    a) Is the  HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters\ MaxCmds registry key valid for Windows server 2008? Does it require a reboot of the computer?

    b) samba default configuration is by default very high and set to the maximum allowable limits by the OS. The broken SMB packets seem to be originating from the web server. Is it possible that we are hitting the maximum limit for supported web sites?

     

  • 06-27-2009, 10:20 PM In reply to

    Re: Intermittent HTTP 500.19 error

    Yes - It's applicable to IIS 7.

    http://technet.microsoft.com/en-us/library/dd296694(WS.10).aspx

    Dealing with a non-Windows OS as a UNC content is almost always more interesting than a windows backend when it comes to tuning.   This article is a good starter.

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
  • 07-02-2009, 7:04 AM In reply to

    • brian44
    • Not Ranked
    • Joined on 06-26-2009, 3:57 PM
    • Posts 3

    Re: Intermittent HTTP 500.19 error

    Many thanks to both Anil and Steve. The root cause for the prevailing intermittent HTTP 500 error did appear to be that the MaxCmds registry setting is by default too low. To alleviate the issue, I created the MaxCmds dword, gave it a higher value, rebooted the web server and set the max mux configuration setting in samba to the same setting.

  • 07-02-2009, 7:15 PM In reply to

    Re: Intermittent HTTP 500.19 error

    Thanks for posting the solution and / or workaround.  I'll add this to my tag of UNC connections.

    http://weblogs.asp.net/steveschofield/archive/tags/UNC/default.aspx

    Steve Schofield
    Windows Server MVP - IIS
    http://weblogs.asp.net/steveschofield


    http://www.IISLogs.com
    Log archival solution
    Install, Configure, Forget
Page 1 of 1 (6 items)
Microsoft Communities