I ran into the same problem. Was running into the datasize-cur=512M limit in the staff section of login.conf
I'm not saying this is the right thing to do, but I bumped it to 1024M and haven't had a firefox seg-fault since. This is a system I use as my desktop, so I'm not concerned with other "staff" causing problems. I believe this corresponds with "ulimit -d", so I could probably have put "ulimit -d 1048575" in my .profile --- Ha!, funny thing when I was looking at this: $ ulimit -d 1048576 $ ulimit -d 1024M ksh: 1024M: bad number `1024M' $ ulimit -d 1048575 $ ulimit -d 1048575 $ ulimit -d 1048576 ksh: ulimit: exceeds allowable limit $ ulimit -d 1048575 $ ulimit -d 1048577 ksh: ulimit: exceeds allowable limit $ ulimit -d 1048574 Looks like login.conf will set it to 1048576K but ulimit -d will only go up to 1048575K, <shrug>, what's 1K among friends :) In case anyone cares, I'm using slightly old -current snapshot: $ sysctl kern.version kern.version=OpenBSD 5.2-current (GENERIC.MP) #8: Fri Dec 21 01:35:40 MST 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP On Fri, Jan 11, 2013 at 4:28 PM, Lars von den Driesch <larsvondendrie...@gmail.com> wrote: > Hi > I just discovered another strangeness on my installation. Firefox > keeps seg-faulting on me when I have a lot of tabs open with webpages > that draw a lot of memory. This is easy to reproduce - I just open > engadget.com more often and open subsites by clicking randomly on that > page. > When I start firefox from xterm it gives me an "out of memory" error > after a while and writes a core file to disk. This led me looking to > my swap partition when I discovered that swap seems to be unused on > this system although it exists and the system seems to know about it. > It just isn't filled when needed. > This is a snapshot on amd64 from 7 Jan. The partitions were created > during initial install. So this might have been a problem from the > beginning but I discovered it now because I am using the system more > often lately. > I have found an ancient bugreport from 1999 for sparc/1007 reporting > exactly this but this is basically the only thing I found about this > topic. So I believe I am missing something obvious again that only me > would be able to fall over.... ;-) > > Thanks > Lars > > -swapctl -l this display never changes > Device 512-blocks Used Avail Capacity Priority > /dev/sd0b 9374081 0 9374081 0% 0 > > > -systat swap gives me this but this display never ever changes > 5 users Load 0.13 0.16 0.47 Sat Jan 12 00:03:07 2013 > DISK 512-blocks USED 10\ 20\ 30\ > 40\ 50\ 60\ 70\ 80\ 90\ 100\ > sd0b 9374081 0 > > -disklabel /dev/sd0c > # size offset fstype [fsize bsize cpg] > a: 615763200 64 4.2BSD 4096 32768 1 # / > b: 9374081 615763264 swap # none > > -fstab > c6dfab3c9cca1a9c.b none swap sw > c6dfab3c9cca1a9c.a / ffs rw 1 1 > > -dmesg > OpenBSD 5.2-current (GENERIC.MP) #12: Mon Jan 7 07:59:56 MST 2013 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 4157472768 (3964MB) > avail mem = 4024295424 (3837MB) > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0100 (57 entries) > bios0: vendor Award Software International, Inc. version "F11" date 09/16/2009 > bios0: Gigabyte Technology Co., Ltd. GA-MA78GM-S2H > acpi0 at bios0: rev 0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SSDT HPET MCFG APIC > acpi0: wakeup devices USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) > USB5(S3) USB6(S3) SBAZ(S4) P2P_(S5) PCE2(S4) PCE3(S4) PCE4(S4) > PCE5(S4) PCE6(S4) PCE7(S4) PCE9(S4) PCEA(S4) PCEB(S4) PCEC(S4) > PS2M(S5) PS2K(S5) PCI0(S5) > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpihpet0 at acpi0: 14318180 Hz > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Athlon(tm) Dual Core Processor 4850e, 2511.77 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB > 64b/line 16-way L2 cache > cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative > cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative > cpu0: apic clock running at 200MHz > cpu1 at mainbus0: apid 1 (application processor) > cpu1: AMD Athlon(tm) Dual Core Processor 4850e, 2511.44 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP > cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB > 64b/line 16-way L2 cache > cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative > cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins > ioapic0: misconfigured as apic 0, remapped to apid 2 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 3 (P2P_) > acpiprt2 at acpi0: bus -1 (PCE2) > acpiprt3 at acpi0: bus -1 (PCE3) > acpiprt4 at acpi0: bus -1 (PCE4) > acpiprt5 at acpi0: bus -1 (PCE5) > acpiprt6 at acpi0: bus -1 (PCE6) > acpiprt7 at acpi0: bus -1 (PCE7) > acpiprt8 at acpi0: bus -1 (PCE9) > acpiprt9 at acpi0: bus 2 (PCEA) > acpiprt10 at acpi0: bus -1 (PCEB) > acpiprt11 at acpi0: bus -1 (PCEC) > acpiprt12 at acpi0: bus 1 (AGP_) > acpicpu0 at acpi0: PSS > acpicpu1 at acpi0: PSS > acpibtn0 at acpi0: PWRB > cpu0: PowerNow! K8 2511 MHz: speeds: 2500 2400 2200 2000 1800 1000 MHz > pci0 at mainbus0 bus 0 > 0:0:0: mem address conflict 0xe0000000/0x20000000 > pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00 > ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00 > pci1 at ppb0 bus 1 > vga1 at pci1 dev 5 function 0 "ATI Radeon HD 3200" rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > radeondrm0 at vga1: apic 2 int 18 > drm0 at radeondrm0 > azalia0 at pci1 dev 5 function 1 "ATI RS780 HD Audio" rev 0x00: msi > azalia0: no supported codecs > ppb1 at pci0 dev 10 function 0 "AMD RS780 PCIE" rev 0x00: msi > pci2 at ppb1 bus 2 > re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x02: RTL8168C/8111C > (0x3c00), apic 2 int 18, address 00:1f:d0:99:d2:f6 > rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 > ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int > 22, AHCI 1.1 > scsibus0 at ahci0: 32 targets > sd0 at scsibus0 targ 0 lun 0: <ATA, SAMSUNG HD322HJ, 1AG0> SCSI3 > 0/direct fixed naa.50024e900185bfc4 > sd0: 305244MB, 512 bytes/sector, 625140335 sectors > cd0 at scsibus0 targ 4 lun 0: <HL-DT-ST, DVDRAM GH22NS40, NL00> ATAPI > 5/cdrom removable > ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int > 16, version 1.0, legacy support > ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 2 int > 16, version 1.0, legacy support > ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 > ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int > 18, version 1.0, legacy support > ohci3 at pci0 dev 19 function 1 "ATI SB700 USB" rev 0x00: apic 2 int > 18, version 1.0, legacy support > ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 19 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 > piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3a: SMI > iic0 at piixpm0 > spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-6400CL5 > spdmem1 at iic0 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-6400CL5 > spdmem2 at iic0 addr 0x52: 2GB DDR2 SDRAM non-parity PC2-6400CL5 > pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x00: DMA, > channel 0 configured to compatibility, channel 1 configured to > compatibility > azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 2 int 16 > azalia1: codecs: Realtek ALC885 > audio0 at azalia1 > pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00 > ppb2 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00 > pci3 at ppb2 bus 3 > "TI TSB43AB23 FireWire" rev 0x00 at pci3 dev 14 function 0 not configured > ohci4 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int > 18, version 1.0, legacy support > pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 > pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 > pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 > kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: > core rev BH-G2 > usb2 at ohci0: USB revision 1.0 > uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > usb3 at ohci1: USB revision 1.0 > uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > usb4 at ohci2: USB revision 1.0 > uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > usb5 at ohci3: USB revision 1.0 > uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > it0 at isa0 port 0x2e/2: IT8718F rev 5, EC port 0x228 > usb6 at ohci4: USB revision 1.0 > uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > mtrr: Pentium Pro MTRR support > uhidev0 at uhub2 port 2 configuration 1 interface 0 "Logitech USB-PS/2 > Optical Mouse" rev 2.00/20.00 addr 2 > uhidev0: iclass 3/1 > ums0 at uhidev0: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > vscsi0 at root > scsibus1 at vscsi0: 256 targets > softraid0 at root > scsibus2 at softraid0: 256 targets > root on sd0a (c6dfab3c9cca1a9c.a) swap on sd0b dump on sd0b