Hello, guys!
Today, I'd like to share with you a case: The ECS Deletion Task Remains in the Processing State
Let's get started.
Problem Description
The ECS deletion task remains in the processing state on ManageOne Operation Portal.

Problem Analysis
1. Log in to the FusionSphere OpenStack controller node, import environment variables, query the two nodes where the apicom services are deployed, and log in to the two nodes:
nova list --all-t | grep CPT-SRV
The default username is apicom, and password is Huawei12#$.
Check taskmgr_ecm_executor.log in the /var/log/apicom/taskmgr/ecm/ directory.

The error message "too many connections for role "TASKMGR" is reported in the log, indicating that the number of connections to the database reaches the upper limit.
Solution
1. Modify the connection pool configurations of the APIcom service on both the CPT-SRV01 and CPT-SRV02 nodes.
vi /opt/apicom/tomcat/taskmgr/WEB-INF/classes/hibernate-ims-spring.xml
Change the values in the red box in the following figure.

vi /opt/apicom/tomcat/taskmgr/WEB-INF/classes/hibernate-bks-spring.xml
Change the values in the red box in the following figure.

vi /opt/apicom/tomcat/taskmgr/WEB-INF/classes/hibernate-spring.xml
Change the values in the red box in the following figure.

Run the ps -ef |grep apicom command to check the apicom process ID.
The process is automatically started after you run the kill -9 ID command.

2. Modify the connection pool configurations of the ImageConvert service on both the CPT-SRV01 and CPT-SRV02 nodes.
vi /opt/imcs/tomcat/taskmgr/WEB-INF/classes/hibernate-spring.xml
3. Change the values in the red box in the following figure.

Change the value of minEvictableIdleTimeMillis to 300000.

Run the ps -ef |grep imcs command to check the imcs process ID. Then, run the kill -9 ID command again
to stop the process. The process will be automatically started soon.

Do not provide services during configuration modification.
That's all for today. I hope it will be helpful to all of you!
If you have any other comments or want to know more, please leave a message below to let me know.
