Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sudden increment in thread count of the gateway after restarting the CP node #2195

Closed
nelkon opened this issue Oct 2, 2023 · 0 comments
Closed

Comments

@nelkon
Copy link

nelkon commented Oct 2, 2023

Description

If the CP is down, and the gateway is constantly trying to connect to the CP, the thread count can be increased. Even in the logs, there were multiple connectivity errors. But, once the CP is up and running again these unwanted threads in the waiting state should be cleared from the memory. However, we could see those threads never get cleared from the memory until the gateway node restarted again. it continues to stay in the memory for days.

Steps to Reproduce

  • Create a setup. (One CP and One Gateway)
  • Profile both CP and GW.
  • Start both CP and GW.
  • Wait for 5 minutes till the servers settle down.
  • Collect the thread count and thread dump.
  • Stop the CP node.
  • Wait 15 minutes and collect the thread count and thread dump.
  • Start the CP node after 15 minutes.
  • Wait for 15 minutes and collect thread count and thread dump.

Affected Component

APIM

Version

4.1.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

APIM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants