Skip to content

process-compose process restart can start the same process multiple times #347

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

Open
3 tasks done
ryantm opened this issue Jun 5, 2025 · 0 comments · May be fixed by #348
Open
3 tasks done

process-compose process restart can start the same process multiple times #347

ryantm opened this issue Jun 5, 2025 · 0 comments · May be fixed by #348

Comments

@ryantm
Copy link
Contributor

ryantm commented Jun 5, 2025

Defect

Make sure that these boxes are checked before submitting your issue -- thank you!

  • Included the relevant configuration snippet
  • Included the relevant process-compose log (log location: process-compose info)
  • Included a [Minimal, Complete, and Verifiable example] (https://stackoverflow.com/help/mcve)

Version of process-compose:

1.64.1

OS environment:

NixOS

Steps or code to reproduce the issue:

version: '0.5'

processes:
  test1:
    command: sleep 1000
  test2:
    command: sleep 1000

Run process compose
In another terminal run process-compose process restart test1 & process-compose process restart test1

Sometimes, observe three sleep 1000 processes running underneath process compose with a tool like htop

Expected result:

process-compose never allows a process to be running multiple times

Actual result:

process-compose sometimes allows a process to be running multiple times

Log

25-06-05 12:52:54.635 INF Process Compose v1.64.1

@ryantm ryantm linked a pull request Jun 5, 2025 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant