From owner-freebsd-amd64@FreeBSD.ORG Wed May 26 07:40:40 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84D7316A4CE for ; Wed, 26 May 2004 07:40:40 -0700 (PDT) Received: from maxwell.syr.edu (maxwell.syr.edu [128.230.129.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23F5643D48 for ; Wed, 26 May 2004 07:40:40 -0700 (PDT) (envelope-from jracine@maxwell.syr.edu) Received: from [128.230.130.10] (jracine.maxwell.syr.edu [128.230.130.10]) by maxwell.syr.edu (8.12.10/8.9.1) with ESMTP id i4QEeNBf073189 for ; Wed, 26 May 2004 10:40:23 -0400 (EDT) From: Jeffrey Racine To: freebsd-amd64@freebsd.org Content-Type: text/plain Organization: Syracuse University Message-Id: <1085582318.616.15.camel@jracine.maxwell.syr.edu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 26 May 2004 10:38:38 -0400 Content-Transfer-Encoding: 7bit Subject: Question on datasize limits... X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 May 2004 14:40:40 -0000 Hi. On a dual opteron system with 4 GB of physical RAM and 12 BG of swap running 5.2.1, I am running a job that produces a seg fault when it appears to approach the 8GB mark. Limits are reported as follows: Resource limits (current): cputime infinity secs filesize infinity kb datasize 8388608 kb stacksize 524288 kb coredumpsize infinity kb memoryuse infinity kb memorylocked infinity kb maxprocesses 5547 openfiles 11095 sbsize infinity bytes vmemoryuse infinity kb and am thinking that it might be the datasize limitation. I have searched the man and faq as to how to modify datasize to be 12GB (limits -d 12g) but would like to change this in general. I looked in /etc/login.conf and see it is unlimited for the default class (datasize=unlimited). My question is, how can I change this to avoid this limit in general? Thanks for your time and efforts. dmesg follows. dmesg Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2.1-RELEASE #0: Fri May 14 14:49:47 EDT 2004 root@jracine.maxwell.syr.edu:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff80866000. ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 248 (2205.01-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf58 Stepping = 8 Features=0x78bfbff AMD Features=0xe0500000 real memory = 3674144768 (3503 MB) avail memory = 3493396480 (3331 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-27 on motherboard ioapic2 irqs 28-31 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x5008-0x500b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pcib2: at device 6.0 on pci0 pci2: on pcib2 ohci0: mem 0xfd7fe000-0xfd7fefff irq 19 at device 0.0 on pci2 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: mem 0xfd7ff000-0xfd7fffff irq 19 at device 0.1 on pci2 usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered fwohci0: mem 0xfd7f8000-0xfd7fbfff,0xfd7fd800-0xfd7fdfff irq 18 at device 6.0 on pci2 fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 00:00:00:00:00:01:0e:f8 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:00:00:01:0e:f8 sbp0: on firewire0 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ohci2: mem 0xfd7f7000-0xfd7f7fff irq 19 at device 7.0 on pci2 usb2: OHCI version 1.0 usb2: on ohci2 usb2: USB revision 1.0 uhub2: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 3 ports with 3 removable, self powered ohci3: mem 0xfd7fc000-0xfd7fcfff irq 16 at device 7.1 on pci2 usb3: OHCI version 1.0 usb3: on ohci3 usb3: USB revision 1.0 uhub3: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci2: at device 7.2 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] pci0: at device 7.3 (no driver attached) pcm0: port 0xcc00-0xcc3f,0xc800-0xc8ff irq 17 at device 7.5 on pci0 pcm0: pcib3: at device 10.0 on pci0 pci3: on pcib3 em0: port 0xac00-0xac1f mem 0xfd9c0000-0xfd9dffff,0xfd9e0000-0xfd9fffff irq 17 at device 1.0 on pci3 em0: Speed:N/A Duplex:N/A skc0: port 0xa800-0xa8ff mem 0xfd99c000-0xfd99ffff irq 19 at device 3.0 on pci3 skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter sk0: on skc0 sk0: Ethernet address: 00:d0:68:03:d4:99 miibus0: on sk0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, autopci0: at device 10.1 (no driver attached) pcib4: at device 11.0 on pci0 pci4: on pcib4 twe0: <3ware 7000 series Storage Controller. Driver version 1.50.00.000> port 0xbc00-0xbc0f mem 0xfe000000-0xfe7fffff,0xfeaffc00-0xfeaffc0f irq 17 at device 1.0 on pci4 twe0: 4 ports, Firmware FE7S 1.05.00.065, BIOS BE7X 1.08.00.048 pci0: at device 11.1 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse, device ID 3 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 orm0: