Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 May 2000 21:27:49 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        kris@hiwaay.net (Kris Kirby)
Cc:        freebsd-chat@FreeBSD.ORG
Subject:   Re: Naw, Netscape doesn't have a memory problem!
Message-ID:  <200005022127.OAA00936@usr02.primenet.com>
In-Reply-To: <Pine.BSF.4.10.10005010030340.67368-100000@barricuda.bsd.nws.net> from "Kris Kirby" at May 01, 2000 12:34:22 AM

index | next in thread | previous in thread | raw e-mail

>   PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
> 24647 kris     105  20  1024K   404K RUN    276.2H 96.19% 96.19% dnetc
> 77067 kris       2   0   259M   123M select 176:15  2.39%  2.39% netscape
> 78371 kris      28   0  1568K   792K RUN      0:00  0.00%  0.00% top
> 78372 kris      28   0   468K   280K RUN      0:00  0.00%  0.00% csh
> 
> That's only *one* day's worth of surfing. It's 3.4-R, Netscape 4.08. I'm
> beinging to think I need to install it on my dual-Celeron 433 with 320 MB
> of RAM instead. Then it won't need to page.

You are using the shared memory extension.

Disable it; you can do this explicitly, or you can do this by
forcing NetScape to not use the UNIX domain socket; if it comes
in over the TCP/IP, it will not attempt to use the extension.

The problem appears to be that bitmaps instanced in shared memory
do not have their reference counts properly decremented when they
are no longer referenced.

I'm not sure whether this is an invalid resource tracking
assumption made by the Netscape programmers, or a bug endemic
to the use of the shared memory extension itself.  If I had to
guess, I would guess the former, since Netscape has historically
had some bad assumption in their code with regard to things like
threads reentrancy, or what thread will get scheduled following
a return from an involuntary context switch (they seem to be
doing better on this last one in their most recent release, FWIW).


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005022127.OAA00936>