Open pablocarle opened 1 year ago
I think we do cleanup of the queue at "internal start prepare" via this script https://github.com/search?q=repo%3Azowe%2Fzowe-install-packaging%20cleanup-ipc-mq&type=code but the problem is that this script is not called at "start component" time, so, if a component crashes post-startup, the launcher restarts it, skipping the "prepare" step where this cleanup gets run. So, we could call this script at the start phase too, so that continued restarts does not exhaust the finite queue resources.
Describe the bug
Possibly related to #326 Related to #3443 We've been receiving reports, and we are able to reproduce in our systems. When IPCS queues get filled up, Zowe fails to prepare the instance and does not start.
https://www.ibm.com/docs/en/sdk-nodejs-zos/14.0?topic=zos-troubleshooting#d3724e264
This topic does not seem to be covered in the public documentation, either as troubleshooting or properly sizing the queues.
To Reproduce Steps to reproduce the behavior:
Expected behavior Stop execution with appropriate message in logs.