Setting Up Application Timeouts

On application running, taking into account various factors, it could be necessary to change request or response timeouts by any part of the system being developed. The application standard configuration includes the following elements: DBMS server, BI server, web server and web application, client computer.

See below timeout setup description for each element. There are no settings at the client's station level. DBMS server is set up according to documentation for the DBMS in use. The following timeout settings can be additionally specified:

BI server settings are specified in registry or in the Settings.xml file.

In the key [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\9.0\PP\BIS\System\Session] or in the corresponding section of the Settings.xml file, in the TimeoutSec parameter the request timeouts to repository and its objects are set. Time is set in seconds, by default - 1800 seconds (30 minutes). When timeout expires, session with repository will be closed.

Web application settings are specified in the PP.xml file:

  1. Request execution timeouts sent to BI server are set in milliseconds in the timeout parameter of the service section:

<pp>

    <service url="…" timeout="60000" />

</pp>

Request timeout depends on the network infrastructure in use, on request execution and responses speed from DBMS, extracted data size.

  1. BI server timeout connection is set in milliseconds in the ping parameter of the metabase section:

<pp>

    <service url="…" timeout="60000" />

    <metabase id="…" ping=”120000”/>

</pp>

Internet Information Server web server settings:

  1. Timeout for web application requests from client is set in the timeout parameter in the web.config web application configuration file (file is in the web application folder, in the config subfolder):

<configuration>

  <system.web>

    <sessionState

      mode="InProc"

      cookieless="true"

      timeout="30" />

  </system.web>

</configuration>

  1. Web application pool timeouts for client requests is set in pool additional settings, in the Internet Information Server interface:

See also:

System Settings of Foresight Analytics Platform