From owner-freebsd-ports@FreeBSD.ORG Mon Jun 2 15:57:40 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D91F11065672 for ; Mon, 2 Jun 2008 15:57:40 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao103.cox.net (eastrmmtao103.cox.net [68.230.240.9]) by mx1.freebsd.org (Postfix) with ESMTP id 86F438FC27 for ; Mon, 2 Jun 2008 15:57:40 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmmtao103.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080602155740.TNBM26883.eastrmmtao103.cox.net@eastrmimpo03.cox.net>; Mon, 2 Jun 2008 11:57:40 -0400 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo03.cox.net with bizsmtp id Z3xf1Z0064iy4EG023xfek; Mon, 02 Jun 2008 11:57:39 -0400 Date: Mon, 02 Jun 2008 10:59:59 -0500 To: "David Coder" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <20080602152013.GC6444@mail0.dcoder.net> Content-Transfer-Encoding: Quoted-Printable Message-ID: In-Reply-To: <20080602152013.GC6444@mail0.dcoder.net> User-Agent: Opera Mail/9.27 (Linux) Cc: ports@freebsd.org Subject: Re: firefox crashes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 15:57:40 -0000 On Mon, 02 Jun 2008 10:20:13 -0500, David Coder wrote: > running the firefox-2.0.0.14,1 port on 6.3 i keep getting > > SetWindow > NewStream > WriteReady > Write > decoding... > shmget: Cannot allocate memory You have ran out of shared memory. To solve this, you can reboot your = machine to clear out. If you are getting this often then you will need t= o = add kern.ipc.shmmax=3D67108864 and kern.ipc.shmall=3D32768 in = /etc/sysctl.conf. Here's what I have tweaked to make desktop go smoother= : /etc/sysctl.conf -------------------------------------------- kern.ipc.shmmax=3D67108864 kern.ipc.shmall=3D32768 kern.ipc.shm_allow_removed=3D1 vfs.usermount=3D1 -------------------------------------------- /boot/loader.conf -------------------------------------------- kern.ipc.semmni=3D50 kern.ipc.semmns=3D300 kern.maxfiles=3D25000 -------------------------------------------- Cheers, Mezz > this is a problem that has occured w/ some but not all previous versio= ns = > of firefox-2. > > the output of uname -a, fwiw: > > FreeBSD kerouac.dcoder.net 6.3-STABLE FreeBSD 6.3-STABLE #0: Sat May 2= 4 > 15:32:40 UTC 2008 = > root@kerouac.dcoder.net:/usr/obj/usr/src/sys/KEROUAC > i386 > > thx for your attention. -- = mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org