OpenVZ - allocation failed: out of vmalloc space [message #24460] |
Wed, 05 December 2007 10:16 |
stuartornum
Messages: 21 Registered: February 2007
|
Junior Member |
|
|
Hi,
Got a slight problem on my development OpenVZ server, it has been working 100% up until 2 days ago when I did a restart.
I have 5 VE's (id 201 - 205), I was able to run all 5 will ample resourses spare.
Now I can only run one at a time...?
I checked the logs and get this
Code:
Dec 3 18:16:17 localhost kernel: allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
Dec 3 18:16:17 localhost kernel: VE: 202: stopped
Dec 3 18:16:17 localhost kernel: VE: 202: failed to start with err=-12
This may help as well
Code:
# cat /proc/meminfo | grep Vmalloc
VmallocTotal: 110584 kB
VmallocUsed: 110200 kB
VmallocChunk: 136 kB
Thanks in advanced
|
|
|
|
|
|
Re: OpenVZ - allocation failed: out of vmalloc space [message #24516 is a reply to message #24513] |
Wed, 05 December 2007 18:04 |
stuartornum
Messages: 21 Registered: February 2007
|
Junior Member |
|
|
Hi,
# lsmod
Module Size Used by
simfs 9068 1
vzcpt 111524 0
vzdquota 44180 1 [permanent]
xt_tcpudp 7040 0
xt_length 6016 0
ipt_ttl 5888 0
xt_tcpmss 6272 0
ipt_TCPMSS 8064 0
iptable_mangle 8576 1
iptable_nat 13188 2
ip_nat 22288 1 iptable_nat
ip_conntrack 60356 4 vzcpt,iptable_nat,ip_nat
nfnetlink 10648 2 ip_nat,ip_conntrack
iptable_filter 8576 1
xt_multiport 7168 0
xt_limit 6656 0
ipt_tos 5760 0
ipt_REJECT 9344 0
ip_tables 18760 3 iptable_mangle,iptable_nat,iptable_filter
x_tables 19204 11 xt_tcpudp,xt_length,ipt_ttl,xt_tcpmss,ipt_TCPMS S,iptable_nat,xt_multiport,xt_limit,ipt_tos,ipt_REJECT,ip_tables
parport_pc 29092 0
lp 16168 0
parport 37960 2 parport_pc,lp
autofs4 24324 0
sunrpc 145084 1
vznetdev 21764 2
vzmon 46088 3 vzcpt,vznetdev
ipv6 261280 16 vzcpt,vzmon
vzdev 7556 3 vzdquota,vznetdev,vzmon
joydev 13888 0
dm_mirror 29648 0
dm_mod 56984 1 dm_mirror
video 19588 0
sbs 18468 0
i2c_ec 8960 1 sbs
button 10512 0
battery 13700 0
asus_acpi 19480 0
ac 9092 0
usb_storage 76512 0
uhci_hcd 25356 0
ehci_hcd 32780 0
intelfb 34348 1
cfbcopyarea 7552 1 intelfb
cfbimgblt 6912 1 intelfb
cfbfillrect 7552 1 intelfb
i2c_i801 11276 0
i2c_core 23552 2 i2c_ec,i2c_i801
snd_hda_intel 21268 0
snd_hda_codec 144128 1 snd_hda_intel
snd_pcm_oss 43168 0
snd_mixer_oss 19200 1 snd_pcm_oss
snd_pcm 72964 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 25604 1 snd_pcm
snd 52740 6 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixe r_oss,snd_pcm,snd_timer
soundcore 13152 1 snd
snd_page_alloc 13832 2 snd_hda_intel,snd_pcm
r8169 31496 0
e100 36744 0
mii 9216 1 e100
ide_cd 39968 0
cdrom 38048 1 ide_cd
ext3 124040 3
jbd 61736 1 ext3
ata_piix 17416 4
libata 97176 1 ata_piix
sd_mod 22912 6
scsi_mod 131212 3 usb_storage,libata,sd_mod
|
|
|
|
Re: OpenVZ - allocation failed: out of vmalloc space [message #24586 is a reply to message #24583] |
Thu, 06 December 2007 14:18 |
stuartornum
Messages: 21 Registered: February 2007
|
Junior Member |
|
|
I have managed to find what the problem was.
in /etc/vz/vz.conf
I originally had
## IPv4 iptables kernel modules
IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"
However I wanted iptable_nat, so I added it to the list, and thats when I started getting this Vmalloc error, so I just removed it and all VPS' are now running !!
However why does iptable_nat cause his problem?
Thanks
[Updated on: Thu, 06 December 2007 14:19] Report message to a moderator
|
|
|
|
|
|
|
|
Re: OpenVZ - allocation failed: out of vmalloc space [message #27229 is a reply to message #24460] |
Tue, 12 February 2008 11:39 |
stuartornum
Messages: 21 Registered: February 2007
|
Junior Member |
|
|
Hi Vasily,
Thanks again for you help;
So far I have done this ( the numbers are Vmalloc used, VmallocTotal is 110584 kB )
VZ On - 110272 KB
VZ Off - 109896 KB
IPtables Off - 109588 KB
rmmod snd_hda_intel
rmmod snd_hda_codec - 109392 kB
Here is lsmod again:
# lsmod
Module Size Used by
ipt_LOG 10240 0
ipt_TOS 6272 0
x_tables 19204 2 ipt_LOG,ipt_TOS
vzdquota 44180 0 [permanent]
parport_pc 29092 0
lp 16168 0
parport 37960 2 parport_pc,lp
autofs4 24324 0
sunrpc 145084 1
ipv6 261280 16
vzdev 7556 1 vzdquota
joydev 13888 0
dm_mirror 29648 0
dm_mod 56984 1 dm_mirror
video 19588 0
sbs 18468 0
i2c_ec 8960 1 sbs
button 10512 0
battery 13700 0
asus_acpi 19480 0
ac 9092 0
usb_storage 76512 0
uhci_hcd 25356 0
ehci_hcd 32780 0
intelfb 34348 1
cfbcopyarea 7552 1 intelfb
cfbimgblt 6912 1 intelfb
cfbfillrect 7552 1 intelfb
i2c_i801 11276 0
i2c_core 23552 2 i2c_ec,i2c_i801
snd_pcm_oss 43168 0
snd_mixer_oss 19200 1 snd_pcm_oss
snd_pcm 72964 1 snd_pcm_oss
snd_timer 25604 1 snd_pcm
snd 52740 4 snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 13152 1 snd
snd_page_alloc 13832 1 snd_pcm
r8169 31496 0
e100 36744 0
mii 9216 1 e100
ide_cd 39968 0
cdrom 38048 1 ide_cd
ext3 124040 3
jbd 61736 1 ext3
ata_piix 17416 4
libata 97176 1 ata_piix
sd_mod 22912 6
scsi_mod 131212 3 usb_storage,libata,sd_mod
Thanks
[Updated on: Tue, 12 February 2008 11:39] Report message to a moderator
|
|
|
|
Re: OpenVZ - allocation failed: out of vmalloc space [message #27234 is a reply to message #24460] |
Tue, 12 February 2008 13:51 |
stuartornum
Messages: 21 Registered: February 2007
|
Junior Member |
|
|
Hi Vasily,
Ive got it!! Actually, bit of a work around, I install the enterprise kernel, and here is meminfo:
cat /proc/meminfo
MemTotal: 1029844 kB
MemFree: 934252 kB
Buffers: 10608 kB
Cached: 47484 kB
SwapCached: 0 kB
Active: 48900 kB
Inactive: 25604 kB
HighTotal: 128544 kB
HighFree: 58476 kB
LowTotal: 901300 kB
LowFree: 875776 kB
SwapTotal: 2104504 kB
SwapFree: 2104504 kB
Dirty: 8 kB
Writeback: 0 kB
AnonPages: 16424 kB
Mapped: 10300 kB
Slab: 11540 kB
PageTables: 876 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 2619424 kB
Committed_AS: 40264 kB
VmallocTotal: 118776 kB
VmallocUsed: 5488 kB
VmallocChunk: 113064 kB
Thank you for all your help, still dont know which module it was, I removed a hell of a lot too..?
Oh well, thanks again.
|
|
|