IBM Support

Huge number of mailbox messages stuck and not removed from database

Troubleshooting


Problem

In IBM Sterling B2B Integrator (SBI), huge number of mailbox messages are stuck in the database though mailbox delete service schedule runs to delete the messages.

Symptom

- Cleanup processes are running fine (Index, backup, purge, associateBPsToDoc etc..)

- Mailbox delete service is running but every run only 10000 messages are deleted though there are millions of mailbox messages eligible.

Cause


Diagnosing The Problem


By default the mailbox delete service configured to delete only 10000 messages per run.

Resolving The Problem

Below are the two parameter that control the mailbox message deletion:


- messageDeleteBatchSize=1000 <- This is the purge transaction size. For each 1000 message transaction is committed.

- messageDeleteSize=10000 <- This is no. of messages that will be purged in one execution of MailboxDeleteService

Follow either of the below option to resolve the issue:

1. Edit the mailbox.properties and increase the messageDeleteSize from default 10000 to a higher value.



2. Run the mailbox delete service schedule frequently. If the schedule usually takes 15 minutes to delete the 10000 messages then schedule it to run every 30 minute or every one hour till all the eligible message deleted from database.

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Data management - Purge","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.2.6;5.2.5;5.2.4;5.2.3;5.2.2;5.2.1;5.2;5.1","Edition":"All Editions","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
08 November 2019

UID

swg21977965