CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CFX

Hanged processes

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 17, 2008, 06:04
Default Hanged processes
  #1
Magnoli
Guest
 
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
  #2
UnderwaterAlex
Guest
 
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.

-Alex

  Reply With Quote

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

Reply

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 03:35.