none
delay start aplicación web RRS feed

  • Pregunta

  • Buena noches,

    Tengo un problema con mi aplicación web, cuando la instalo en el hosting (godaddy), hay momentos donde la aplicación pasado 15 mint o algo más, entra como en un pequeño sleep, que tarda 30 segundos, la web deberia cargar en 2 o 3 seg. He hablado con varios de soporte, pero no tienen idea de lo que pasa, a alguien le ha ocurrido esto? es como si se durmiera el pool application pasado 15 mint. Les coloco mi web.config a ver si me pueden ayudar. 

    Saludos y gracias de ante mano.

    <?xml version="1.0"?>
    <configuration>
      <configSections>
          <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
      </configSections>
      <connectionStrings> 
        <add name="Aplicacionconeccion" connectionString="Data Source=xxxx;Initial Catalog=xxx; User ID=xxx;Password=xx; Packet Size=4096" providerName="System.Data.SqlClient"/>
      </connectionStrings>
      <system.web> 
        <compilation debug="false" targetFramework="4.0" optimizeCompilations="true"/>
        <httpModules>
          <remove name="PassportAuthentication"/>
          <remove name="Profile"/>
          <remove name="AnonymousIdentification"/>
          <remove name="FormsAuthentication" />
          <remove name="DefaultAuthentication" />
          <remove name="OutputCache" /> 
          <remove name="RoleManager" />
        </httpModules> 
        <httpRuntime  maxRequestLength="20000" enableVersionHeader="false"/>
        <customErrors mode="Off"/>
        <httpCookies httpOnlyCookies="true" requireSSL="false"/>
        <trace enabled="false" traceMode="SortByTime" localOnly="true"/>
        <sessionState timeout="3600" mode="InProc"/> 
        <authentication mode="Forms">
          <forms loginUrl="/Admin-web/Account/Login" timeout="12250" ticketCompatibilityMode="Framework40" slidingExpiration="true"/>
        </authentication>
        <caching>
          <sqlCacheDependency enabled="true">
            <databases>
              <add name="Depency" connectionStringName="Aplicacionconeccion" pollTime="500"/>
            </databases>
          </sqlCacheDependency>
          <outputCacheSettings>
            <outputCacheProfiles>
              <add name="CacheProfile1" duration="2000" enabled="true" location="Server"/>
            </outputCacheProfiles>
          </outputCacheSettings>
        </caching>
        <globalization culture="es-ES" uiCulture="es-ES" enableBestFitResponseEncoding="false" enableClientBasedCulture="false" fileEncoding="UTF-8" requestEncoding="UTF-8" responseEncoding="UTF-8" responseHeaderEncoding="UTF-8"/>
      </system.web>
      <appSettings>
        <add key="webpages:Version" value="2.0.0.0"/>
        <add key="webpages:Enabled" value="false"/>
        <add key="PreserveLoginUrl" value="true"/>
        <add key="ClientValidationEnabled" value="true"/>
        <add key="UnobtrusiveJavaScriptEnabled" value="true"/> 
      </appSettings> 
      <system.webServer> 
        <urlCompression doStaticCompression="true" doDynamicCompression="true" dynamicCompressionBeforeCache="true"/>
        <httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files" sendCacheHeaders="true" cacheControlHeader="max-age=31536000" dynamicCompressionDisableCpuUsage="90" staticCompressionDisableCpuUsage="90" dynamicCompressionEnableCpuUsage="0" staticCompressionEnableCpuUsage="0">
          <scheme name="gzip" dll="%Windir%\system32\inetsrv\gzip.dll" doStaticCompression="true" doDynamicCompression="true" dynamicCompressionLevel="10" staticCompressionLevel="10"/>
          <staticTypes>
            <add mimeType="text/*" enabled="true"/>
            <add mimeType="message/*" enabled="true"/>
            <add mimeType="application/javascript" enabled="true"/>
            <add mimeType="application/x-javascript" enabled="true"/>
            <add mimeType="application/json" enabled="true"/>
            <add mimeType="*/*" enabled="false"/>
          </staticTypes>
          <dynamicTypes>
            <add mimeType="text/*" enabled="true"/>
            <add mimeType="message/*" enabled="true"/>
            <add mimeType="application/javascript" enabled="true"/>
            <add mimeType="application/x-javascript" enabled="true"/>
            <add mimeType="application/json" enabled="true"/>
            <add mimeType="*/*" enabled="false"/>
          </dynamicTypes>
        </httpCompression>
        <staticContent>
          <clientCache cacheControlMode="UseMaxAge" httpExpires="365.00:00:00"/>
          <remove fileExtension=".js"/>
          <mimeMap fileExtension=".js" mimeType="text/javascript"/>
          <remove fileExtension=".css"/>
          <mimeMap fileExtension=".css" mimeType="text/css"/>
          <remove fileExtension=".svg"/>
          <mimeMap fileExtension=".svg" mimeType="image/svg+xml"/>
          <remove fileExtension=".svgz"/>
          <mimeMap fileExtension=".svgz" mimeType="image/svg+xml"/>
          <remove fileExtension=".eot"/>
          <mimeMap fileExtension=".eot" mimeType="application/vnd.ms-fontobject"/>
          <remove fileExtension=".ttf"/>
          <mimeMap fileExtension=".ttf" mimeType="application/x-font-ttf"/>
          <remove fileExtension=".ttc"/>
          <mimeMap fileExtension=".ttc" mimeType="application/x-font-ttf"/>
          <remove fileExtension=".otf"/>
          <mimeMap fileExtension=".otf" mimeType="font/opentype"/>
          <remove fileExtension=".woff"/>
          <mimeMap fileExtension=".woff" mimeType="application/font-woff"/>
          <remove fileExtension=".json"/>
          <mimeMap fileExtension=".json" mimeType="application/json"/>
          <remove fileExtension=".rss"/>
          <mimeMap fileExtension=".rss" mimeType="application/rss+xml; charset=UTF-8"/>
          <remove fileExtension=".html"/>
          <mimeMap fileExtension=".html" mimeType="text/html; charset=UTF-8"/>
          <remove fileExtension=".xml"/>
          <mimeMap fileExtension=".xml" mimeType="application/xml; charset=UTF-8"/>
        </staticContent>
      <httpProtocol>  
          <customHeaders>
             <remove name="X-Powered-By"/>
             <remove name="Server"/>
             <remove name="X-Powered-By-Plesk"/> 
            <add name="X-Frame-Options" value="SAMEORIGIN"/> 
            <add name="X-XSS-Protection" value="1; mode=block"/> 
            <add name="X-Content-Type-Options" value="nosniff"/> 
            <remove name="X-Powered-By"/>
            <remove name="cache-control"/>
            <add name="cache-control" value="public, max-age=31536000"/>         
            <remove name="expires"/>
            <add name="expires" value="Sat, 15 Apr 2018 18:46:41 GMT"/>         
            <remove name="ETAG"/>  
            <add name="ETAG" value=" "/>         
            <add name="X-UA-Compatible" value="IE=Edge"/> 
          </customHeaders>
        </httpProtocol> 
        <directoryBrowse enabled="false"/> 
        <validation validateIntegratedModeConfiguration="false"/>
        <modules runAllManagedModulesForAllRequests="true">
          <remove name="BundleModule"/>
          <add name="BundleModule" type="System.Web.Optimization.BundleModule"/>
          <remove name="WebDAVModule"/>
        </modules>
        <handlers>
          <remove name="WebDAV"/>
          <remove name="ExtensionlessUrlHandler-ISAPI-4.0_32bit"/>
          <remove name="ExtensionlessUrlHandler-ISAPI-4.0_64bit"/>
          <remove name="ExtensionlessUrlHandler-Integrated-4.0"/>
          <add name="ExtensionlessUrlHandler-ISAPI-4.0_32bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness32" responseBufferLimit="0"/>
          <add name="ExtensionlessUrlHandler-ISAPI-4.0_64bit" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" modules="IsapiModule" scriptProcessor="%windir%\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll" preCondition="classicMode,runtimeVersionv4.0,bitness64" responseBufferLimit="0"/>
          <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0"/>
        </handlers>
      </system.webServer>
      <entityFramework>
        <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework"/>
      </entityFramework>
      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    			<dependentAssembly>
    				<assemblyIdentity name="DotNetOpenAuth.Core" publicKeyToken="2780CCD10D57B246" culture="neutral"/>
    				<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0"/>
    			</dependentAssembly>
    			<dependentAssembly>
    				<assemblyIdentity name="DotNetOpenAuth.AspNet" publicKeyToken="2780CCD10D57B246" culture="neutral"/>
    				<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0"/>
    			</dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31BF3856AD364E35" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-4.0.0.1" newVersion="4.0.0.1"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Owin.Host.SystemWeb" publicKeyToken="31BF3856AD364E35" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-1.0.0.0" newVersion="1.0.0.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="itextsharp" publicKeyToken="8354AE6D2174DDCA" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-5.5.2.0" newVersion="5.5.2.0"/>
          </dependentAssembly> 
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="0.0.0.0-4.0.0.1" newVersion="4.0.0.1"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="1.0.0.0-2.0.0.0" newVersion="2.0.0.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="0.0.0.0-1.3.0.0" newVersion="1.3.0.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-2.6.8.0" newVersion="2.6.8.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-2.6.8.0" newVersion="2.6.8.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="itextsharp" publicKeyToken="8354ae6d2174ddca" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-5.5.2.0" newVersion="5.5.2.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="Microsoft.Owin.Host.SystemWeb" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
            <bindingRedirect oldVersion="0.0.0.0-1.0.0.0" newVersion="1.0.0.0"/>
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    </configuration>
    

    martes, 17 de mayo de 2016 2:27