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

start & stop & start temboard-agent (9.0.1) quickly does not work #1546

Open
l00ptr opened this issue Dec 13, 2024 · 0 comments
Open

start & stop & start temboard-agent (9.0.1) quickly does not work #1546

l00ptr opened this issue Dec 13, 2024 · 0 comments

Comments

@l00ptr
Copy link

l00ptr commented Dec 13, 2024

Hello,

Since temboard-agent 9.0.1 i have a few issues when trying to stop & start quickly (eg using some automated tests in CI) the agent, here are a few steps to reproduce what i observe on my side (outside of my tests suite / CI):

  • Install temboard-agent 9.0.1
  • Run temboard-agent in backround: temboard-agent --config /tmp/temboard-agent-17-test.conf &
  • Get the PID of the temboard-agent (from previous step)
  • kill the first temboard-agent and launch (quickly) a new one temboard-agent with: kill <pid first agent> && temboard-agent --config /tmp/temboard-agent-17-test.conf
  • After the last operation, we can observe this error:
INFO:  app: Starting temboard-agent. version=9.0.1
INFO:  app: Using config file /tmp/temboard-agent-17-test.conf.
WARNING:  agent: Hostname dontbecurious is not a FQDN.
INFO:  serve: Resetting monitoring data.
CRITICAL:  app: Failed to start HTTPS server: [Errno 98] Address already in use.

When I run top, pstree or any other tool to watch the processes, i can see a few temboard processes (and the especially the web worker) taking a few seconds before dying. So i guess killing all the process take some time the HTTP(s) port is kept open / busy by a nearly dead process.

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

No branches or pull requests

1 participant