Jump to content
gaurav

Things to check before killing H.

Recommended Posts

A bit of noob question when H appears to be frozen and not responding.

Are there any known steps to try out before sending it a TERM sig using kill, if it has any chances.

Thanks,

Share this post


Link to post
Share on other sites

I do this:

kill -QUIT 782136

But before that I see if mantra is the offender, you can kill that without compromising your Houdini.

Sometimes I also place a cup of tea on the ESC button and go for a wander.

Edited by Macha

Share this post


Link to post
Share on other sites

A nice trick to try and force an automatic crash save of the file if you have forgot to save is using kill -SEGV pid

Share this post


Link to post
Share on other sites

I'm going to have tshirts made with the words "segmentation fault" and sell them. :)

Share this post


Link to post
Share on other sites

Thank you folks,

Adding more to my noobness by asking :

Is there a place to check how H is set up to trap various signals. Can it be modified to take some other action than the default one.

I am assuming that would involve systems programming in linux. right ?

Share this post


Link to post
Share on other sites

I don't think they are documented anywhere. Not that i can remember at least and I don't remember who told me about the SEGV either.

Share this post


Link to post
Share on other sites

I don't think they are documented anywhere. Not that i can remember at least and I don't remember who told me about the SEGV either.

That's because Houdini will always attempt a save when the process crashes. On Unix, when a process crashes, it receives a SEGV signal. So explicitly sending Houdini a SEGV signal on Unix will force a save and quit. This is just the way things work because it's Unix and not specifically about Houdini.

Share this post


Link to post
Share on other sites

I always use

kill -9 ##### to kill

kill -8 ##### to force a file into tmp...

Share this post


Link to post
Share on other sites

I always use

kill -9 ##### to kill

kill -8 ##### to force a file into tmp...

kill -6 <pid> usually gets a file saved to /tmp for me as well

kill -9 <pid> is my "just kill it and be done with it" go-to

Share this post


Link to post
Share on other sites

never use kill -9 to kill Houdini!! ... seriously.

I had maybe one or two occurs in years where I wasn't be able to restore the crash recovery hip file ...

kill -SEGV <pid>

... it'll save your life.

Share this post


Link to post
Share on other sites

never use kill -9 to kill Houdini!! ... seriously.

Yes, it's dangerous since that won't save your file and you can lose your changes. On the other hand, if you have a *large* production scene, saving can also take a long time. So if you know for a fact that you already have it saved, it can be faster to do a force quit. Having said that, I usually hit ESC a couple of times first and let it cook for a bit.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×