From owner-freebsd-questions@FreeBSD.ORG Fri May 21 12:55:53 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4876916A4CE for ; Fri, 21 May 2004 12:55:53 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 64CC243D3F for ; Fri, 21 May 2004 12:55:52 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i4LJtGj3090203 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 May 2004 20:55:16 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i4LJtGvu090202; Fri, 21 May 2004 20:55:16 +0100 (BST) (envelope-from matthew) Date: Fri, 21 May 2004 20:55:16 +0100 From: Matthew Seaman To: whitevamp Message-ID: <20040521195516.GB89897@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , whitevamp , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LyciRD1jyfeSSjG0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: clamd / ClamAV version devel-20040504, clamav-milter version 0.70u X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: netscape memory leak X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 19:55:53 -0000 --LyciRD1jyfeSSjG0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 21, 2004 at 12:38:49PM -0700, whitevamp wrote: > sorry if this quistion has allread been asked and awnsered.. >=20 > i got noticeing that my system was runnung out of mem so i did top and th= is is what i found=20 >=20 > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND >=20 > 9936 dave -22 0 219M 98M RUN 16:03 46.04% 46.04% netscape-bin >=20 > 15211 dave 31 0 2056K 964K RUN 0:08 3.37% 3.37% top >=20 > 3 root -18 0 0K 0K psleep 4:08 2.93% 2.93% pagedaemon >=20 > 99894 dave 2 0 21268K 2212K poll 79:20 1.90% 1.90% kdeinit >=20 > 9941 dave 10 0 219M 98M nanslp 0:21 0.20% 0.20% netscape-bin >=20 > 99870 dave 2 0 59268K 18568K select 63:32 0.00% 0.00% XFree86 >=20 > netscape was takeing up 98 mem of ram si closed netscape and then did top= agine and i found this=20 >=20 > PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND >=20 > 9936 dave -22 0 247M 102M swread 17:55 6.64% 6.64% netscape-bin >=20 > 9941 dave 18 0 247M 102M pause 0:23 0.00% 0.00% netscape-bin >=20 > now it was takeing up 102 meg of ram >=20 > so my quistion is this what would be causeing netscape to be useing up s= o much ram? and how do i fix it? >=20 >=20 >=20 > Netscape 7.1 >=20 > Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7= =2E1 >=20 > uname -a >=20 > FreeBSD vampextream.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17= :51:09 GMT 2003 root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC = i386 >=20 > thx in advance for any help any one can give me on this .. Netscape and Mozilla and presumable some other related browsers have a failure mode where either the on-screen windows freeze or disappear, but the actual binary is left running in a catatonic state where it just spins and takes up system resources but doesn't do anything useful. Generally I've seen this triggered by websites using Flash animation and a few other data types which Netscape has to load a plugin to deal with. It can also sometimes leave some 'helper' applications running in the same sort of disconnected state. The only thing to do in those cases is kill all of the catatonic processes, and learn to avoid the sites that cause the problems. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --LyciRD1jyfeSSjG0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFArl6kiD657aJF7eIRAqTJAJ9hyn6dstt+q7QPgcBCnJKTjTfetQCdF4Yl bPXxsL0AaoeQeR87Du1KtW4= =u4KD -----END PGP SIGNATURE----- --LyciRD1jyfeSSjG0--