Tpg-security microservice utilizing >90% CPU

Can the tpg-security service not be optimized?
It is using more than 300% CPU out of total 400%, refer below screenshot

8 Likes

@Vikas_Dhillon @naveen.gupta your comments on this?

4 Likes

@VivekBhardwaj : I highlighted this earlier as well. No of security instance should be 2 times of api gateway.

For example: if instance of api gateway are 2 then security instance should be 4.

Right now in your project it is one to one mapping.

Please get this instance deployment correct and it should be resolved.

5 Likes

@Vikas_Dhillon After increasing api-security to double of api-gateway but still production is going down.
Now, one app server api-security is going down & DBES on second server
Please suggest

7 Likes

Below screenshots for api-security instance doubled

7 Likes

@VivekBhardwaj : In that case you need to get in touch with Infra & product team. Please raise ticket to team for detailed troubleshooting

2 Likes