From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,900a19c94acbb7a X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-08-16 07:15:18 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!cs.utexas.edu!uunet!math.fu-berlin.de!informatik.tu-muenchen.de!lan!mohring From: mohring@informatik.tu-muenchen.de (Martin Mohring) Subject: Re: Shared Memory remains when using local:0 for X under DEC OSF/1 In-Reply-To: rang@alpha.ipk.fhg.de's message of 14 Aug 93 23:19:57 GMT References: Sender: news@Informatik.TU-Muenchen.DE (USENET Newssystem) Organization: Inst. fuer Informatik, TU Muenchen, Germany Date: Mon, 16 Aug 1993 21:04:02 GMT Message-ID: In article rang@alpha.ipk.fhg.de (Cris Circle) writes: > Path: informatik.tu-muenchen.de!math.fu-berlin.de!fub!mailgzrz.TU-Berlin.DE!gmdtub!sunplt!alpha.ipk.fhg.de!rang > From: rang@alpha.ipk.fhg.de (Cris Circle) > Newsgroups: comp.unix.osf.osf1 > Date: 14 Aug 93 23:19:57 GMT > Sender: usenet@sunplt.ipk.fhg.de > Organization: IPK-Berlin, Fraunhofer Gesellschaft, Germany > Lines: 10 > Beware of the local:0 DISPLAY setting. This indeed speeds up graphics > performance, but if the program terminates without closing the > connection properly (e.g. if killed), it leaves a 1-MB shared memory > segment behind THAT WON'T DISAPPEAR until it is explicitely deleted! I think that's because they use a SysV shm connection. And SysV shm segment's are persistent. They must be, because the programming model of SysV shm allows, that later created processes can attach a region to the adress space. These regions must be explicitly deleted. After the next boot they are away. Martin -- | Martin Mohring, Technische Universit"at M"unchen | | mohring@informatik.tu-muenchen.de | "even think about it!" |