From owner-freebsd-questions@FreeBSD.ORG Sun May 14 03:47:21 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E453016A402 for ; Sun, 14 May 2006 03:47:21 +0000 (UTC) (envelope-from andrew.chace@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79A9843D45 for ; Sun, 14 May 2006 03:47:21 +0000 (GMT) (envelope-from andrew.chace@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so418487nzi for ; Sat, 13 May 2006 20:47:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=oEC/2iQ5sXCVuPSqwuIYRBpsZ2SpzIzOXTYwNrlIPAC+W4sYJWxjOH7PD3+bInBPDlPG/ZGKlIYf1V0DrukDQOGtV34VK1YsePU1s4i8etXelDuUja9X8EOYxvuivQi2H9Ts7S8xPDyPtxIqvdkONh5EeGw5FuEhr/KU/5XWyOA= Received: by 10.36.252.70 with SMTP id z70mr206450nzh; Sat, 13 May 2006 20:47:20 -0700 (PDT) Received: from ?192.168.0.6? ( [71.38.163.167]) by mx.gmail.com with ESMTP id 22sm6026475nzn.2006.05.13.20.47.20; Sat, 13 May 2006 20:47:20 -0700 (PDT) From: Andrew To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Sat, 13 May 2006 22:45:37 -0500 Message-Id: <1147578337.10075.12.camel@LatitudeFC5.network> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) Content-Transfer-Encoding: 7bit Subject: VM and jailed processes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 May 2006 03:47:22 -0000 Ok, I'm a bit fuzzy on some of the details, so take it easy. ;-) It's my understanding that if there is more than one instance of a specific application running, then portions of the code are shared in memory. I would assume that would apply to dynamically linked applications as well; i.e. if two different applications are linked against the same library, the given code exists in only one location in memory. Is this correct? The second portion of my question is, how does this apply to jailed processes? Looking through the architecture handbook, I did not see any references to VM, which leads me to believe that the standard rules apply to jails as well. So, for instance, if I was to provide a hosting service with numerous instances of Apache running in individual jails, could I assume that base memory usage (ie idle, not serving requests) would increase at a roughly linear rate? Lastly, if this is a question perhaps more appropriate for hackers@, please correct me. Thanks, -Andrew