From owner-freebsd-questions@FreeBSD.ORG Fri Oct 26 09:44:49 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56F7C16A46B; Fri, 26 Oct 2007 09:44:49 +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 ABD8F13C4CE; Fri, 26 Oct 2007 09:44:48 +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 84C124B9238; Fri, 26 Oct 2007 11:44:39 +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 GJpUR2l4vDtx; Fri, 26 Oct 2007 11:44:37 +0200 (CEST) Received: by etain.frida.mouhaha.de (Postfix, from userid 1001) id 910A44B9215; Fri, 26 Oct 2007 11:44:37 +0200 (CEST) Date: Fri, 26 Oct 2007 11:44:37 +0200 From: Oliver Peter To: freebsd-questions@FreeBSD.ORG, freebsd-jail@FreeBSD.ORG Message-ID: <20071026094437.GA97703@nemesis.frida.mouhaha.de> References: <20071024135535.GC22904@nemesis.frida.mouhaha.de> <200710251438.l9PEcrwe063070@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <200710251438.l9PEcrwe063070@lurza.secnetix.de> X-Operating-System: FreeBSD 6.2-RELEASE-p8 i386 User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: Re: multiple postgresql servers in multiple jails? 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: Fri, 26 Oct 2007 09:44:49 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 25, 2007 at 04:38:53PM +0200, Oliver Fromme wrote: > Oliver Peter wrote: > > Oliver Fromme wrote: > > > Oliver Peter wrote: > ... > Can you please give the output from "ipcs -M" and "ipcs -p"? Here you go: % sudo ipcs -M shminfo: shmmax: 134217728 (max shared memory segment size) shmmin: 1 (min shared memory segment size) shmmni: 192 (max number of shared memory identifiers) shmseg: 128 (max shared memory segments per process) shmall: 65536 (max amount of shared memory in pages) % sudo ipcs -p Message Queues: T ID KEY MODE OWNER GROUP LSPID = LRPID Shared Memory: T ID KEY MODE OWNER GROUP CPID = LPID m 65536 5432001 --rw------- 70 70 1064 = 1064 m 131073 5473001 --rw------- 1073 70 6293 = 6293 m 131074 5472001 --rw------- 1072 70 6545 = 6545 m 131075 5471001 --rw------- 1071 70 6797 = 6797 Semaphores: T ID KEY MODE OWNER GROUP s 65536 5432001 --rw------- 70 70 s 65537 5432002 --rw------- 70 70 s 65538 5432003 --rw------- 70 70 s 65539 5432004 --rw------- 70 70 s 65540 5432005 --rw------- 70 70 s 65541 5432006 --rw------- 70 70 s 65542 5432007 --rw------- 70 70 s 131079 5473001 --rw------- 1073 70 s 131080 5473002 --rw------- 1073 70 s 131081 5473003 --rw------- 1073 70 s 131082 5473004 --rw------- 1073 70 s 131083 5473005 --rw------- 1073 70 s 131084 5473006 --rw------- 1073 70 s 131085 5473007 --rw------- 1073 70 s 131086 5472001 --rw------- 1072 70 s 131087 5471001 --rw------- 1071 70 s 131088 5471002 --rw------- 1071 70 s 131089 5471003 --rw------- 1071 70 s 131090 5471004 --rw------- 1071 70 s 131091 5471005 --rw------- 1071 70 s 131092 5471006 --rw------- 1071 70 s 131093 5471007 --rw------- 1071 70 % sudo ipcs -bm Shared Memory: T ID KEY MODE OWNER GROUP SEGSZ m 65536 5432001 --rw------- 70 70 38076416 m 131073 5473001 --rw------- 1073 70 38076416 m 131074 5472001 --rw------- 1072 70 1654784 m 131075 5471001 --rw------- 1071 70 38076416 % ./jps | grep postgres 1 1064 70 /usr/local/bin/postgres -D /usr/local/pgsql/data 1 1068 70 postgres: writer process (postgres) 1 1069 70 postgres: stats collector process (postgres) 5 6293 1073 /usr/local/bin/postgres -D /usr/local/pgsql/data 5 6295 1073 postgres: writer process (postgres) 5 6296 1073 postgres: stats collector process (postgres) 6 6545 1072 /usr/local/bin/postgres -D /usr/local/pgsql/data 6 6547 1072 postgres: writer process (postgres) 6 6548 1072 postgres: stats collector process (postgres) 7 6797 1071 /usr/local/bin/postgres -D /usr/local/pgsql/data 7 6799 1071 postgres: writer process (postgres) 7 6800 1071 postgres: stats collector process (postgres) > The "jps" script could be useful: >=20 > http://www.secnetix.de/~olli/scripts/jps Excellent stuff there :) --=20 Oliver PETER, eMail: hoschi@mouhaha.de, ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iEYEARECAAYFAkchtwUACgkQ6LH/IUVtaI8eAwCgjiToQBJ4AJ95Srv7kcU+nsKK 8QsAnRY2IGaQm60WNnV4NA2bhJJbGxq9 =TBtt -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--