OpenVZ Forum - RDF feed
type: channel
items: Problems with swap
items: Re: Problems with swap

Problems with swap
type: item
description: Hi All, I setup an openVZ server and installed 2 VEs there. All is good except one thing: there is no swap available for VEs. On parent server all looks ok: ================================================ # free total used free shared buffers cached Mem: 4141608 3834984 306624 0 178040 3095728 -/+ buffers/cache: 561216 3580392 Swap: 4096564 0 4096564 ================================================ but on VEs it's not: ================================================ # free total used free shared buffers cached Mem: 4141608 485956 3655652 0 0 0 -/+ buffers/cache: 485956 3655652 Swap: 0 0 0 ================================================ So the question is: how can I setup swap for VEs? Thanks in advance for any help.
creator: Johnson
date: 2008-09-27T18:10:16-00:00

Re: Problems with swap
type: item
description: Hello, check this links will help you to understand ( http://wiki.openvz.org/UBC_systemwide_configuration#Memory_a nd_swap_space ) and ( http://wiki.openvz.org/Setting_UBC_parameters ) and to hide your UBC vzctl set CTID --meminfo none --save --setmod restart regards Alaa Eldin
creator: LinuxGeek
date: 2008-09-27T19:31:05-00:00

Re: Problems with swap
type: item
description: Hi Alaa, thanks much, that helped a lot! I read the documentation before posting here but not carefully enough so missed the right section.
creator: Johnson
date: 2008-09-28T07:35:02-00:00