bjmg Messages: 32 Registered: December 2005 Location: Puettlingen, Germany
Member
From: *dip.t-dialin.net
Hi,
I am using OpenVZ since about 3 months now. On a new host server (32bit system, 1 GB RAM, CentOS 4.2) I set up a debian VPS (based on the template provided on your FTP server).
Now the problem is that I get a REALLY high failcount for kmemsize. It is completely irrelevant what values for KMEMSIZE I use I always get nearly the same values. The problem is that the value is already that high about 1 second after start.
I really hope someone of the developers can help me.
First, here is the output of /proc/user_beancounters:
kir Messages: 1430 Registered: August 2005 Location: Moscow, Russia
Senior Member
From: *sw.ru
It happens...
Most probable reason is some application is trying to grab some high amount of memory. So, look for some strange memory-related messages from logs.
Another reason could be a stateful firewall inside a VPS -- if there are too many connections, netfilter can allocate quite a big amounts of kernel memory. Are there a lot of records in /proc/net/ip_conntrack file inside a VPS? Does it help to run a VPS without any iptables rules (you can actually clone a VPS and run its clone without iptables to check)?Kir Kolyshkin
bjmg Messages: 32 Registered: December 2005 Location: Puettlingen, Germany
Member
From: *dip.t-dialin.net
Thanks kir,
The problem was that some one my parameters were too low and mysql tried to allocate much more memory. Now I used vzsplit to generate the config and everything seems to work fine.