When closing the browser, AEN applications such as Jupyter Notebooks do not automatically terminate. Idle notebook processes keep the project active and use the resources on your system.
There are two ways an Administrator can prevent the resource utilization by idle processes:
From the AEN navigation bar, click Admin. In the Site Admin menu, select Monitor. The Monitor menu lists running applications by user and project. The list includes columns for the application name, current running status, running node and last seen date. Use the buttons to terminate or relaunch a running application.
Terminate an application after a specified period of time by setting idleCheckInterval and appIdleTime keys in the file /opt/wakari/wakari-compute/etc/wakari/wk-compute-launcher-config.json
.
EXAMPLE: In the "wk-compute-launcher-config.json" file:
{ "errorLog": "/opt/wakari/wakari-compute/var/log/wakari/wk-compute-launcher-error.log"
, "port": 5002
, "multiUser": true
, "multiProject": true
, "projectRoot": "/projects"
, "identicalGID": false
, "numericUsernames": false
, "appIdleTime": 300000
, "idleCheckInterval": 60000
}
Both appIdleTime and idleCheckInterval multiply the seconds by 1000 in the code.
In the above example, the 300000 = 300 seconds or 5 minutes.
"appIdleTime"
shows how long an application has been idle.
"idleCheckInterval"
shows how long the application will wait.