15

So recently I have this course called Operating Systems and we used putty to connect to a linux server. An assignment was given to fork a child and pass the message through all the children and all that good stuff. The assignment wasn't the hard part, its to deal with the fact that some people just orphan their children. The server is on the verge of death at this point. So.many.tasks.running. Can I wall and tell them to kill their processes ~_~

Comments
  • 2
    May i suggest using a container with limited resources for each user :p

    If you're concerned about shared namespace leaks or similar, go the jail / vm route :)
  • 2
    @lotd i used a vm to finish my assignment but i had to made sure it ran on the server. I submitted mine a while back already because this was definitely going to happen without a doubt

    I think I'll let the lecturer know about the container thing but I doubt he'll list ;-;
  • 2
    fork bomb the server and leave. It is someone elses problem now.
  • 0
    @magicMirror HAHAHA i had thoughts but I can't get expelled
  • 1
    Time to go on a killing spree of all those children I guess.
  • 0
    That is why people invented valgrind. You can't orphan when virtualized in valgrind
Add Comment