Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 15:52:30 -0200
From:      Fabio Yasusi Yamamoto <fabio@hostname.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Virtual Servers
Message-ID:  <3C3F265E.10403@hostname.org>
References:  <3C3E0523.A4EA7B1C@jwebmedia.com> <200201110619.g0B6JcO69567@blackbox.pacbell.net> <3C3EF0A5.DF26C000@jwebmedia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms080508090009040502070609
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Joseph Koenig wrote:

>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
>
memory limit can be done using the ulimit
i have one 'virtual servers' from verio.net ( freebsd ):

bash$ ulimit -a
core file size (blocks)     unlimited
data seg size (kbytes)      28672
file size (blocks)          unlimited
max locked memory (kbytes)  unlimited
max memory size (kbytes)    40960
open files                  150
pipe size (512 bytes)       1
stack size (kbytes)         28672
cpu time (seconds)          unlimited
max user processes          60
virtual memory (kbytes)     57344

they don't control cpu usage.



--------------ms080508090009040502070609
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQEx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pU2lnbiBUcnVzdCBOZXR3b3JrMUYwRAYDVQQLEz13
d3cudmVyaXNpZ24uY29tL3JlcG9zaXRvcnkvUlBBIEluY29ycC4gQnkgUmVmLixMSUFCLkxU
RChjKTk4MUgwRgYDVQQDEz9WZXJpU2lnbiBDbGFzcyAxIENBIEluZGl2aWR1YWwgU3Vic2Ny
aWJlci1QZXJzb25hIE5vdCBWYWxpZGF0ZWQCEAEsxw+HiM6lqd8s7g1YjFUwDQYJKoZIhvcN
AQEBBQAEggEAh/BwkpUPIIwWYYUtE12jhgNfDBWaN50xby6lr4YeVGo5ZZWk4XJKbW81qlHF
nEcL8HFRovBXMKBs6zjwUTFX40fzsxLtfpqLVnqS0URKERKXsoBk7lMNIeK+L2AQnSCC+7i/
7267UouBiiC5n3Sf4uJ6i/cw4mW4UDxzN3wqTxdIHB4OIuQGXMhaGPDVvb6LjSPnVcOlLp3N
8o3S/fAPLcZxkxeA3YIqrBweOEr0CfUyzc9BklooMWbHqv7j/TCiWfHRFZTf88PWnvt5eGOH
XzzORxHXpRxnmEygA+K1T7wn0upWp2HQchUDpTp8TzmF5jivsohp7TtLLRnV+aYgRwAAAAAA
AA==
--------------ms080508090009040502070609--


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?3C3F265E.10403>