From owner-freebsd-jail@FreeBSD.ORG Tue Oct 23 18:26:23 2007 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 EF13516A418; Tue, 23 Oct 2007 18:26:23 +0000 (UTC) (envelope-from hoschi@etain.frida.mouhaha.de) Received: from etain.frida.mouhaha.de (etain.frida.mouhaha.de [85.236.48.54]) by mx1.freebsd.org (Postfix) with ESMTP id C205A13C4D1; Tue, 23 Oct 2007 18:26:23 +0000 (UTC) (envelope-from hoschi@etain.frida.mouhaha.de) Received: from localhost (etain.frida.mouhaha.de [85.236.48.54]) by etain.frida.mouhaha.de (Postfix) with ESMTP id 863FF4B359C; Tue, 23 Oct 2007 20:07:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at mouhaha.de Received: from etain.frida.mouhaha.de ([85.236.48.54]) by localhost (etain.frida.mouhaha.de [85.236.48.54]) (amavisd-new, port 10024) with ESMTP id jCboZi49LYmC; Tue, 23 Oct 2007 20:07:19 +0200 (CEST) Received: by etain.frida.mouhaha.de (Postfix, from userid 1001) id AEA4B4B359A; Tue, 23 Oct 2007 20:07:19 +0200 (CEST) Date: Tue, 23 Oct 2007 20:07:19 +0200 From: Oliver Peter To: freebsd-questions@freebsd.org, freebsd-jail@freebsd.org Message-ID: <20071023180719.GA22904@nemesis.frida.mouhaha.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mP3DRpeJDSE+ciuQ" Content-Disposition: inline X-Operating-System: FreeBSD 6.2-RELEASE-p8 i386 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: multiple postgresql servers in multiple jails? 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: Tue, 23 Oct 2007 18:26:24 -0000 --mP3DRpeJDSE+ciuQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Does anybody have a running system with more than one jail hosting more than one postgres server? I can only have one pgsql database on one host at all. I already tried to increase the shared memory off my machine with additional kernel [1] and sysctl parameters [2] and I also tried to change the numeric UID directly in the jails into a seperate one. Same errors. Of course I already have defined jail_sysvipc_allow=3D"YES" in rc.conf. I have this issue on 6.2-RELEASE-p8 and 8.0-CURRENT with postgresql-server-8.2.5_1. ------------------------------------------------------------------------ % psql psql: FATAL: semctl(458753, 15, SETVAL, 0) failed: Invalid argument ------------------------------------------------------------------------ Or some fun with perl/DBD ------------------------------------------------------------------------ Out of memory during request for 108 bytes, total sbrk() is 534585344 bytes! Out of memory during request for 288 bytes, total sbrk() is 534585344 bytes! Out of memory during request for 288 bytes, total sbrk() is 534585344 bytes! ------------------------------------------------------------------------ [1] options SYSVSHM options SYSVSEM options SYSVMSG options SHMMAXPGS=3D65536 options SEMMNI=3D40 options SEMMNS=3D240 options SEMUME=3D40 options SEMMNU=3D120 [2] http://www.freebsddiary.org/jail-multiple.php --=20 Oliver PETER, eMail: hoschi@mouhaha.de, ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." --mP3DRpeJDSE+ciuQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iEYEARECAAYFAkceOFcACgkQ6LH/IUVtaI/7EgCgnuBfyCVrfb5z8rawlsSOayWJ LqUAoJlKfxfgECb2/WYbJZ5arzEXK8Ur =t9bu -----END PGP SIGNATURE----- --mP3DRpeJDSE+ciuQ--