OpenVZ Forum


Home » General » Support » Unable to fork: Cannot allocate memory
Unable to fork: Cannot allocate memory [message #35704] Thu, 16 April 2009 08:52 Go to next message
digitalmahdi is currently offline  digitalmahdi
Messages: 4
Registered: April 2009
Junior Member
Hi
i had installed open vz with hypervm on Cent os 5.2
when i create a vps it do not work !
i think problem is on my ip's configuration but when i try to enter to vps with openvz console i see :

[root@ip-70-38-11-200 cache]# vzctl enter 110
Unable to fork: Cannot allocate memory

i try to find a way to fix it on this forum but i just find that !

"cat /proc/user_beancounters"

i had run this command and i paste it here :
[root@ip-70-38-11-200 cache]# cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
      110:  kmemsize         122412     136991 2147483646 2147483646          0
            lockedpages           0          0          1          1          0
            privvmpages         218        218     131072     131072          0
            shmpages              0          0      65536      65536          0
            dummy                 0          0          0          0          0
            numproc               1          1          1          1      16006
            physpages           160        160          0 2147483647          0
            vmguarpages           0          0      65536 2147483647          0
            oomguarpages        160        160      65536 2147483647          0
            numtcpsock            0          0          8          8          0
            numflock              0          0          1          1          0
            numpty                0          0          1          1          0
            numsiginfo            0          0          1          1          0
            tcpsndbuf             0          0   53687296   53720064          0
            tcprcvbuf             0          0   53687296   53720064          0
            othersockbuf          0       1212   53687296   53720064          0
            dgramrcvbuf           0          0   53687296   53720064          0
            numothersock          0          2          8          8          0
            dcachesize            0          0       9216       9216          0
            numfile               7         20         24         24          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            10         10         16         16          0
        0:  kmemsize        8693011   10081870 2147483647 2147483647          0
            lockedpages           0          0 2147483647 2147483647          0
            privvmpages       69044      81404 2147483647 2147483647          0
            shmpages            710        733 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            numproc             177        198 2147483647 2147483647          0
            physpages         26567      36777 2147483647 2147483647          0
            vmguarpages           0          0 2147483647 2147483647          0
            oomguarpages      26567      36777 2147483647 2147483647          0
            numtcpsock           14         23 2147483647 2147483647          0
            numflock              7         12 2147483647 2147483647          0
            numpty                1          1 2147483647 2147483647          0
            numsiginfo            1          4 2147483647 2147483647          0
            tcpsndbuf        136396     449436 2147483647 2147483647          0
            tcprcvbuf        229376    1205376 2147483647 2147483647          0
            othersockbuf      90276     124556 2147483647 2147483647          0
            dgramrcvbuf           0       8380 2147483647 2147483647          0
            numothersock         89         99 2147483647 2147483647          0
            dcachesize            0          0 2147483647 2147483647          0
            numfile            3759       4755 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            numiptent            16         16 2147483647 2147483647          0


please help me
thanks.

[Updated on: Thu, 16 April 2009 08:56] by Moderator

Report message to a moderator

Re: Unable to fork: Cannot allocate memory [message #35705 is a reply to message #35704] Thu, 16 April 2009 08:57 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

1. Use CODE tags when you quote something from the command line, especially /proc/user_beancounters output since it's aligned in columns.

2. Why you pay to HyperVM but ask for support here? You are HyperVM customer, why don't you use their support line?

3. Your numproc is set to 1, this is the reason.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Unable to fork: Cannot allocate memory [message #35706 is a reply to message #35705] Thu, 16 April 2009 09:03 Go to previous messageGo to next message
digitalmahdi is currently offline  digitalmahdi
Messages: 4
Registered: April 2009
Junior Member
hi
1 . i am not hyprvm customer i use it free for 5 vps
2 . this problem is on open vz not in hypervm when i create a vps manually with command this problem make too
3. please explain more . what is my numproc is 1 mean ?
thanks.
Re: Unable to fork: Cannot allocate memory [message #35707 is a reply to message #35706] Thu, 16 April 2009 09:13 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

http://wiki.openvz.org/numproc
also http://wiki.openvz.org/Resource_shortage



Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Thu, 16 April 2009 09:17]

Report message to a moderator

Previous Topic: lvm
Next Topic: Choice of a Container to connect in during the boot
Goto Forum:
  


Current Time: Tue May 07 14:56:44 GMT 2024

Total time taken to generate the page: 0.01438 seconds