Usage Note 45424: Setting a time-out limit for queries that are submitted by SAS® Web Report Studio
By default, queries that are submitted by SAS Web Report Studio run until completion regardless of the complexity and amount of time that is required for the process to complete. However, there are cases in which you might want to limit the time for these queries.
To set a time-out limit for queries, add the following argument to the Java Virtual Machine (JVM) arguments for your Web application server:
-DSASQueryServices.sasSubmitTimeout=milliseconds
The time-out is in specified in milliseconds. For example, to limit all queries that are submitted by SAS Web Report Studio to 120 minutes, use this argument:
-DSASQueryServices.sasSubmitTimeout=1200000
After you make this change, restart your Web application server.
If a query exceeds the time-out, a message similar to the following appears in the log:
Execution exceeded the maximum time allowed of xxxx milliseconds
As a general rule, set the value for sasSubmitTimeout to 75% of the value for the SAS Web Report Studio session time-out.
Operating System and Release Information
SAS System | SAS Web Report Studio | z/OS | 4.2 | | | |
Microsoft® Windows® for x64 | 4.2 | | | |
Microsoft Windows 95/98 | 4.2 | | | |
Microsoft Windows 2000 Advanced Server | 4.2 | | | |
Microsoft Windows 2000 Datacenter Server | 4.2 | | | |
Microsoft Windows 2000 Server | 4.2 | | | |
Microsoft Windows 2000 Professional | 4.2 | | | |
Microsoft Windows NT Workstation | 4.2 | | | |
Microsoft Windows Server 2003 Datacenter Edition | 4.2 | | | |
Microsoft Windows Server 2003 Enterprise Edition | 4.2 | | | |
Microsoft Windows Server 2003 Standard Edition | 4.2 | | | |
Microsoft Windows Server 2003 for x64 | 4.2 | | | |
Microsoft Windows Server 2008 | 4.2 | | | |
Microsoft Windows Server 2008 for x64 | 4.2 | | | |
Microsoft Windows XP Professional | 4.2 | | | |
Windows 7 Enterprise 32 bit | 4.2 | | | |
Windows 7 Enterprise x64 | 4.2 | | | |
Windows 7 Home Premium 32 bit | 4.2 | | | |
Windows 7 Home Premium x64 | 4.2 | | | |
Windows 7 Professional 32 bit | 4.2 | | | |
Windows 7 Professional x64 | 4.2 | | | |
Windows 7 Ultimate 32 bit | 4.2 | | | |
Windows 7 Ultimate x64 | 4.2 | | | |
Windows Millennium Edition (Me) | 4.2 | | | |
Windows Vista | 4.2 | | | |
Windows Vista for x64 | 4.2 | | | |
64-bit Enabled AIX | 4.2 | | | |
64-bit Enabled Solaris | 4.2 | | | |
HP-UX IPF | 4.2 | | | |
Linux for x64 | 4.2 | | | |
Solaris for x64 | 4.2 | | | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Date Modified: | 2012-08-17 12:31:31 |
Date Created: | 2012-01-18 13:54:01 |