CI debugging using a reverse shell technique based on SSH.
Go to file
Erik Brakkee e01a2bc729 Added pprof to convergeserver and optionally to
the agent if PPROF_PORT is set.

Fixed issue with converge server not cleaning up goroutines because of blocking channel. Made sure to create channels with > 1 size everywhere it can be done. The blocking behavior of a default channel size is mostly in the way.

Known issue: Killing the SSH client will lead to the server side process not being terminated and some goroutines still running in the agent. This would require additional investigation to solve. The remote processes are still being cleaned up ok (at least on linux) when the agent exits.

This should not be an issue at all since the agent is a short-lived process and when running in a containerized environment with containers running on demand the cleanup will definitely work.
2024-09-08 11:16:49 +02:00
.idea added makefile for building. 2024-09-08 11:16:48 +02:00
cmd Added pprof to convergeserver and optionally to 2024-09-08 11:16:49 +02:00
kubernetes Updated deployment with username and password settings. 2024-09-08 11:16:49 +02:00
pkg Added pprof to convergeserver and optionally to 2024-09-08 11:16:49 +02:00
static Updated deployment with username and password settings. 2024-09-08 11:16:49 +02:00
compose.yaml cross compilation on windows working. 2024-09-08 11:16:48 +02:00
Dockerfile command-line argument parsing with error handling for all commands that are referred to on the docs page. 2024-09-08 11:16:48 +02:00
go.mod added fsnotify example, to check bahavior on windows. 2024-09-08 11:16:48 +02:00
go.sum added fsnotify example, to check bahavior on windows. 2024-09-08 11:16:48 +02:00
LICENSE added LICENSE 2024-09-08 11:16:30 +02:00
Makefile eliminated unused setWindowSize files. 2024-09-08 11:16:48 +02:00