Skip to content

feature: cleanup tmp PID file #97

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
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

philihp
Copy link
Contributor

@philihp philihp commented Apr 23, 2025

I believe this might make the repo a little more resilient to (my) bad improper container shutdown habits, would you accept this upstream?

@nickjj
Copy link
Owner

nickjj commented Apr 23, 2025

Hi, yep this was brought up in #65. A long time ago I opened an issue about this in Rails at rails/rails#52558 too.

Deleting the old pid before Puma boots feels like probably the safest bet since the pid will exist once the container starts which will handle the LSP case or whatever else.

I do wonder about the env var approach though.

@philihp
Copy link
Contributor Author

philihp commented Apr 23, 2025

Oh neat, yeah I agree... it does look like that env var to tmpfs is actually a better solution. I guess this PR would resolve #65 then?

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 this pull request may close these issues.

2 participants