Date: Fri, 11 Jan 2002 08:03:16 -0600 From: Joseph Koenig <joe@jwebmedia.com> Cc: freebsd-questions@freebsd.org Subject: Re: Virtual Servers Message-ID: <3C3EF0A5.DF26C000@jwebmedia.com> References: <3C3E0523.A4EA7B1C@jwebmedia.com> <200201110619.g0B6JcO69567@blackbox.pacbell.net>
next in thread | previous in thread | raw e-mail | index | archive | help
I've so far gotten 2 responses that say to use jail, so I'm betting that is the way to go, but let me explain a little further. By client I mean one of my clients. So, what I'm looking for is a way to 'set off' an area on the server so that it thinks there is only 128MB of RAM when there's really 1GB and only 800MB of drive space when there's 30GB and that it can only use 20% of the processor time. Those are just examples. But this in little 'virtual' server, there would be an instance of Apache, sendmail, MySQL, etc. that would only server that area. I guess it would be one user, "virtualUser1" or something, that would be the owner of all processes in that area. That way if my main apache server goes down, this client (my business client) is not affected. I don't want to lock resources so they can't be used by other parts of the machine, but I do want to limit what the client (mine) has access to, in terms of resources, and keep their processes completely seperate from the rest of the machine. I think a combination of user limits and jail will do this. Is this correct? Thanks, Joe Mike Makonnen wrote: > > Do you mean you want x% of cpu and y% of ram dedicated soley to one client (btw is client a user or an application?) and if that client isn't doing any work those locked resources can't be used at all? Or do you mean you don't want the client to use any more than x amount of cpu and y amount of RAM? If you mean the former I don't think it's doable, but if it's the latter: man login.conf > > Cheers, > mike makonnen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C3EF0A5.DF26C000>