[GE users] Tracking PIDs

Beadles, Jeff jeff_beadles at mentor.com
Wed Aug 8 18:52:30 BST 2007


Have you looked at setting "ENABLE_ADDGRP_KILL=true" to the execd_params
in the grid configuration (qconf -mconf)

It's handled most of these situations for us very well.

	-Jeff

-----Original Message-----
From: John Leidel [mailto:john.leidel at gmail.com] 
Sent: Wednesday, August 08, 2007 8:21 AM
To: users at gridengine.sunsource.net
Subject: [GE users] Tracking PIDs

All, is there currently a way [possibly within the run/prologue scripts]
to record all the currently running PIDs of a specific job.  The
situation is the following... 

- I have setup a h_rt of 3:00:00 for a specific set of intensive jobs
[MPI]
- When they hit their h_rt, SGE obviously kills everything it knows
about.  As we've all experienced, it sometimes leaves dangling processes
out there.  These things eat quite a bit of memory, so its something we
*really* need to recover.

So... I want to record the PIDs of the exe's running within the job...
then with an epilogue script, make sure I kill those PIDS when the jobs
are complete.  Is there a better way to accomplish this?  

thanks
john


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list