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

Cannot stop python launcher.py process? #353

Closed
shinebayar-g opened this issue Oct 15, 2020 · 3 comments
Closed

Cannot stop python launcher.py process? #353

shinebayar-g opened this issue Oct 15, 2020 · 3 comments

Comments

@shinebayar-g
Copy link
Collaborator

shinebayar-g commented Oct 15, 2020

Hi, I'm planning to deploy new instance of script-server as well as new version features!
However I cannot seem to stop python launcher.py process. When I click CTRL+C it's not exiting the process. It's just not stopping?

script-server version: 1.15.2

root@ebf4c3785492:/app# ls
conf  launcher.py  requirements.txt  src  version.txt  web
root@ebf4c3785492:/app# python launcher.py 
2020-10-15 03:23:28,182 [root.INFO] Starting Script Server, v1.15.2
2020-10-15 03:23:28,182 [migrations.INFO] Applying migration add_execution_info_to_log_files
2020-10-15 03:23:28,183 [migrations.INFO] Applying migration introduce_access_config
2020-10-15 03:23:28,184 [migrations.INFO] Applying migration add_user_id_to_log_files
2020-10-15 03:23:28,188 [migrations.INFO] Applying migration migrate_output_files_parameters_substitution
2020-10-15 03:23:28,201 [asyncio.DEBUG] Using selector: EpollSelector
Server is running on: http://0.0.0.0:5000
^C2020-10-15 03:23:29,517 [web_server.INFO] Stopping server on interrupt
^C2020-10-15 03:23:30,618 [web_server.INFO] Stopping server on interrupt
^C2020-10-15 03:23:31,260 [web_server.INFO] Stopping server on interrupt
^C2020-10-15 03:23:32,244 [web_server.INFO] Stopping server on interrupt
^C2020-10-15 03:23:32,740 [web_server.INFO] Stopping server on interrupt
^C2020-10-15 03:23:33,120 [web_server.INFO] Stopping server on interrupt
@shinebayar-g
Copy link
Collaborator Author

shinebayar-g commented Oct 15, 2020

Update: Looks like this issue is fixed on master branch. It's working properly with dev release. Could you tag a quick bug fix release @bugy ?

@bugy
Copy link
Owner

bugy commented Oct 16, 2020

Hey, here is the corresponding issue #271
For 1.15.2 please use tornado 5

@shinebayar-g
Copy link
Collaborator Author

Ah okay, I think I'm gonna use dev release until next release.

Duplicate of #271

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

No branches or pull requests

2 participants