Issue – The SIB queues messages were piling up (in the _SYSTEM.Exception.Destination queue) due to messages that were not getting processed. The SystemOut.log were showing the below execeptions.
Exception: com.ibm.ws.sib.msgstore.PersistenceFullException: CWSIS1574E: The file store’s permanent store file is full..”
Step1: Take a snapshot of the queue count from the admin console for reference purpose from the following path in admin console.
Buses > NOYBBus > Messaging engines > VerticalCluster.000-NOYBBus > Queue points
Step2: Stop the messaging engine on the required Bus.
Buses > NOYBBus > Messaging engines
Step3: Backup the File store by taking backup of the below flat files using standard filesystem tools. Please note DO NOT attempt backup the file store while the messaging engine is running. This might result in lost or corrupt data.
– Log FIle
– Permanet store File
– Temporary store File
The location of these flat files on the server could be obtained from the following path in the admin console
Buses>Bus-Name>Messaging engines>Messaging engine name> File store
Step4: Clean up the queues using the below script
# clears SIB queues for the specified bus on a running Websphere instance
if len(sys.argv) < 1:
print ‘Expected argument containing bus name’
busname = sys.argv
queues = AdminControl.queryNames(‘WebSphere:type=SIBQueuePoint,SIBus=’+busname+’,*’).splitlines()for queue in queues:
queue_name = AdminControl.getAttribute(queue, ‘identifier’)
#if queue_name.startswith(‘q’): # This avoids ‘system’ queues like dead letter queue. Could probably clear those too.
print ‘Clearing queue ‘ + queue_name
AdminControl.invoke(queue, ‘deleteAllQueuedMessages’, ‘false’)