From owner-freebsd-stable Mon Dec 30 2:50:27 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C49137B401 for ; Mon, 30 Dec 2002 02:50:25 -0800 (PST) Received: from totem.fix.no (totem.fix.no [80.91.32.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A0CB43E4A for ; Mon, 30 Dec 2002 02:50:25 -0800 (PST) (envelope-from anders@totem.fix.no) Received: by totem.fix.no (Postfix, from userid 1000) id ED9892029A; Mon, 30 Dec 2002 11:50:47 +0100 (CET) Date: Mon, 30 Dec 2002 11:50:47 +0100 From: Anders Nordby To: stable@FreeBSD.org Subject: Ipcrm cannot remove certain shared memory segments Message-ID: <20021230105047.GA86200@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, It seems we still have problems with ipcrm not being able to remove shared memory segments. On a 4.7-STABLE system: # ipcs -a Message Queues: T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME m 29622272 0 --rwarwarwa anders users anders users 2 393216 41265 4112411:25:34 11:25:57 11:25:34 m 30539777 0 --rw-r--r-- root wheel root wheel 1 110592 41124 4126511:32:25 11:32:25 11:32:25 m 7864322 0 --rwarwarwa anders users anders users 1 393216 2372 27122:18:09 23:04:03 22:18:09 m 2949123 0 --rwarwarwa anders users anders users 1 460800 2372 27123:02:21 23:04:03 23:02:21 m 1114116 0 --rwarwarwa anders users anders users 1 112320 2372 27123:02:21 23:04:03 23:02:21 m 655365 0 --rwarwarwa anders users anders users 1 78400 2372 27122:59:51 23:04:03 22:59:51 m 1572870 0 --rwarwarwa anders users anders users 1 37600 2372 27122:59:51 23:04:03 22:59:51 m 393223 0 --rwarwarwa anders users anders users 1 36000 2372 27122:59:51 23:04:03 22:59:51 m 2752520 0 --rwarwarwa anders users anders users 1 112320 2372 27122:59:51 23:04:03 22:59:51 m 131085 0 --rwarwarwa anders users anders users 1 748800 2372 27122:58:59 23:04:03 22:58:59 m 8192015 0 --rwarwarwa anders users anders users 1 748800 2372 27122:58:49 23:04:03 22:58:49 m 8060944 0 --rwarwarwa anders users anders users 1 748800 2372 27122:59:02 23:04:03 22:59:02 (..) Semaphores: T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME # ipcrm -m 1114116 ipcrm: shmid(1114116): : Invalid argument The creating process (CPID = 2372) does of course not exist: # ps axjww -p 2372 USER PID PPID PGID SESS JOBC STAT TT TIME COMMAND The creating process may have been programs running the Linuxulator I suppose, I run a couple of Linux programs. Is anyone with kernel-foo thinking about fixing or looking into this? Cheers, -- Anders. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message