Domino Mailbox Archiving Tasks will not complete scheduled archiving runs.

book

Article ID: 100050707

calendar_today

Updated On:

Description

Error Message

Due to the nature of this issue the symptoms may vary. 

  • The Archiving task status may stay in a 'Processing' state indefinitely or it may complete and go to a 'Running' state.
  • The mailbox archiving reports may or may not get updated in a timely fashion. When they are updated and completed, only a handful of mailboxes get processed.  The total number of items actually archived will be lower than expected. 
  • You may get intermittent 41163 Event ID's. 

 

Event ID: 41163 There was an error processing an item in a mailbox. The task will process the item again on the next archiving run.

Task: Domino Mailbox Archiving Task|Mailbox: 'DOM01/EVDOM!!mail\MUser1'-CN=Mail User1/OU=OU1/O=EVDOM@EVDOM|NoteID: 16b252|

Subject: Some Company- 31-May-2021|

Error: Out of memory in DomRTItem|Trace:    at DomRTItem.Create()|   at DomRTItem..ctor(DomNote Note, String sItemName)|   at KVS.EnterpriseVault.LotusDomino.Common.DominoShortcut.CreateAttachmentsList(LotusDominoMailboxPolicy policy, DomNote note, List`1 al)|   at KVS.EnterpriseVault.LotusDomino.Common.DominoShortcut.MakeShortcut(DomNote note, String rootId, String archiveId, String defaultRetCat, LotusDominoMailboxPolicy policy, String savesetID, List`1 attachList, Boolean bUsedCustomMIMEConversion, String sNoteUnid)|   at KVS.EnterpriseVault.LotusDomino.Common.DominoShortcut.Create(DomNote note, String archiveId, String rootId, String defaultRetCat, LotusDominoMailboxPolicy policy, String sNoteUNID)|   at LotusDominoMailboxArchivingTask.QItemBase.PostProcessItem()|   at LotusDominoMailboxArchivingTask.QItemArchive.ArchiveNote()|   at LotusDominoMailboxArchivingTask.QItemArchive.Process()

 

Event ID: 41163 There was an error processing an item in a mailbox. The task will process the item again on the next archiving run.|

Task: Domino Mailbox Archiving Task|Mailbox: 'DOM01/evdom!!mail\user11'-CN=User11/O=evdom@evdom|NoteID: dade|

Subject: Second Repro Attempt|Error: Error in the application.|Trace:    at KVS.EnterpriseVault.Store.StoreAccessor.LookupURLStem(String archiveUrn)|   at KVS.EnterpriseVault.Store.StoreAccessor.InsertItem(Item item, Boolean forceMsgSize, Int32 indexBufferSize, Byte[] indexMetadataBuf, WaitHandle StopHandle)|   at KVS.EnterpriseVault.LotusDomino.Common.NoteArchiveInserter.InsertItem(String archiveId, String retentionCategory, IndexMetadata indexMetadata, AddressLookupOptions addrLookupOptions, NoteLocationList locationList, String& itemURN, String& savesetId, DateTime& archivedDate)|   at LotusDominoMailboxArchivingTask.QItemArchive.StoreItem()|   at LotusDominoMailboxArchivingTask.QItemArchive.ArchiveNote()|   at LotusDominoMailboxArchivingTask.QItemArchive.Process()

 

To verify the issue check Dtrace of the EVLotusDominoArchivingTask for the following exceptions:

 

4886693        19:52:14.129         [4828]        (EvLotusDominoArchivingTask)        <12736>        EV-H        {QItemArchive.StoreItem} Error storing item: System.InvalidCastException: Unable to cast COM object of type 'KVS.EnterpriseVault.Interop.AuditWrapperClass' to interface type 'KVS.EnterpriseVault.Interop.IAuditWrapper'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{A9A3D8B5-399A-4D14-ADCD-26A9FFCE5286}' failed due to the following error: Not enough memory resources are available to process this command. (Exception from HRESULT: 0x80070008).|   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)|   at KVS.EnterpriseVault.Interop.AuditWrapperClass.IAuditWrapper_DomMbxArchiveAudit(String messageInfo, String savesetId, String archiveID)|   at LotusDominoMailboxArchivingTask.AuditHelper.AuditArchivedItem(UInt32 noteId, String savesetId)|   at LotusDominoMailboxArchivingTask.QItemArchive.StoreItem()

 

