Received: from mail.ewol.com (mail.ewol.com [207.239.237.12]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f2THMxK57406 for ; Thu, 29 Mar 2001 12:22:59 -0500 (EST) (envelope-from webmaster@dhs-club.com) Received: from dhs-club.com [216.0.160.118] by mail.ewol.com with ESMTP (SMTPD32-6.05) id A0D6E3C10072; Thu, 29 Mar 2001 12:28:54 -0500 Message-ID: <3AC36EF0.12A3E9E4@dhs-club.com> Date: Thu, 29 Mar 2001 12:20:48 -0500 From: DHSC Webmaster Organization: The DHS Club X-Mailer: Mozilla 4.73 [en]C-CCK-MCD compaq (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: PG 7.0.3 & RH 7 IPC problems? References: <3AC350FD.877FE31D@dhs-club.com> <22534.985882884@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/233 X-Sequence-Number: 1082 It would appear that either my icps is not working or that everything is alright. (don't know enough about what to expect to know!) bash-2.04$ ipcs ------ Shared Memory Segments -------- key shmid owner perms bytes nattch status ------ Semaphore Arrays -------- key semid owner perms nsems status ------ Message Queues -------- key msqid owner perms used-bytes messages bash-2.04$ Tom Lane wrote: > > DHSC Webmaster writes: > > [postgres@atl01371 data]$ nohup postmaster -D /usr/local/pgsql/data -i > > -B 128 -N 64 > /usr/local/pgsql/data/logs/log.txt > > IpcMemoryCreate: shmget failed (Invalid argument) key=5432001, > > size=2048000, permission=600 > > Not sure about Linux, but on HPUX there are two possible reasons for > shmget to return EINVAL: > > [EINVAL] size is less than the system-imposed minimum or > greater than the system-imposed maximum. > > [EINVAL] A shared memory identifier exists for key but the > size of the segment associated with it is less > than size and size is not equal to zero. > > In other words, you could get this if there is an old segment of smaller > size and the same key still laying about, which there might well be if > you were foolish enough to kill -9 the old postmaster. Use ipcs and > ipcrm to check and clean up. > > 7.1 uses a slightly different approach that hopefully avoids this > particular failure scenario... > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html -- Bill MacArthur Webmaster DHS Club