question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable process cleanup

See original GitHub issue

Describe the bug Our build process starts a bazel server on each run but the runner kills the process on cleanup. I want the server to stay around.

To Reproduce Steps to reproduce the behavior:

  1. Start a background process in a job
  2. Complete job steps kills the process

Expected behavior I expect some kind of ability to disable this behavior. I see process.clean but have no idea how to modify that variable.

Runner Version and Platform

linux-x64-2.267.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

29reactions
TingluoHuangcommented, Nov 3, 2020

RUNNER_TRACKING_ID="" && ./yourtool before starting your process, then the process you start should not get killed by the runner.

10reactions
VasuInukollucommented, Oct 25, 2021

Adding this in front the command solved the problem. RUNNER_TRACKING_ID=“” &&

Changed this forever start app.js to RUNNER_TRACKING_ID="" && forever start app.js

@TingluoHuang you saved my day.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Too Many Background Processes Running on a ...
Right-click on any process you want to disable and select the Disable option in the context menu. Disabling Startup Processes on Task Manager....
Read more >
How to Remove Unwanted Computer Processes
1. Press "Ctrl-Shift-Esc" to open the Task Manager. · 2. Click the "Processes" tab. · 3. Right-click any active process and select "End...
Read more >
Fix: Too Many Background Processes on Your Windows PC
1. Clean up the Windows Startup · 2. Terminate background processes using Task Manager · 3. Remove third-party software services from the Windows ......
Read more >
4 Solutions to Fix Too Many Background Processes in ...
Reduce Background Processes Using Task Manager ... You can press Ctrl + Shift + Esc keyboard shortcut to open Task Manager in Windows...
Read more >
How to Close Unneccessary Processes in Windows 10
Method 1: Adjusting the Power Settings · Method 2: Disabling Windows Tips and Tricks · Method 3: Uninstalling Bloatware · Method 4: Lower...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found