4886694        19:52:14.129         [4828]        (EvLotusDominoArchivingTask)        <12736>        EV-H        {QItemArchive.Process} Exception: Unable to cast COM object of type 'KVS.EnterpriseVault.Interop.AuditWrapperClass' to interface type 'KVS.EnterpriseVault.Interop.IAuditWrapper'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{A9A3D8B5-399A-4D14-ADCD-26A9FFCE5286}' failed due to the following error: Not enough memory resources are available to process this command. (Exception from HRESULT: 0x80070008). Info: Diag: Type:System.InvalidCastException ST:   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)|   at KVS.EnterpriseVault.Interop.AuditWrapperClass.IAuditWrapper_DomMbxArchiveAudit(String messageInfo, String savesetId, String archiveID)|   at LotusDominoMailboxArchivingTask.AuditHelper.AuditArchivedItem(UInt32 noteId, String savesetId)|   at LotusDominoMailboxArchivingTask.QItemArchive.StoreItem()|   at LotusDominoMailboxArchivingTask.QItemArchive.ArchiveNote()|   at LotusDominoMailboxArchivingTask.QItemArchive.Process() Inner:None

 

5619443        19:53:01.423         [4828]        (EvLotusDominoArchivingTask)        <8988>        EV-H        {QItemArchive.StoreItem} Error storing item: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.|   at System.StubHelpers.MngdNativeArrayMarshaler.ConvertSpaceToManaged(IntPtr pMarshalState, Object& pManagedHome, IntPtr pNativeHome, Int32 cElements)|   at KVS.EnterpriseVault.Interop.MAPISaveset2Class._PutUserXMLStream(Object pSource)|   at KVS.EnterpriseVault.Common.Saveset.LoadUserXmlStream(Item item)|   at KVS.EnterpriseVault.Common.Saveset.Load(Item item, Boolean forceMsgSize)|   at KVS.EnterpriseVault.Common.Saveset..ctor(Item item, Boolean forceMsgSize, Byte[] indexMetadataBuf)|   at KVS.EnterpriseVault.Store.StoreAccessor.InsertItem(Item item, Boolean forceMsgSize, Int32 indexBufferSize, Byte[] indexMetadataBuf, WaitHandle StopHandle)|   at KVS.EnterpriseVault.LotusDomino.Common.NoteArchiveInserter.InsertItem(String archiveId, String retentionCategory, IndexMetadata indexMetadata, AddressLookupOptions addrLookupOptions, NoteLocationList locationList, String& itemURN, String& savesetId, DateTime& archivedDate)|   at LotusDominoMailboxArchivingTask.QItemArchive.StoreItem()

 

5619447        19:53:01.423         [4828]        (EvLotusDominoArchivingTask)        <8988>        EV-H        {DominoMbxArchivingItemProcessor.Process} Exception: Error in the application. Info:The Domino Archiving task has raised an out of memory exception. Any unarchived items will be picked up on the next run. Diag: Type:LotusDominoMailboxArchivingTask.DominoArchiveTaskItemException ST:   at LotusDominoMailboxArchivingTask.QItemArchive.Process()|   at LotusDominoMailboxArchivingTask.DominoMbxArchivingItemProcessor.Process() Inner:None

5619451        19:53:01.451         [4828]        (EvLotusDominoArchivingTask)        <10388>        EV-L        {ThreadPoolManager.QueueJob} Stop event signaled

5619530        19:53:01.479         [4828]        (EvLotusDominoArchivingTask)        <10388>        EV-H        {DominoMailboxArchivingTaskProcessor.TaskMain} Server STOP event received [Server is stopping]

5632345        20:32:39.135         [4828]        (EvLotusDominoArchivingTask) WDBG (EvLotusDominoArchivingTask)        <12836>        EV-M        {MailboxProcessor.Process} Server STOP event received

Resolution

This issue has been resolved in both EV 14.1.2 and 14.2. 

 

Issue/Introduction

After upgrading to Enterprise Vault (EV) 14.1 and applying patch mentioned in the following tech note: https://supportenterprisevault.cloud.com/support-home/kbsearch/article?articleNumber=100050637 The Mailbox Archiving Task will not complete a full run of archiving.

Additional Information

JIRA: CFT-3849