Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Apr 2002 16:38:56 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        "Rogier R. Mulhuijzen" <drwilco@drwilco.net>
Cc:        callum.gibson@db.com, hackers@FreeBSD.ORG
Subject:   Re: ipcrm/shmctl failure
Message-ID:  <3CB37B90.521B33A5@mindspring.com>
References:  <20020408225938.2069.qmail@merton.aus.deuba.com> <5.1.0.14.0.20020409192018.01c667a0@mail.drwilco.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CB37B90.521B33A5>