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

Verificar/limpar servidores órfãos #186

Open
chesterbr opened this issue Jul 24, 2023 · 0 comments
Open

Verificar/limpar servidores órfãos #186

chesterbr opened this issue Jul 24, 2023 · 0 comments
Labels

Comments

@chesterbr
Copy link
Owner

Eu acho que se algo der errado no processo de envio do SIGUSR1 para encerrar/reiniciar o servidor (vide launcher.sh e MiniTrucoServer.java), pode acontecer de um servidor permanecer escutando na porta 6912 (e o parent dele virar o PID 1).

De repente pensar em algum cleanup ou timeout pra isso (talvez no startup do launcher mandar o sigusr1 pra qualquer processo que se pareça com um servidor desgarrado, ou fazer isso de tempos em tempos, ou o próprio server detectar?).

Mas primeiro ver se isso vai acontecer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant