OpenVZ Forum


Home » International » Russian » Unable to fork: Cannot allocate memory
Unable to fork: Cannot allocate memory [message #39781] Tue, 01 June 2010 16:28 Go to next message
Good_admin is currently offline  Good_admin
Messages: 2
Registered: June 2010
Location: RF
Junior Member
При рестарте получаю следующее:
Quote:

root@server:~# vzctl restart 2401
Restarting container
Stopping container ...
Container was stopped
Container is unmounted
Starting container ...
Container is mounted
Adding IP address(es): хх.хх.хх.хх
Unable to fork: Cannot allocate memory
Setting CPU limit: 15
Setting CPU units: 1000
Setting CPUs: 1
Configure meminfo: 65536
Set hostname: 131231eqdasd.com
Unable to fork: Cannot allocate memory
Container start in progress...



При попытке выполнить: vzctl start 2401 пишет что уже запущена, но пинга на неё нет, и войти (vzctl enter 2401) не получается.

cat /proc/bc/2401/resources
Quote:

root@server:~# cat /proc/bc/2401/resources
kmemsize 174817 205233 67108864 67108864 0
lockedpages 0 0 256 256 0
privvmpages 226 226 196608 262144 0
shmpages 0 0 21504 21504 0
numproc 1 1 1 1 1155
physpages 178 178 0 9223372036854775807 0
vmguarpages 0 0 65536 65536 0
oomguarpages 178 178 65536 65536 0
numtcpsock 0 0 99999 99999 0
numflock 0 0 188 206 0
numpty 0 0 16 16 0
numsiginfo 0 0 256 256 0
tcpsndbuf 0 0 409595904 409595904 0
tcprcvbuf 0 0 409595904 409595904 0
othersockbuf 0 1288 1126080 2097152 0
dgramrcvbuf 0 0 262144 262144 0
numothersock 38 40 99999 99999 0
dcachesize 11268 17841 3409920 3624960 0
numfile 16 21 99999 99999 0
numiptent 10 10 128 128 0




В чём может быть причина, куда копать?

[Updated on: Tue, 01 June 2010 16:32]

Report message to a moderator

Re: Unable to fork: Cannot allocate memory [message #39782 is a reply to message #39781] Tue, 01 June 2010 16:49 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

у вас numproc стоит в 1

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Unable to fork: Cannot allocate memory [message #39783 is a reply to message #39782] Tue, 01 June 2010 17:08 Go to previous message
Good_admin is currently offline  Good_admin
Messages: 2
Registered: June 2010
Location: RF
Junior Member
Огромное спасибо! А мы всё на память думали...
Previous Topic: dafault gateway в VE c venet
Next Topic: Уже нет проблемы :)
Goto Forum:
  


Current Time: Sat Dec 02 14:53:38 GMT 2023

Total time taken to generate the page: 0.02013 seconds