Hide Forgot
Description of problem: If I run a command on OpenShift Online that takes too long or requires too much RAM/CPU, OpenShift Online disconnects me. I noticed it for example with package django-geoip: https://django-geoip.readthedocs.org/en/latest/installation.html on command `python manage.py geoip_update`. Or if my database (Django app) had 470MB in session data, command did not complete: $ ./manage.py clearsessions [app-lucas03.rhcloud.com bet]\> timed out waiting for input: auto-logout Connection to app-lucas03.rhcloud.com closed. Version-Release number of selected component (if applicable): OpenShift Online Actual results: Ssh disconnects Expected results: Command finishes successfully, even if it takes long time.
Hi Lucas, The timeout and out-of-memory ssh connection closed is rather expected behavior unfortunately. For the timeout issue, you can try to get around: unset TMOUT export TMOUT=2880000 Remember that you will do those commands every time you log in. For the memory constrain, unfortunately, there is no way (as I know of) to work around. The RAM for small gear is rather limited (512MB). I highly recommend you to upgrade to medium gear at least to avoid that issue. This memory constrain also happens if you install some big packages as well. The medium or larger gears are better fit for those. I hope this helps. Thanks, Viu