Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Jun 2008 10:59:59 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "David Coder" <dc@dcoder.net>
Cc:        ports@freebsd.org
Subject:   Re: firefox crashes
Message-ID:  <op.ub4pd9ff9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20080602152013.GC6444@mail0.dcoder.net>
References:  <20080602152013.GC6444@mail0.dcoder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 02 Jun 2008 10:20:13 -0500, David Coder <dc@dcoder.net> 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



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