CFD Online Logo CFD Online URL
Home > Forums > CFX

Hanged processes

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 17, 2008, 06:04
Default Hanged processes
Posts: n/a
Hi, Sometimes, when I'm running my simulation in the cluster and it gets hanged, the solver processes do not exit automatically and then I have to enter each machine, look for the processes PID's and kill them one by one. Does anyone have a Linux script for it or any other suggestion? Thanks a lot, Magnoli.
  Reply With Quote

Old   March 17, 2008, 12:49
Default Re: Hanged processes
Posts: n/a
Check out the commands pgrep and pkill. Use at your own risk though, pkill can do serious damage when spread across a cluster. Test things out with pgrep first. To kill on a remote node:

rsh nodename pkill solver

You can do it in one line to all the slaves if your cluster has ganglia (look up online for further explanation) or the like; you would replace rsh with gsh for instance.

I repeat: be very, very careful with pkill.


  Reply With Quote

Old   March 17, 2008, 13:12
Default Re: Hanged processes
Posts: n/a
Thanks! I'll take care!
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
flow3d processes ? degr FLOW-3D 8 July 27, 2009 08:39
Cloning a case or creating a new case for 16 processes mellanoxuser OpenFOAM Running, Solving & CFD 0 February 8, 2008 17:52
breakup model for cleaning processes Tim CFX 2 November 21, 2007 17:14
Mixing By Natural Convection Processes Greg Perkins FLUENT 0 February 12, 2003 19:40
CFD Code (Charging Processes) Sherard Main CFD Forum 0 July 29, 1999 12:29

All times are GMT -4. The time now is 08:13.