kir Messages: 1625 Registered: August 2005 Location: Moscow, Russia
On 08/07/2012 09:33 AM, Lin Han wrote:
> I just migrated from an openvz VPS with 2 GB Dedicated RAM and 1 GB Burst
> to an openvz VPS with 2 GB Dedicated RAM and 1 GB vswap.
> The old VPS was in a node with SolusVM and CentOS 5 and
> the new VPS is in a node with SolusVM and CentOS 6.
> It seems to be that Debian 6/64 cannot support(use) vswap
> and I have this error message.
> bash: xmalloc: ../bash/locale.c:73: cannot allocate 2 bytes (0 bytes
> Does Debian Squeeze 6/64 run in a VPS with Vswap?
VSwap is a feature provided by the kernel, and it is unrelated to a
that you run inside an OpenVZ container.
So this question is not Debian-specific, thus replying to users@ in Cc.
> Any ideas about how I can fix that error?
You haven't provided enough information to find out what is wrong.
Missing info is: your kernel version, /proc/user_beancounters contents etc.