# Timeout count down on connection link to permit idle job timeout before the user requested timelimit

**URL:** <https://discourse.openondemand.org/t/timeout-count-down-on-connection-link-to-permit-idle-job-timeout-before-the-user-requested-timelimit/2836>\
**Category:** Feature Requests and Roadmap Discussion\
**Created:** [July 27, 2023, 12:07am UTC](https://discourse.openondemand.org/t/timeout-count-down-on-connection-link-to-permit-idle-job-timeout-before-the-user-requested-timelimit/2836 "2023-07-27T00:07:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aneil2](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@aneil2](https://discourse.openondemand.org/u/aneil2)\
**Post date:** [July 27, 2023, 12:07am UTC](https://discourse.openondemand.org/t/timeout-count-down-on-connection-link-to-permit-idle-job-timeout-before-the-user-requested-timelimit/2836/1 "2023-07-27T00:07:01Z")

</div>

The issue, users submitting multiple jobs and then leaving them idle and never connecting. The jobs continue to consume resources until the user selected time limit - which could be days - expires…

Enable a configurable countdown timer on the connection link, so that unless the link is clicked within a given grace period the session and job will be cancelled.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [June 25, 2024, 8:25pm UTC](https://discourse.openondemand.org/t/timeout-count-down-on-connection-link-to-permit-idle-job-timeout-before-the-user-requested-timelimit/2836/2 "2024-06-25T20:25:24Z")

</div>

Hi, thanks for the comment and sorry for the delay. We’re mostly looking at the `Get Help` section so this section doesn’t get a lot of attention.

I’ve filed this ticket on github for the same. Don’t know when/if we’ll get around to it, but we’ll track it there.

> <https://github.com/OSC/ondemand/issues/3643>
>
> Cleaning out discourse - this has come up a few times: 
> https://discourse.openo…ndemand.org/t/detect-idle-sessions/741
> https://discourse.openondemand.org/t/timeout-count-down-on-connection-link-to-permit-idle-job-timeout-before-the-user-requested-timelimit/2836
> 
> At the time of writing, this would be very very difficult. Maybe if we have something proxying for us on the compute node may help, but actually detecting on the web server what's happening on the compute node is an arduous task. Possibly solved through files on the NFS?
> 
> Even if we do have a mechanism to communicate this data, the web node may not be able to catch this because itself is being shut down because \_it's\_ idle. So there's a window where we have to catch this after the job starts, but before the PUN itself is shutdown due to inactivity. I guess that best effort is better than nothing?
