Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: "Kill the linode! KILL!"
PostPosted: Wed Apr 09, 2008 1:10 am 
Offline
Senior Member

Joined: Fri Sep 21, 2007 4:12 pm
Posts: 78
Well, in my case, it's already dead, but now I just need it (promptly) killed as far as the linode services are concerned.

See, I have this problem. I tend to run my 360 out of RAM on a semi-often basis. I'm sure the linode staff would either grin or cry at this statement, as two of the times I've done it, I didn't realize what happened, and put in support tickets. (Something about running a UT2004 server while torrenting the complete CentOS 5.1 DVD ISO at 5MB/second (so I have a 'fast' HTTP mirror for a few projects of mine). Among many other things.)

Long story short, I run my linode out of RAM often, causing some awesome crashes. The problem is the recovery process. I've either got to wait for lassie to find that the linode has died (which in this case is much more than a minute, for whatever reason), or I've got to insert the shutdown/startup jobs myself. While I have no problem doing the jobs manually (as the only times I'm run it OOM, I was really *using* it at that same moment, and likewise know what just happened). The problem is that even after issuing the shutdown command, the host sits there for 2m30s until it times out and marks the linode as having 'shut down' and hence completing the job (allowing for the job queue to progress).

I know the linode died. So why must I wait 2m30s for the linode services to decide that on their own? Implement a 'force-shutdown' or 'kill' command in lish. Essentially, this would just kill the UML process, mark it as dead, and call it good.

It's not something I would expect to use often, but when I really know what happened, and I'm really sure I want to hit the hard reset button, I'd simply like to have one :).


Top
   
 Post subject:
PostPosted: Wed Apr 16, 2008 1:17 am 
Offline
Senior Member

Joined: Tue Jan 22, 2008 2:10 am
Posts: 103
sysrq b seems to work nicely :)


Top
   
 Post subject:
PostPosted: Wed Apr 16, 2008 2:40 pm 
Offline
Senior Member

Joined: Fri Sep 21, 2007 4:12 pm
Posts: 78
You know I tried that. Still didn't cause the linode services to recognize the linode instance as "dead."


Top
   
 Post subject:
PostPosted: Wed Apr 16, 2008 3:28 pm 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
kbrantley wrote:
You know I tried that. Still didn't cause the linode services to recognize the linode instance as "dead."

Then it didn't make it die. Once your kernel exits, our system will recognize it as down.

If you're causing your Linode to OOM frequently enough to get frustrated by the shutdown delay, then I think you should suffer the 2:30 wait, but "sysrq b" should work.

-Chris


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group