firefox crashes

Jeremy Messenger mezz7 at cox.net
Mon Jun 2 15:57:40 UTC 2008


On Mon, 02 Jun 2008 10:20:13 -0500, David Coder <dc at 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 to  
add kern.ipc.shmmax=67108864 and kern.ipc.shmall=32768 in  
/etc/sysctl.conf. Here's what I have tweaked to make desktop go smoother:

/etc/sysctl.conf
--------------------------------------------
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
kern.ipc.shm_allow_removed=1
vfs.usermount=1
--------------------------------------------

/boot/loader.conf
--------------------------------------------
kern.ipc.semmni=50
kern.ipc.semmns=300
kern.maxfiles=25000
--------------------------------------------

Cheers,
Mezz

> this is a problem that has occured w/ some but not all previous versions  
> of firefox-2.
>
> the output of uname -a, fwiw:
>
> FreeBSD kerouac.dcoder.net 6.3-STABLE FreeBSD 6.3-STABLE #0: Sat May 24
> 15:32:40 UTC 2008      
> root at kerouac.dcoder.net:/usr/obj/usr/src/sys/KEROUAC
> i386
>
> thx for your attention.


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-ports mailing list