From owner-freebsd-questions Fri Jan 11 5:50:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from email.accessus.net (email.accessus.net [209.145.128.5]) by hub.freebsd.org (Postfix) with ESMTP id 6DB3337B417 for ; Fri, 11 Jan 2002 05:50:18 -0800 (PST) Received: from [209.145.133.59] (account jkoenig@accessus.net HELO jwebmedia.com) by email.accessus.net (CommuniGate Pro SMTP 3.4.8) with ESMTP id 37431991 for freebsd-questions@freebsd.org; Fri, 11 Jan 2002 07:50:17 -0600 Message-ID: <3C3EF0A5.DF26C000@jwebmedia.com> Date: Fri, 11 Jan 2002 08:03:16 -0600 From: Joseph Koenig Reply-To: joe@jwebmedia.com Organization: jWeb New Media Design X-Mailer: Mozilla 4.77 (Macintosh; U; PPC) X-Accept-Language: en MIME-Version: 1.0 Cc: freebsd-questions@freebsd.org Subject: Re: Virtual Servers References: <3C3E0523.A4EA7B1C@jwebmedia.com> <200201110619.g0B6JcO69567@blackbox.pacbell.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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