NSE's are not processing in a timely fashion, or need to move files out of EventQueue.
Note: This document covers queue performance in SMP 8.5 and higher.
Module: w3wp.exe
Source: Altiris.NS.EventRouter.ProcessAgentHttpPostEvent
Description: Event not processed. IP: -.-.-.-; Error description: Altiris.NS.EventRouter+ServerBusyException: Queue was full.
at Altiris.NS.EventRouter.<>c__DisplayClass3.<RegisterDelivery>b__0(IDatabaseContext ctx)
ITMS 8.5
Note: The following values are given as an example and they are not the ideal values since each environment may need a different set of values. The general rule here is not to go too high at once, and in most cases, you may not need to change the entries the all.
< customSetting key="MaxConcurrentFastMsgsThreadPoolSize" type="local" value="20" /> (default is 16)
< customSetting key="MaxConcurrentSlowMsgsThreadPoolSize" type="local" value="10" /> (default is 4)
5. 8.5 RU1 or earlier only - drop foreign key
Note: Skip this step if on 8.5 RU2 or a newer release
--Run this query first to drop foreign key (for versions older than 8.5RU2)
IF EXISTS (SELECT * FROM sys.foreign_keys WHERE object_id = OBJECT_ID(N'[dbo].[FK_EventQueueEntryMetaData_EventQueueEntry]') AND parent_object_id = OBJECT_ID(N'[dbo].[EventQueueEntryMetaData]'))
ALTER TABLE [dbo].[EventQueueEntryMetaData] DROP CONSTRAINT [FK_EventQueueEntryMetaData_EventQueueEntry]
GO
Note: in the 8.5 RU2 or older releases, the constraint has been removed by default and does not need to be re-created.
6. Run the following queries to truncate these tables to clear the event and merge tables:
--truncate the following tables
truncate table eventqueue
truncate table eventqueueentry
truncate table [EventQueueEntryMetaData]
truncate table eventqueueprocess
--only if it has stale data
truncate table eventqueuestatus
--only if it has stale data
--validate that they are empty
select * from eventqueue
select * from eventqueueentry
select * from EventQueueEntryMetaData
select * from EventQueueProcess
select * from EventQueueStatus
7. Restart the SMP services:
8. Start the IIS service (World Wide Publishing Service)
9. Move the previously saved NSE's to the EvtInbox or delete them depending on retention requirements.
10. Add an exclusion rule, in your Antivirus software, for the .nse text files or the EvtQueue folder.
Old article title: Increasing Queue processing performance in SMP 8.5 and later