Skip to contentSkip to conversation

ip_conntrack: falling back to vmalloc

DISCUSSION Sébastien CRAMATTE 1 participant 1 message Nov 16, 2007

lore
Share & tools
lore
#0 lore raw

Hello

I've got a server with 3Gb of ram and I want to keep 256 for the system and allocate the rest to conntrack ...

I've tried to change the HASHSIZE of the ip_conntrack but dmesg return me this error !

ip_conntrack version 2.4 (2097152 buckets, 16777216 max) - 236 bytes per conntrack
ip_conntrack: falling back to vmalloc.

....

I've use this "math" to calculate it :

(3072 - 256) x 10242 - 236 = 12511822,1027

The near "power of 2" seems to be 223 = 8388608

With this result I've change my "sysctl.conf" file

net.ipv4.netfilter.ip_conntrack_max = 8388608 net.ipv4.netfilter.ip_conntrack_tcp_timeout_established= 28800

and I've to change the HASHSIZE to ip_conntrack_max / 4 ...

What is wrong ! How can I solve the problem ...
I'm waiting for a server with 8Gb (8192) of ram most of available to use with conntrack !

Regards

Signature · 27 lines
ZEN SOLUCIONES - Be in XForms take your "Concentré"
Sébastien CRAMATTE 

Plaza Sandoval, 5, piso 4b
30004 Murcia - ESPAÑA

Móvil : +34 627 66 52 83
Fijo : +34 968 29 29 65

E-mail : [email protected]
Site : www.zensoluciones.com

Skype : scramatte
Msn : [email protected]
Jabber: [email protected]
--

CONCENTRÉ
xml entreprise grade framework
http://concentre.zensoluciones.com

--
This e-mail is privileged and may contain confidential information intended only for the person(s) named above. If you receive this e-mail in error, please notify the sender immediately and delete it. E-mail and internet transmissions can't be warrant privacy, integrity or correct reception. The sender will not be liable for any damages resulting. 

Este mensaje va dirigido, de manera exclusiva, a su destinatario y puede contener información confidencial. En caso de haber recibido este mensaje por error, informe al emisor inmediatamente y proceda a su eliminación. El correo electrónico y las comunicaciones por medio de Internet no permiten garantizar la confidencialidad de los mensajes transmitidos, así como tampoco su integridad o su correcta de recepción. El emisor no asume responsabilidad alguna por tales circunstancias.

Ce message est destiné exclusivement à son destinataire et peut contenir des informations confidentielles. En cas de réception d'un tel message par erreur, informez l'expéditeur immédiatement et procédez à son effacement. Il n'est pas possible de garantir la confidentialité, l'intégrité ou la réception correcte du courrier électronique ainsi que des communications par internet. L'expéditeur ne peut être tenu pour responsable d'éventuels dommages commis.

begin:vcard
fn;quoted-printable:S=C3=A9bastien CRAMATTE n;quoted-printable:CRAMATTE;S=C3=A9bastien
org:Zen Soluciones;IT and Network adr;quoted-printable:4b;;Plaza Sandoval, 5 ;Murcia;Murcia;30004;Espa=C3=B1a email;internet:[email protected]
title:Consultant
tel;work:+34968292965
tel;cell:+34627665283
x-mozilla-html:FALSE
url:http://www.zensoluciones.com
version:2.1
end:vcard