OpenVZ Forum


Home » General » Support » CT: failed to start with err=-12 (Memory error)
CT: failed to start with err=-12 [message #37846] Wed, 28 October 2009 07:25 Go to previous message
lours is currently offline  lours
Messages: 5
Registered: October 2009
Junior Member
Hie,

I have CT: 150: failed to start with err=-12 on my server and ENOMEM (Cannot allocate memory) in strace

VT 101 to 149 works without trouble but 150 fail to start, so i have currently 49 virtuals running

I think i have enough memory and i can't find where is the problem.

Can somebody help me

Server : Ubuntu TLS 8.04 on power Edge 620
# free
             total       used       free     shared    buffers     cached
Mem:       8171912    4117748    4054164          0     149988    1683428
-/+ buffers/cache:    2284332    5887580
Swap:      1951856      46380    1905476


With /var/lib/vz link in /home/vz
# df -h
Sys. de fich.            Tail. Occ. Disp. %Occ. Monté sur
/dev/sda1             9,3G  5,3G  3,6G  60% /
varrun                3,9G   88K  3,9G   1% /var/run
varlock               3,9G     0  3,9G   0% /var/lock
udev                  3,9G   76K  3,9G   1% /dev
devshm                3,9G     0  3,9G   0% /dev/shm
lrm                   3,9G   47M  3,9G   2% /lib/modules/2.6.24-25-openvz/volatile
/dev/sda8             113G   32G   76G  30% /home
/dev/sda7             1,9G   35M  1,8G   2% /tmp
/dev/sda6             9,3G  1,6G  7,3G  18% /var/log


ulimit are default ubuntu
# ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 71680
max locked memory       (kbytes, -l) 32
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 71680
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited


Output of vzmemcheck

#vzmemcheck -v
veid        LowMem  LowMem     RAM MemSwap MemSwap   Alloc   Alloc   Alloc
              util  commit    util    util  commit    util  commit   limit
102           0.19    0.70    0.25    0.20    0.67    0.38    0.67    3.18
101           0.04    0.70    0.14    0.11    0.67    0.14    0.67    3.18
149           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
148           0.10    0.70    0.22    0.18    0.67    0.25    0.67    3.18
147           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
146           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
145           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
144           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
143           0.10    0.70    0.73    0.59    0.67    0.65    0.67    3.18
142           0.10    0.70    0.67    0.54    0.67    0.60    0.67    3.18
141           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
140           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
139           0.11    0.70    0.70    0.57    0.67    0.63    0.67    3.18
138           0.12    0.70    0.98    0.79    0.67    0.85    0.67    3.18
137           0.08    0.70    0.19    0.16    0.67    0.22    0.67    3.18
136           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
135           0.10    0.70    0.30    0.24    0.67    0.32    0.67    3.18
134           0.11    0.70    0.77    0.62    0.67    0.69    0.67    3.18
133           0.07    0.70    0.18    0.15    0.67    0.20    0.67    3.18
132           0.10    0.70    0.39    0.31    0.67    0.39    0.67    3.18
131           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
130           0.07    0.70    0.28    0.23    0.67    0.27    0.67    3.18
129           0.10    0.70    0.34    0.27    0.67    0.35    0.67    3.18
128           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
127           0.10    0.70    0.24    0.20    0.67    0.28    0.67    3.18
126           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
125           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
124           0.11    0.70    1.36    1.10    0.67    1.16    0.67    3.18
123           0.10    0.70    0.97    0.78    0.67    0.85    0.67    3.18
122           0.10    0.70    0.86    0.70    0.67    0.77    0.67    3.18
121           0.10    0.70    0.35    0.28    0.67    0.36    0.67    3.18
120           0.10    0.70    0.81    0.65    0.67    0.72    0.67    3.18
119           0.10    0.70    0.67    0.54    0.67    0.60    0.67    3.18
118           0.11    0.70    0.87    0.70    0.67    0.78    0.67    3.18
117           0.10    0.70    0.83    0.67    0.67    0.74    0.67    3.18
116           0.11    0.70    0.63    0.51    0.67    0.57    0.67    3.18
115           0.10    0.70    0.51    0.41    0.67    0.48    0.67    3.18
114           0.10    0.70    0.71    0.58    0.67    0.64    0.67    3.18
113           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
112           0.10    0.70    0.87    0.70    0.67    0.77    0.67    3.18
111           0.11    0.70    0.82    0.66    0.67    0.73    0.67    3.18
110           0.10    0.70    0.79    0.63    0.67    0.70    0.67    3.18
109           0.07    0.70    0.19    0.15    0.67    0.47    0.67    3.18
108           0.11    0.70    1.35    1.09    0.67    1.16    0.67    3.18
107           0.10    0.70    1.25    1.01    0.67    1.07    0.67    3.18
106           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
105           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
104           0.05    0.70    0.17    0.14    0.67    0.17    0.67    3.18
103           0.09    0.70    0.75    0.61    0.67    0.67    0.67    3.18
-------------------------------------------------------------------------
Summary:      4.13   34.30   23.73   19.16   33.03   22.25   33.03  155.96



The configuration ws created whith vzsplit -n 150, attached below

In attachement the trace log
#strace -fv vzctl start 150


Please can't someone tail me what a miss

Thanks

[Updated on: Wed, 28 October 2009 07:47]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Several Webserver
Next Topic: Processes in D state
Goto Forum:
  


Current Time: Thu Aug 15 05:16:27 GMT 2024

Total time taken to generate the page: 0.02745 seconds