Shutdown process timeout
Posted: 02 Dec 2013, 07:37
Hi,
I have a VM running in porteus and I'd like it to save state on shutdown. The problem is that sometimes it takes longer than 30 seconds to save state, and porteus kills the process before it is able to finish saving. I had a hunt around, but I can't find where the timeout between the term and sigkill (I think that's what is happening) is. 180 seconds or something would be more suitable for me. I don't mind the occasional hang on shutdown. Far better than having a corrupt VM savestate I need to delete afterwards.
Thanks, Ryan
I have a VM running in porteus and I'd like it to save state on shutdown. The problem is that sometimes it takes longer than 30 seconds to save state, and porteus kills the process before it is able to finish saving. I had a hunt around, but I can't find where the timeout between the term and sigkill (I think that's what is happening) is. 180 seconds or something would be more suitable for me. I don't mind the occasional hang on shutdown. Far better than having a corrupt VM savestate I need to delete afterwards.
Thanks, Ryan