OnDemand Interactive App Sessions Disappear

Hi,

We have OnDemand version: v1.8.18 installed for our cluster.
For most users, interactive apps run fine without issues. But for some, interactive apps (regardless of the application) start then disappear. The jobs still run on the cluster.
I am wondering if anyone else also have similar experience, and if there are any suggestions on how we can fix it.

Thank you very much for your help.
Best,
Delilah

Hey Delilah,

The first thing I’d do is check their shell-specific startup files (~/.bashrc and/or ~/.bash_profile for BASH) and comment out everything. There’s some subtle issues with login vs interactive shells and writing stuff to STDOUT or STDERR.

If you can isolate a few examples that are causing issues, I can assist with the shell scripting to circumvent the problem (if that is indeed the issue).

Happy troubleshooting and best of luck!

Chris

Hi Chris,

Thank you so much for getting back to me!
I will start with my own account today. And see if cleaning up .bashrc or .bash_profile makes a difference.

Best,
Delilah

Hi Chris,

Interesting enough. reset .bashrc and .bash_profile worked for me, but not another user who has the same issue.

Delilah

Interesting! Is there any additional shell scripts that get processed for users / certain users that doesn’t get processed for you?

For example, perhaps there are scripts in /etc/profile.d that have some conditionals such that your shell is different from others?

If that doesn’t resolve the issue, I’d recommend going to the Open OnDemand Discourse and perhaps ask there? Open OnDemand - OSC

Best,
Chris