From owner-freebsd-jail@FreeBSD.ORG Sun Apr 15 19:28:57 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AF1781065673 for ; Sun, 15 Apr 2012 19:28:57 +0000 (UTC) (envelope-from rsb@berentweb.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 271BF8FC0A for ; Sun, 15 Apr 2012 19:28:56 +0000 (UTC) Received: by lagv3 with SMTP id v3so4436067lag.13 for ; Sun, 15 Apr 2012 12:28:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berentweb.com; s=google; h=mime-version:sender:x-originating-ip:date:x-google-sender-auth :message-id:subject:from:to:content-type; bh=HFw/CXh93wKl4PKVtZ9xbRuqd14VkuFWcQcWZZQ9GGo=; b=Ct2NmJfQIKkmJeOjZJxiI+nPRjHCU4uwn3pv7R54Nb+pmGcU2RkngHRoOCdJQ3z8u0 N/I5z8tEMQNdB1H2O1wJU0pvhxzEfcvwzZAQbg9roCT8jkRwCALXoHf892S+uj6mv0yW S/ACZFR6NqaHxEQIk2XJNH700grETu6H3gNqw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:date:x-google-sender-auth :message-id:subject:from:to:content-type:x-gm-message-state; bh=HFw/CXh93wKl4PKVtZ9xbRuqd14VkuFWcQcWZZQ9GGo=; b=KtoUANJCvzBroUsYA7JECMa8avB1p3rV7n5Ik/Px1DzYlVQAUmxGa9YcCtj2OJgiMZ ttEV+trZvURSCQ/XkPxlrYUQCodLUQejF3CZyQCu1qb1hfljKdVKjrMEjN2FF8USivwf UNhRMyNjJSECa4jic9pc4dC/4S5scp+2P0ZEIoPT7+sk6eOSkjBqTyw+LtHT/g2pahqB grjxHDpj5JJpTnmoACO3I4vCd/FArbzCKlRIx7Fyr1XvQ6fX/mBEtW9FOHPX7XwxisNL mVwR08gEO20owdYnGXb5vfw9FjIjUSWJLNdullToXXHLuNxAz1wggMBq6RIz6JgQT7c7 Pm5w== MIME-Version: 1.0 Received: by 10.112.84.131 with SMTP id z3mr3961121lby.56.1334518135943; Sun, 15 Apr 2012 12:28:55 -0700 (PDT) Sender: rsb@berentweb.com Received: by 10.112.107.196 with HTTP; Sun, 15 Apr 2012 12:28:55 -0700 (PDT) X-Originating-IP: [85.110.33.237] Date: Sun, 15 Apr 2012 22:28:55 +0300 X-Google-Sender-Auth: WHUMpFI6cPATVryXCWbbRO36jIQ Message-ID: From: Beeblebrox To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQksWrudduRmugGzRqRvh4mQHwtAOF0wGcxHVkTnCZZS2JTGaQ1AR3rWhOKKqaYM+5shnai7 Subject: intra-jail communication slow X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2012 19:28:58 -0000 I would like to know if this is normal for jails: 1. 3 different Jails for mysql , http, tinderbox. 2. No pf / nat running for the time being 3. My ifconfig for jails: inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 (tinderbox, dhcp, tftp) inet 192.168.2.100 netmask 0xffffffff broadcast 192.168.2.100 (http) inet 192.168.2.101 netmask 0xffffffff broadcast 192.168.2.101 (mysql) Problem: Jails seem to be communicating with host and with each-other at an observably slower rate, compared to when all services are host-based. Is this normal for jails or is my netconfig problematic in some way? From owner-freebsd-jail@FreeBSD.ORG Sun Apr 15 21:39:21 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C4D3106564A for ; Sun, 15 Apr 2012 21:39:21 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) by mx1.freebsd.org (Postfix) with ESMTP id AB6438FC18 for ; Sun, 15 Apr 2012 21:39:20 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 5EB8A25D3A6E; Sun, 15 Apr 2012 21:39:19 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 5ED6ABE4EB0; Sun, 15 Apr 2012 21:39:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id BNh7EJfguIrz; Sun, 15 Apr 2012 21:39:17 +0000 (UTC) Received: from orange-en1.sbone.de (orange-en1.sbone.de [IPv6:fde9:577b:c1a9:31:cabc:c8ff:fecf:e8e3]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 1B6B7BE4EAF; Sun, 15 Apr 2012 21:39:16 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: "Bjoern A. Zeeb" In-Reply-To: Date: Sun, 15 Apr 2012 21:39:15 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Beeblebrox X-Mailer: Apple Mail (2.1084) Cc: freebsd-jail@freebsd.org Subject: Re: intra-jail communication slow X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2012 21:39:21 -0000 On 15. Apr 2012, at 19:28 , Beeblebrox wrote: > I would like to know if this is normal for jails: > 1. 3 different Jails for mysql , http, tinderbox. > 2. No pf / nat running for the time being > 3. My ifconfig for jails: > inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255 > (tinderbox, dhcp, tftp) > inet 192.168.2.100 netmask 0xffffffff broadcast 192.168.2.100 = (http) > inet 192.168.2.101 netmask 0xffffffff broadcast 192.168.2.101 = (mysql) >=20 > Problem: Jails seem to be communicating with host and with each-other > at an observably slower rate, compared to when all services are > host-based. Which communications and how much slower? > Is this normal for jails or is my netconfig problematic in some way? In theory not, but in practise please notice that for example with mysql = you may switch from unix domain sockets (usually used in "localhost" = case) to normal inet socket communications etc. which may affect your = overall feeling of "speed". Knowing details and numbers etc might help here to rule out a jail = specific problem. /bz --=20 Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters what good you do! From owner-freebsd-jail@FreeBSD.ORG Mon Apr 16 06:17:14 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDCC8106566C for ; Mon, 16 Apr 2012 06:17:14 +0000 (UTC) (envelope-from rsb@berentweb.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id DEB2E8FC0C for ; Mon, 16 Apr 2012 06:17:13 +0000 (UTC) Received: by lbbgj3 with SMTP id gj3so4644116lbb.13 for ; Sun, 15 Apr 2012 23:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=berentweb.com; s=google; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=OTBixzUAZOriOPEkiS6MxydtUI5hW7zOPr0c1hRvT48=; b=eeeR9OlydAO9Bqny0C0D/BM4sFpBz85NJzBQ/uB27MS74/ajup8H/jZu/hnPk32vJ2 AMVWPSi3g1n3f5RfEl2iX8mfz8IMwRo0wOrak3dpDfBco7tVcXb4zC4uIAOJojuXZs5F L5yzhkdHprXazg9PqsIKYD9FnSbRn/ypd17Wc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:x-originating-ip:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :x-gm-message-state; bh=OTBixzUAZOriOPEkiS6MxydtUI5hW7zOPr0c1hRvT48=; b=bBizy4pguA4w4TkmIC2eNsj23+74XpbrVPJRx7upzQm4mAKP1+xAf/NgINVTqCBXP5 azpQsyDtMYJFSLwAmhX1+3Lqr3kh/A+HXxfmpVlX8j9gg1jiBPICNYcYWUPlMass/DON tOsn71ZJ6bpR2+jlmlmcUon0u72zIOWwMQTLVrifiqFjh6ShRhz9ib6ZuXtu88Uczqfv cLzrcqm7OssmlnkxkxSP2spL7tMFnsCR8ZWcFYmD5pMsiIMML+YDUz2PeyBp6gLP6j/j 9RgOLgSRNSqdtd7iWQ1+ZasNWn6qXpggZnDi6aYB70saUWxiTXhiyRx+ILw+ydJoA2ML 1wSg== MIME-Version: 1.0 Received: by 10.152.132.4 with SMTP id oq4mr8963824lab.40.1334557026606; Sun, 15 Apr 2012 23:17:06 -0700 (PDT) Sender: rsb@berentweb.com Received: by 10.112.107.196 with HTTP; Sun, 15 Apr 2012 23:17:06 -0700 (PDT) X-Originating-IP: [85.110.33.237] In-Reply-To: References: Date: Mon, 16 Apr 2012 09:17:06 +0300 X-Google-Sender-Auth: gcqqwwK2oVauNE6WcXbkjuRWDOI Message-ID: From: Beeblebrox To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmsk0q44WWWT/rUUmsQgtH+6YfyrpjhMnoM6YwmfoI5edGLDhbvnz7Zc3FDNP8SGfLavt3m Subject: Re: intra-jail communication slow X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2012 06:17:15 -0000 Hi, > Which communications Let's take mysql for example, sockstat showing: mysql mysqld 1491 10 tcp4 192.168.2.101:3306 *:* where IP 192.168.2.101/32 is an aliased address over 192.168.2.1/24 So the communication in this case is tcp through re0 (again, no pf atm) and how much slower? Just visual observation. The jails are not in production environment so they have no traffic except me; and all I am doing is some setups/configurations. I have not ran any specific speed tests. One observation was long process time when listing tables in database from webmin. >> Is this normal for jails or is my netconfig problematic in some way? >In theory not, but in practise please notice that for example with mysql you may switch from unix domain sockets (usually > used in "localhost" case) to normal inet socket communications etc. which may affect your overall feeling of "speed". I suppose that is the case in the above example? > Knowing details and numbers etc might help here to rule out a jail specific problem. I'd be more than happy to supply if you could give me the specifics you want to see. Regards. From owner-freebsd-jail@FreeBSD.ORG Mon Apr 16 09:43:02 2012 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 561E61065670 for ; Mon, 16 Apr 2012 09:43:02 +0000 (UTC) (envelope-from jbig2-dev-bounces@ghostscript.com) Received: from casper3.ghostscript.com (casper3.ghostscript.com [184.73.189.105]) by mx1.freebsd.org (Postfix) with ESMTP id 285608FC0C for ; Mon, 16 Apr 2012 09:43:02 +0000 (UTC) Received: from casper3.ghostscript.com (localhost [127.0.0.1]) by casper3.ghostscript.com (Postfix) with ESMTP id DF30C3A4361 for ; Mon, 16 Apr 2012 09:33:31 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: jbig2-dev-bounces@ghostscript.com To: freebsd-jail@freebsd.org Message-ID: Date: Mon, 16 Apr 2012 09:33:28 +0000 Precedence: bulk X-BeenThere: jbig2-dev@ghostscript.com X-Mailman-Version: 2.1.13 X-List-Administrivia: yes Sender: jbig2-dev-bounces@ghostscript.com Errors-To: jbig2-dev-bounces@ghostscript.com Subject: Your message to jbig2-dev awaits moderator approval X-BeenThere: freebsd-jail@freebsd.org List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2012 09:43:02 -0000 Your mail to 'jbig2-dev' with the subject Message could not be delivered Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: http://ghostscript.com/cgi-bin/mailman/confirm/jbig2-dev/a489c27278f3eb84844b18b3078da3ec0090b534 From owner-freebsd-jail@FreeBSD.ORG Mon Apr 16 11:07:21 2012 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74388106564A for ; Mon, 16 Apr 2012 11:07:21 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5DCD98FC19 for ; Mon, 16 Apr 2012 11:07:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3GB7LFa022431 for ; Mon, 16 Apr 2012 11:07:21 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3GB7KDn022429 for freebsd-jail@FreeBSD.org; Mon, 16 Apr 2012 11:07:20 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 Apr 2012 11:07:20 GMT Message-Id: <201204161107.q3GB7KDn022429@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2012 11:07:21 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- p bin/165515 jail [jail][patch] "jail: unknown parameter: allow.nomount" p bin/161957 jail jls(8): jls -v doesn't show anything if system compile o kern/159918 jail [jail] inter-jail communication failure o kern/156111 jail [jail] procstat -b not supported in jail o misc/155765 jail [patch] `buildworld' does not honors WITHOUT_JAIL o conf/154246 jail [jail] [patch] Bad symlink created if devfs mount poin o conf/149050 jail [jail] rcorder ``nojail'' too coarse for Jail+VNET s conf/142972 jail [jail] [patch] Support JAILv2 and vnet in rc.d/jail o conf/141317 jail [patch] uncorrect jail stop in /etc/rc.d/jail o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 13 problems total. From owner-freebsd-jail@FreeBSD.ORG Wed Apr 18 16:30:12 2012 Return-Path: Delivered-To: freebsd-jail@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2023B1065783 for ; Wed, 18 Apr 2012 16:30:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2FED98FC12 for ; Wed, 18 Apr 2012 16:30:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q3IGU8O9011093 for ; Wed, 18 Apr 2012 16:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q3IGU8Dt011089; Wed, 18 Apr 2012 16:30:08 GMT (envelope-from gnats) Date: Wed, 18 Apr 2012 16:30:08 GMT Message-Id: <201204181630.q3IGU8Dt011089@freefall.freebsd.org> To: freebsd-jail@FreeBSD.org From: Mike Jakubik Cc: Subject: Re: bin/165515: [jail][patch] "jail: unknown parameter: allow.nomount" when starting jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Jakubik List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2012 16:30:12 -0000 The following reply was made to PR bin/165515; it has been noted by GNATS. From: Mike Jakubik To: bug-followup@FreeBSD.org, gjb@FreeBSD.org Cc: Subject: Re: bin/165515: [jail][patch] "jail: unknown parameter: allow.nomount" when starting jail Date: Wed, 18 Apr 2012 12:26:57 -0400 This does not fix the problem for me. I am running 9-STABLE as of Apr 16, and still experience this error. root@jail.local:~# uname -a FreeBSD jail.local 9.0-STABLE FreeBSD 9.0-STABLE #0: Mon Apr 16 12:25:06 EDT 2012 root@jail.local:/usr/obj/usr/src/sys/JAIL amd64 root@jail.local:~# jail -U root -i /jails/web web.local '"10.57.227.98"' /bin/sh /etc/rc jail: unknown parameter: allow.nomount root@jail.local:~# /etc/rc.d/jail start Configuring jails:. Starting jails: cannot start jail "web": . + echo ' cannot start jail "web": ' cannot start jail "web": + tail +2 /tmp/jail.LJMEekMV/jail.31007 jail: unknown parameter: allow.nomount