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

Clean up lockfiles and pidfiles on reboot (Fox, Saga, naic-monitor) #352

Open
lars-t-hansen opened this issue Jan 17, 2024 · 1 comment
Open
Assignees
Labels
component:infra Shell scripts, cron scripts, web server, etc task:enhancement New feature or request

Comments

@lars-t-hansen
Copy link
Collaborator

Lifted from #57:

Lockfile removal: ~sonar is /var/run/sonar on compute and gpu nodes, and this would work just fine. But on int and login it is /home/sonar - not fine. Have petitioned to change homedir to /var/run/sonar on int and login and then just change the script from using /var/tmp to using /var/run/sonar for lockfiles.

Edit: Discussion with fox admins: We'll move the homedir on the int and login nodes, it was always the intention that it should have been /var/run/sonar, and if new nodes are created they will get that too.

Edit^2: Except then we need a service to create /var/run/sonar on boot, probably, one can do something via tmpfiles.d(5) but it's becoming fairly elaborate, esp if we want to move toward making sonar a systemd service anyway.

@lars-t-hansen lars-t-hansen added task:enhancement New feature or request component:infra Shell scripts, cron scripts, web server, etc labels Jan 17, 2024
@lars-t-hansen lars-t-hansen added this to the M3 - Saga milestone Jan 17, 2024
@lars-t-hansen lars-t-hansen self-assigned this Jan 17, 2024
@lars-t-hansen
Copy link
Collaborator Author

Also the .pid files for sonalyzed and infiltrate, bug #309.

@lars-t-hansen lars-t-hansen changed the title Clean up lockfiles on reboot (Fox, Saga) Clean up lockfiles and pidfiles on reboot (Fox, Saga, naic-monitor) Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:infra Shell scripts, cron scripts, web server, etc task:enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant