Resource limit question [message #9884] |
Sat, 27 January 2007 05:34 |
Romeo Theriault
Messages: 20 Registered: December 2006
|
Junior Member |
|
|
Hi, I've fairly recently started using Openvz on a server I manage, and have
been very pleased with it thus far. Thank you for making this project freely
availble.
The server I am working with has a dual-core AMD64 cpu with 2 gigs of ram
with the sata hard-drives in a Raid 1. I've split up the config files using
vzsplit -n 12 -s 0 -f vps.mytest, evenly splitting up the hardware
resources.
In one of the vps's I'm running a database, in a few others I'm running some
web-based applications, etc...
Slowly I've been noticing different vps's are trying to allocate more than
their share of the resources occuring in counts to the user_beancounter
file.
So I'll go in an allocate more resources to the specified parameter of the
overreaching vps, and this seems to work fine.
But my question is, is this a good idea? If so how much "extra" resources
are recommended to allocate to these VPS's that want more? I am not wanting
to affect the stability of the other VPS's by allocating more than needed to
any one given VPS.
I guess I'm looking for suggestions/recommendeds on how other people deal
with this. Do I just need to allocate less total VPS's to this machine. As
well as possible pointers to better documentation on this than the User
Guide provides.
Thanks,
Romeo
|
|
|
Re: Resource limit question [message #9885 is a reply to message #9884] |
Sat, 27 January 2007 23:40 |
|
Romeo Theriault wrote:
> Hi, I've fairly recently started using Openvz on a server I manage, and have
> been very pleased with it thus far. Thank you for making this project freely
> availble.
>
> The server I am working with has a dual-core AMD64 cpu with 2 gigs of ram
> with the sata hard-drives in a Raid 1. I've split up the config files using
> vzsplit -n 12 -s 0 -f vps.mytest, evenly splitting up the hardware
> resources.
>
> In one of the vps's I'm running a database, in a few others I'm running some
> web-based applications, etc...
>
> Slowly I've been noticing different vps's are trying to allocate more than
> their share of the resources occuring in counts to the user_beancounter
> file.
>
> So I'll go in an allocate more resources to the specified parameter of the
> overreaching vps, and this seems to work fine.
>
> But my question is, is this a good idea? If so how much "extra" resources
> are recommended to allocate to these VPS's that want more? I am not wanting
> to affect the stability of the other VPS's by allocating more than needed to
> any one given VPS.
>
> I guess I'm looking for suggestions/recommendeds on how other people deal
> with this. Do I just need to allocate less total VPS's to this machine. As
> well as possible pointers to better documentation on this than the User
> Guide provides.
>
The doc you need is http://wiki.openvz.org/UBC_systemwide_configuration
The utilities that will be helpful in this case are vzmemcheck and vzcalc.
|
|
|
Re: Resource limit question [message #9898 is a reply to message #9885] |
Sun, 28 January 2007 15:55 |
Romeo Theriault
Messages: 20 Registered: December 2006
|
Junior Member |
|
|
On Sun, 28 Jan 2007 02:40:22 +0300, "Kir Kolyshkin" <kir@openvz.org>
said:
> Romeo Theriault wrote:
> > Hi, I've fairly recently started using Openvz on a server I manage, and have
> > been very pleased with it thus far. Thank you for making this project freely
> > availble.
> >
> > The server I am working with has a dual-core AMD64 cpu with 2 gigs of ram
> > with the sata hard-drives in a Raid 1. I've split up the config files using
> > vzsplit -n 12 -s 0 -f vps.mytest, evenly splitting up the hardware
> > resources.
> >
> > In one of the vps's I'm running a database, in a few others I'm running some
> > web-based applications, etc...
> >
> > Slowly I've been noticing different vps's are trying to allocate more than
> > their share of the resources occuring in counts to the user_beancounter
> > file.
> >
> > So I'll go in an allocate more resources to the specified parameter of the
> > overreaching vps, and this seems to work fine.
> >
> > But my question is, is this a good idea? If so how much "extra" resources
> > are recommended to allocate to these VPS's that want more? I am not wanting
> > to affect the stability of the other VPS's by allocating more than needed to
> > any one given VPS.
> >
> > I guess I'm looking for suggestions/recommendeds on how other people deal
> > with this. Do I just need to allocate less total VPS's to this machine. As
> > well as possible pointers to better documentation on this than the User
> > Guide provides.
> >
> The doc you need is http://wiki.openvz.org/UBC_systemwide_configuration
> The utilities that will be helpful in this case are vzmemcheck and
> vzcalc.
Great! Thank you.
Romeo
|
|
|