Skip to content

Automatically shutdown inactive ipython notebooks #5539

@jeroen

Description

@jeroen

Something that might be useful would be a way to configure ipython to not keep inactive notebook processes alive indefinitely. For example automatically shutdown the notebook whenever the client disconnects, or after being idle for n minutes.

Context: I would like to use ipython for teaching without setting up individual accounts, or on a public server. I am taking care of security on a lower level using a combination of rlimit and apparmor. If I could configure ipython to shutdown a process once the user disconnects, that makes a cool little sandbox that should be stable enough for teaching.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions