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

Petals server Network ports remain open after python process shutdown #509

Open
redcap3000 opened this issue Sep 13, 2023 · 1 comment
Open

Comments

@redcap3000
Copy link

After shutting down a petals server in suggested fashion (ctl-c style interrupt) the port used for the server remains open when the port is properly forwarded to the public internet. Failed requests to these open ports also occur a few min. after shutdown, causing noticeable slowdown for other non petals uses of the router until the open ports are closed.

Using Ubuntu Server 23.04, 32gigs of ram, merlin-wrt software on asus RT AX86U router connected via 2.5 ethernet to 2 gig fiber. Petals installed without use of docker.

@borzunov
Copy link
Collaborator

Hi @redcap3000,

Does it only happen when you use KillSignal=SIGINT in systemd? If yes, please don't use this option for now - probably it doesn't shut down all child processes correctly.

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

No branches or pull requests

2 participants