OpenVZ Forum


Home » General » Support » forcing commands from master node
forcing commands from master node [message #35558] Fri, 03 April 2009 18:07 Go to next message
vmvmvm is currently offline  vmvmvm
Messages: 51
Registered: January 2006
Member
Hi,

I have a ve which I (purposefully for testing) configured to run programs using all the resources.

Now when I attempt to enter the VE I get:

Unable to fork: Cannot allocate memory

This is expected.

However I am curious if there is a way to killoff processes or other wise enter the node from the master nod (btw, what is the official openvz term for the master nod (the machine running the openvz software?).

I tried:

/usr/sbin/vzctl exec 120 killall -9 httpd

but this also gives:

Unable to fork: Cannot allocate memory

Is there a way to tell openvz "Hey, I'm the root node, ignore the limits on the VE and let me execute this command" - does that make sense?

Thanks for your help!
Re: forcing commands from master node [message #35570 is a reply to message #35558] Mon, 06 April 2009 08:06 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

Quote:


(btw, what is the official openvz term for the master nod (the machine running the openvz software?).



Of, course
http://wiki.openvz.org/HN

Quote:


/usr/sbin/vzctl exec 120 killall -9 httpd


You can kill the process from HN.
Previous Topic: CPU-Limit not working?
Next Topic: Ip_conntrack_max is a unknown key
Goto Forum:
  


Current Time: Mon Jul 29 04:23:28 GMT 2024

Total time taken to generate the page: 0.04585 seconds