MSMQ timeout

Enterprise Vault has a timeout value that limits the amount of time that services wait for responses from MSMQ. The occurrence of a timeout usually indicates a problem. However, a timeout can be expected to occur in a few cases, and so a reasonably short wait time is required for the component not to be idle for too long.

If you make the timeout value too short, systems that are heavily loaded can signal timeout errors because they have not had time to complete the request. On the other hand, if you make the timeout value too long, this can slow the overall throughput of Enterprise Vault because timeouts are expected in some circumstances.

The default timeout is 20 seconds, and the maximum value you can set is 300 seconds. If 300 seconds is not sufficient, you must do more investigation into your MSMQ and Enterprise Vault performance.

We recommend that you adjust the timeout value in small steps, such as five seconds, until you have a suitable value.

To change the timeout value

  1. Edit the registry on the computer that is running the Enterprise Vault Storage service.

  2. Edit, or if necessary add, the following DWORD value:

    HKEY_LOCAL_MACHINE 
     \SOFTWARE 
      \KVS 
       \Enterprise Vault 
    	\Storage 
    	 \QueueTimeout
    
  3. Set the value to the number of seconds to wait.

  4. Stop and restart the Storage service and Exchange Mailbox task.