Re: setrlimit() extension suggestion



On Apr 24, 1:46 am, Jacek Dziedzic <jacek.dziedzic__no--
spa...@xxxxxxxxx> wrote:

How about: "There is an all-campus computer for the students to
run their email and compile and run simple c++ programs. This is
a small server machine, but there are hundreds of students using
it. Some students test their MPI programs, when these deadlock,
they leave tens of sleeping processes each. They do not utilize
the CPU, but clutter outputs of 'top', 'ps' and the like with,
in time, thousands of processes nobody needs. It would be good
to automatically kill such deadlocked processes in, say, 4 hours
rather than waiting for the next reboot."

Admittedly, one could do that with a simple script.

Yep, and such a script would be much more flexible and powerful. This
seems like a solution in search of a problem.

DS
.



Relevant Pages

  • Re: logon script for an examination account
    ... Oh, I should point out, Jason, I see that your script copies the ... pre-formatted word doc to the folder that's created. ... They also provide students with 50% of their final mark. ... The idea is that the students put the id# in the Word doc's footer rather ...
    (microsoft.public.scripting.vbscript)
  • Need help with ASP script.
    ... the beginning process of having a webpage that will direct students to ... I had downloaded a free ASP script which basically uses a ... 'Check the database to see if user exsits and read in there password ... 'Database connection info and driver ...
    (microsoft.public.inetserver.asp.general)
  • Re: setrlimit() extension suggestion
    ... but there are hundreds of students using ... to kill them off based on wallclock time. ... and they can be killed off by the script in a somewhat reliable way. ... Note that such a script would have a very slight exposure to killing the wrong ...
    (comp.os.linux.development.system)
  • Re: teaching with matlab
    ... in case some of your students ... a note on how to use the debugger. ... > Right now I am planning on making a script and then stepping through ... The students can try any command they like between ...
    (comp.soft-sys.matlab)
  • Re: logon script for an examination account
    ... I will try out the script on Monday. ... Re the generic logon. ... Usually each student has their own user accounts. ... grade 12 students in the province on the same day at the same time. ...
    (microsoft.public.scripting.vbscript)