Received: from postgresql.org.org (webmail.postgresql.org [216.126.85.28]) by postgresql.org (8.11.3/8.11.1) with SMTP id f3RDQU395708 for ; Fri, 27 Apr 2001 09:26:30 -0400 (EDT) (envelope-from pgsql-admin-owner@postgresql.org) Received: from spaceghost.risingsurf.com (c1197071-a.bvrtn1.or.home.com [65.3.172.12]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3R3o3359364 for ; Thu, 26 Apr 2001 23:50:04 -0400 (EDT) (envelope-from rrobino@wavedivision.com) Received: from wavedivision.com (dell.wavedivision.com [192.168.1.70]) by spaceghost.risingsurf.com (8.11.2/8.11.2) with ESMTP id f3R3nst23721; Thu, 26 Apr 2001 20:49:54 -0700 (PDT) Message-ID: <3AE8ECDB.5B274E24@wavedivision.com> Date: Thu, 26 Apr 2001 20:51:55 -0700 From: Rick Robino X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en,sv MIME-Version: 1.0 To: Kurt Seel CC: pgsql-admin@postgresql.org Subject: Re: Can't start Pgsql 7.1 on FreeBSD 4.2 References: <3AE87204.D9C9AC5C@utcorp.com> Content-Type: multipart/mixed; boundary="------------44D20BD6C1D763FE3765AD0C" X-Archive-Number: 200104/168 X-Sequence-Number: 1308 This is a multi-part message in MIME format. --------------44D20BD6C1D763FE3765AD0C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Kurt Seel wrote: > Postmaster spits out this : > IpcMemoryCreate: shmget(key=5432001, size=1236992, 03600) failed: Cannot > allocate memory > When I try to start it. I compiled and installed from the ports > collection. > > I compiled these into my kernel : > options SYSVSHM #SYSV-style shared memory > options SYSVMSG #SYSV-style message queues > options SYSVSEM #SYSV-style semaphores > > Any ideas? This is covered in more depth in the Admin documentation, chapter 3.5. An online version can be found at: http://postgresql.readysetnet.com/devel-corner/docs/admin/kernel-resources.html Specifically, it says: "FreeBSD, OpenBSD The options SYSVSHM and SYSVSEM need to be enabled when the kernel is compiled. (They are by default.) The maximum size of shared memory is determined by the option SHMMAXPGS (in pages). The following shows an example of how to set the various parameters: options SYSVSHM options SHMMAXPGS=4096 options SHMSEG=256 options SYSVSEM options SEMMNI=256 options SEMMNS=512 options SEMMNU=256 options SEMMAP=256 " --Rick --------------44D20BD6C1D763FE3765AD0C Content-Type: text/x-vcard; charset=us-ascii; name="rrobino.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rick Robino Content-Disposition: attachment; filename="rrobino.vcf" begin:vcard n:Robino;Rick tel;cell:(503) 891-9283 x-mozilla-html:FALSE url:http://www.wavedivision.com/~rrobino/ org:Wave Division Consulting adr:;;18140F NW Cornell Rd.;Beaverton;OR;97006;US version:2.1 email;internet:rrobino@WaveDivision.com title:Internet Systems Architect fn:Rick Robino end:vcard --------------44D20BD6C1D763FE3765AD0C--