• ¡Welcome to Square Theme!
  • This news are in header template.
  • Please ignore this message.
Hello There, Guest! Login RegisterLogin with Facebook


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OpenVZ node : Unable to fork: Cannot allocate memory
#1
When you see a message “Unable to fork: Cannot allocate memory” while logging to a VPS from the node. The reason is the VPS is running out of resources RAM. To temporary solve this issue, you may restart the VPS by executing below command:

====
vzctl restart VEID
====

NOTE : Replace your VEID with your VPS ID.


OR increase RAM of the VPS and increase "privvmpages" and "kmemsize" parameters for the VPS in below file:

Edit the configuration file of the VPS

vi /etc/sysconfig/vz-scripts/veid.conf

After increase the value of the above two parameters, restart the VPS.

Let me know your views in our comment section below.
 
Reply
#2
Thanks perfect solution.
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)