Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Trustwave and Cybereason Merge to Form Global MDR Powerhouse for Unparalleled Cybersecurity Value. Learn More

Services
Managed Detection & Response

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

Co-Managed SOC (SIEM)

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

Advisory & Diagnostics

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

Penetration Testing

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

Database Security

Prevent unauthorized access and exceed compliance requirements.

Email Security

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

Digital Forensics & Incident Response

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

Firewall & Technology Management

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

Solutions
BY TOPIC
Microsoft Security
Unlock the full power of Microsoft Security
Offensive Security
Solutions to maximize your security ROI
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...

HOWTO: How do I lower the Receiver socket timeout value?

Expand / Collapse


This article applies to:

  • Trustwave MailMarshal (SEG) 6.X and above

Question:

  • How do I lower the Receiver socket timeout value?

Symptoms:

  • Receiver threads are held open by inactive connections.

Causes:

Sometimes inactive connections to the MailMarshal Receiver will tie up so many Receiver threads that availability may become an issue.  In addition, half-open TCP connections will not show as open threads within MailMarshal, so that from an administrator's point of view, MailMarshal may run out of available Receiver threads before it has actually hit its limit (as defined in Server Properties).

It is possible to lower the default timeouts on inactive Receiver threads so that they become available for use more quickly.

  • In MailMarshal 6.X the default value is 300 seconds (5 minutes). 
  • In MailMarshal 7.X and above the default value is 30 seconds. This value is also set when you upgrade to 7.X.

We recommend that you do not drop this setting below 30 seconds in case legitimate threads get dropped. Also, if your Internet connection is slow, you may need to use a higher value.

Procedure:

In current versions of SEG/MailMarshal, you can change this value from the Configurator or MailMarshal (SEG) 10 Management Console (MailMarshal Properties > Receiver > Advanced > Socket time out).

Workaround for earlier versions:

In earlier versions where this setting is not available in the Configurator, you can change the value by editing the Registry.

Warning: Using the Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Trustwave cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Make sure that you backup your Registry prior to making any changes.

  • Open the Registry Editor on the Array Manager.
  • Go to the MailMarshal \Default\Receiver key
    • For full details of the location for each version, see article Q10832.
  • Add a new DWORD value named SocketTimeout.
  • Set the value to the required timeout in seconds. Use Decimal numbers to avoid confusion.  
  • Commit the configuration changes and restart the MailMarshal Receiver service on each node.

If you need to test the timeout value, simply Telnet to the MailMarshal Receiver service on port 25. Allow the Telnet session to idle and time how long it takes the Receiver to drop your connection.

This article was previously published as:
NETIQKB44754

To contact Trustwave about this article or to request support:


Rate this Article:
     
Tags:

Add Your Comments


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