EventQueueFull and Unexpected failure in client dispatcher. It will attempt to restart in 1 minute.

Article:TECH197884  |  Created: 2012-10-04  |  Updated: 2012-10-04  |  Article URL http://www.symantec.com/docs/TECH197884
Article Type
Technical Solution


Environment

Issue



The EventQueue is full and warnings appear in the Altiris Logs: Unexpected failure in client dispatcher.  It will attempt to restart in 1 minute.


Error



"Unexpected failure in client dispatcher.  It will attempt to restart in 1 minute.

 ( Exception Details: System.NotSupportedException: The number of WaitHandles must be less than or equal to 64.
   at System.Threading.WaitHandle.WaitAny(WaitHandle[] waitHandles, Int32 millisecondsTimeout, Boolean exitContext)
   at System.Threading.WaitHandle.WaitAny(WaitHandle[] waitHandles, TimeSpan timeout, Boolean exitContext)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.DispatchLoop(Object param) )
( Exception logged from:
   at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
   at Altiris.NS.ClientMessaging.EventQueueDispatcher.DispatchLoop(Object param)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)
)

( Extra Details:  Type=System.NotSupportedException Src=mscorlib )","Altiris.NS.ClientMessaging.EventQueueDispatcher.DispatchLoop","AeXSvc


Environment



Symantec Management Platfrom 7.1 Sp2


Cause



The Client Message Dispatcher worked thread pool is limited to 64 threads in total.


Solution



1. Make a backup of the C:\ProgramData\Symantec\SMP\Settings\CoreSettings.config file.

2. Edit the CoreSettings.config file and set the following settings to these or lower values:

<customSetting key="MaxConcurrentPriorityMsgsThreadPoolSize" type="local" value="10" />

<customSetting key="MaxConcurrentFastMsgsThreadPoolSize" type="local" value="30" />

<customSetting key="MaxConcurrentSlowMsgsThreadPoolSize" type="local" value="10" />

3. Restart the Altiris Service.




Article URL http://www.symantec.com/docs/TECH197884


Terms of use for this information are found in Legal Notices