Code Monkey home page Code Monkey logo

Comments (19)

Chiil avatar Chiil commented on July 26, 2024

MicrosoftTeams-image
I added a screenshot of one of the students here. It is stuck at waiting.

from docs.

choldgraf avatar choldgraf commented on July 26, 2024

hmm - this happens at the login page before they actually log in? Or after they log in?

I just tried myself and it worked fine, maybe this is something only affecting some users?

from docs.

Chiil avatar Chiil commented on July 26, 2024

It only affects some users, but I have quite a few that are complaining now. I can also login fine, maybe it is linked to certain nodes.

from docs.

choldgraf avatar choldgraf commented on July 26, 2024

it does look like there was some kind of activity bump here in the logs:

image

from docs.

Chiil avatar Chiil commented on July 26, 2024

Yup, at 15.50 the students all start at the same time, because it is after the lecture. On Monday, Wednesday, and Thursday, we will have this spike, at Tuesdays it is split in two.

from docs.

choldgraf avatar choldgraf commented on July 26, 2024

that's good to know - so they'll all log-on at the same time on a regular basis?

from docs.

choldgraf avatar choldgraf commented on July 26, 2024

for the ones who's sessions are frozen, they can't reload the page or anything? It just stays stuck there?

from docs.

Chiil avatar Chiil commented on July 26, 2024

Yup, we have scheduled slots Monday, Wednesday, Thursday 15.50-17.20. Tuesday half of the people are scheduled from 14.00-15.30 and the other half from 15.50-17.20. At the moment certain students are already stuck for more than 20 minutes, not being able to login.

from docs.

choldgraf avatar choldgraf commented on July 26, 2024

so when they go back to the log-in page (e.g. from an incognito window, or via force-refreshing the browser), it just goes back to the blank page?

from docs.

choldgraf avatar choldgraf commented on July 26, 2024

also how many users have this problem? I see 5 failed user pods, so that could be the ones that are reporting the issue, is it more than this?

from docs.

Chiil avatar Chiil commented on July 26, 2024

One of students did a reboot of his computer and still has the same problem. I will provide the user account over email.

from docs.

choldgraf avatar choldgraf commented on July 26, 2024

it's probably not related to the student computers themselves, but something getting gunked up at the interface of logging in -> being moved to their session.

from docs.

Chiil avatar Chiil commented on July 26, 2024

Is there something we can do on our side to make this better?

from docs.

choldgraf avatar choldgraf commented on July 26, 2024

no I think it is just a bug to iron out given that these are young cloud deployments...it seems like in this case, the cluster is hitting memory limits, probably some users are using more memory than expected. But this will be easier to solve by bumping the memory so let me try this now.

from docs.

choldgraf avatar choldgraf commented on July 26, 2024

so a breakdown of what I think is going on:

  • Currently for the WUR hub, we set memory guarantees of 512MB, and limits of 2GB.
  • This makes for more efficient use of most nodes, and gives us a little wiggle-room since most users aren't using all of their memory allotment at the same time.
  • In this case however, I think all of the students used up their memory all at once, and as a result the node memory got saturated before a "scale-up" event occurred
  • So in the short term I have set the memory "guarantee" to be the same as the "limit": https://github.com/2i2c-org/pilot-hubs/pull/88/files. This will ensure that we don't run into the same issue where a bunch of users using up RAM all at once overloads the system.
  • Longer term we should build some safety guards to make sure that we never hit the RAM limit of a node under situations like this.

from docs.

Chiil avatar Chiil commented on July 26, 2024

Alright, that seems true indeed. Students to all the time restart and run all, in order to get back to the end of their assignment to continue working.

from docs.

choldgraf avatar choldgraf commented on July 26, 2024

yeah - if students hit their limit then their kernel will restart (that's typically how Jupyter handles this)...the issue here is that enough students got close to their limit all at once that they out-paced the hub's ability to scale up

from docs.

choldgraf avatar choldgraf commented on July 26, 2024

btw @Chiil this should now be resolved, can you confirm that students have it working?

(I know this is annoying to you but congratulations on being 2i2c's first incident report! 🎉 these kinds of events will become more and more rare as we find these edge cases and work out the bugs in the infrastructure)

from docs.

Chiil avatar Chiil commented on July 26, 2024

That is a remarkable honour 👍 Thanks for helping out so quickly, the students are happy again.

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.