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

temBoard 9 can't be run in background #1532

Open
pgiraud opened this issue Oct 30, 2024 · 0 comments
Open

temBoard 9 can't be run in background #1532

pgiraud opened this issue Oct 30, 2024 · 0 comments
Assignees

Comments

@pgiraud
Copy link
Member

pgiraud commented Oct 30, 2024

Important changes have been made in commit 7328892.

As opposed to what is mentioned in the changelog, it seems impossible to run the agent (I didn't try with the ui) with nohup.

With the following steps:

  • configuring temBoard to write logs in a file,
  • executing nohup temboard-agent & in a terminal,
  • closing the terminal.

the agent terminates with the following message: "INFO: syncio: Parent process exited. Exiting. ppid=xxxxx" .

In my opinion, it's wrong to rely on os.getppid() in https://github.com/dalibo/temboard/blob/master/ui/temboardui/toolkit/syncio.py#L52 to verify if parent process is still running. As far as I understand, we want the child processes (scheduler, worker pool) to check if the main process running temboard is still running. But it seems wrong to search for parent process beyond temboard itself.

@bersace bersace self-assigned this Nov 5, 2024
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

2 participants