Trustwave SpiderLabs Exposes Unique Cybersecurity Threats in the Public Sector. Learn More

Trustwave SpiderLabs Exposes Unique Cybersecurity Threats in the Public Sector. Learn More

Services
Capture
Managed Detection & Response

Eliminate active threats with 24/7 threat detection, investigation, and response.

twi-managed-portal-color
Co-Managed SOC (SIEM)

Maximize your SIEM investment, stop alert fatigue, and enhance your team with hybrid security operations support.

twi-briefcase-color-svg
Advisory & Diagnostics

Advance your cybersecurity program and get expert guidance where you need it most.

tw-laptop-data
Penetration Testing

Test your physical locations and IT infrastructure to shore up weaknesses before exploitation.

twi-database-color-svg
Database Security

Prevent unauthorized access and exceed compliance requirements.

twi-email-color-svg
Email Security

Stop email threats others miss and secure your organization against the #1 ransomware attack vector.

tw-officer
Digital Forensics & Incident Response

Prepare for the inevitable with 24/7 global breach response in-region and available on-site.

tw-network
Firewall & Technology Management

Mitigate risk of a cyberattack with 24/7 incident and health monitoring and the latest threat intelligence.

Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Microsoft Exchange Server Attacks
Stay protected against emerging threats
Rapidly Secure New Environments
Security for rapid response situations
Securing the Cloud
Safely navigate and stay protected
Securing the IoT Landscape
Test, monitor and secure network objects
Why Trustwave
About Us
Awards and Accolades
Trustwave SpiderLabs Team
Trustwave Fusion Security Operations Platform
Trustwave Security Colony
Partners
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Trustwave PartnerOne Program
Join forces with Trustwave to protect against the most advance cybersecurity threats
Loading...
Loading...

FIX: Reports time out on large sites due to SQL Command Timeout

Expand / Collapse


This article applies to:

  • Trustwave SPE (MailMarshal SPE) 3.X, 4.X

Symptoms

  • When running SPE reports (Customer Console or Administration Console), the SQL command times out

Cause:

  • The default database timeout for reports from the Admin Console is 60 seconds
  • The default database timeout for reports from the Customer Console is 300 seconds
  • When SPE runs the report query against SQL server, it will only wait for this default period for the data to return. If the data is not returned within this period, a timeout occurs.
  • This typically occurs when the SQL server does not have the resources to return the requested data in the default period.
  • Increasing the timeout gives the SQL server more time to return the data.

Resolution:

The underlying root cause for most report timeouts is the hardware and resources allocated to the SQL server. Allocating more RAM, faster disks and/or faster processors will reduce the time required for SQL to return the data to SPE, reducing the timeout occurrences.

  • You can increase the timeout by setting a registry entry.
  • The same entry affects both Admin Console and Customer Console report timeouts as well as other database operations.
  • To adjust the timeout, set the following Registry key on the servers running the Web Console and the Marshal Interface Agent (For SPE versions below 3.6, the servers running Web Console and Reporting Agent):

Path: HKey_Local_Machine\Software\Marshal\MailMarshalSPE\
or HKey_Local_Machine\Software\WOW6432Node\Marshal\MailMarshalSPE\
Key: DBCommandTimeout
Type: DWORD
Value: The DB command timeout in seconds (decimal)

Warning: Use due care when editing the Registry.

After making the required registry changes, you must do the following for the settings to take effect:

  1. Restart the Marshal Interface Agent Service (Reporting Agent Service in earlier versions)
  2. Restart the IIS Web Service
  3. Recycle the SPE Application Pool(s)

Note:

  • See also Q13891, Customer Console reports or import operations time out
  • The default was 30 seconds in SPE 2.0.3 and SPE 2.1.0. In SPE 2.1.1+, the default command timeout was increased to 60 seconds and the registry override was introduced.

 

 

 


To contact Trustwave about this article or to request support:


Rate this Article:
     

Related Articles



Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.