superset icon indicating copy to clipboard operation
superset copied to clipboard

Run SuperSet Forever

Open Asturias-sam opened this issue 6 years ago • 2 comments

I have installed superset in python virtual env on GCP VM. I am running the superset using following command inside the virutal env.

gunicorn -w 5 --timeout 120 -b 0.0.0.0:8088 "superset.app:create_app()"

But when i terminate my SSH connection the server stops, How to run SupserSet forever irrespective of my SSH connection.

Asturias-sam avatar May 21 '20 06:05 Asturias-sam

You could run the command in screen and then detach and close ssh or you could daemonize the process so it is always running, even when it crashes, or the server reboots, it restarts.

nytai avatar May 21 '20 16:05 nytai

Closing as this is not Superset-specific. Here are more pointers:

  • https://flask.palletsprojects.com/en/1.1.x/deploying/
  • https://docs.gunicorn.org/en/stable/deploy.html#monitoring

mistercrunch avatar May 22 '20 03:05 mistercrunch