From owner-freebsd-hackers Tue Apr 9 16:39:43 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id CDA7537B417 for ; Tue, 9 Apr 2002 16:39:40 -0700 (PDT) Received: from pool0222.cvx21-bradley.dialup.earthlink.net ([209.179.192.222] helo=mindspring.com) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16v5Cs-0003Z7-00; Tue, 09 Apr 2002 16:39:22 -0700 Message-ID: <3CB37B90.521B33A5@mindspring.com> Date: Tue, 09 Apr 2002 16:38:56 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: "Rogier R. Mulhuijzen" Cc: callum.gibson@db.com, hackers@FreeBSD.ORG Subject: Re: ipcrm/shmctl failure References: <20020408225938.2069.qmail@merton.aus.deuba.com> <5.1.0.14.0.20020409192018.01c667a0@mail.drwilco.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Rogier R. Mulhuijzen" wrote: > >This is a bug in the MIT shared memory extension for X design, > >and can't be fixed for long running programs with lots of > >bitmaps. > > I'd like to take a step further and say it's in SYSVSHM design. All a > program has to do is forget to do a shm_detach() and you're f#$%ed. Heh. I could make the same argument about "open"... > Be glad it's just a few bitmaps, and not a 250 meg segment like I had with > a certain version of Oracle. > > >It's an X11 question, and it's been that way since at least 1994, > >so it's a long standing X11 FAQ. > > You could say that X11 shouldn't use SHMs the way it does now yeah. =) The real problem is that over the UNIX domain socket, it doesn't get client disconnect notificiations necessary for resource tracking, AND browser use of these resources is practically the degenerate case. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message