Nick Holland wrote:


I question your diagnosis.
I just deliberately filled my /tmp partition. System is still running fine (which actually is a pleasant surprise, as this machine has been horribly unstable the last few days. Maybe I should have filled the /tmp partition long ago! :).

If you can crash your system by filling the /tmp partition, I think that would be better described as a bug that needs fixing rather than trying to work around it.

How about defining what you mean by "crash", what message you are getting, etc.

Thanks Nick, I agree my diagnosis is very questionable. I just tried filling /tmp and the system and it's running fine. And I've seen other partitions fill up with no problems before. I've put in place scripts to log as much info as possible and see what happens. If it hasn't recurred by tonight I'll attempt to reproduce the same conditions.

Apologies, should have posted this info before. I see my session go link dead, the machine responds to pings for 30s or so but nothing else and then goes completely dead and reboots. /var/log/messages contains the following, other logs either contain the same info or nothing at all.

Is there any way to direct cores to be saved somewhere else?

Thanks all

Feb  6 10:00:01 boxname syslogd: restart
Feb  6 10:36:35 boxname syslogd: restart
Feb 6 10:36:35 boxname /bsd: OpenBSD 3.7 (GENERIC) #50: Sun Mar 20 00:01:57 MST 2005 Feb 6 10:36:35 boxname /bsd: [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC Feb 6 10:36:35 boxname /bsd: cpu0: AMD-K6(tm) 3D processor ("AuthenticAMD" 586-class) 500 MHz
Feb  6 10:36:35 boxname /bsd: cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX
Feb  6 10:36:35 boxname /bsd: real mem  = 198746112 (194088K)
Feb  6 10:36:35 boxname /bsd: avail mem = 174600192 (170508K)
Feb 6 10:36:35 boxname /bsd: using 2451 buffers containing 10039296 bytes (9804K) of memory
Feb  6 10:36:35 boxname /bsd: mainbus0 (root)
Feb 6 10:36:35 boxname /bsd: bios0 at mainbus0: AT/286+(00) BIOS, date 10/15/98, BIOS32 rev. 0 @ 0xfdb60
Feb  6 10:36:35 boxname /bsd: apm at bios0 function 0x15 not configured
Feb  6 10:36:35 boxname /bsd: pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
Feb 6 10:36:35 boxname /bsd: pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf71b0/112 (5 entries) Feb 6 10:36:35 boxname /bsd: pcibios0: PCI Interrupt Router at 000:01:0 ("SIS 85C503 System" rev 0x00)
Feb  6 10:36:35 boxname /bsd: pcibios0: PCI bus #1 is the last bus
Feb  6 10:36:35 boxname /bsd: bios0: ROM list: 0xc0000/0x8000
Feb  6 10:36:35 boxname /bsd: cpu0 at mainbus0
Feb 6 10:36:35 boxname /bsd: pci0 at mainbus0 bus 0: configuration mode 1 (no bios) Feb 6 10:36:35 boxname /bsd: pchb0 at pci0 dev 0 function 0 "SIS 530 PCI" rev 0x03 Feb 6 10:36:35 boxname /bsd: pciide0 at pci0 dev 0 function 1 "SIS 5513 EIDE" rev 0xd0: 530: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility Feb 6 10:36:36 boxname /bsd: wd0 at pciide0 channel 0 drive 0: <Maxtor 6Y080L0> Feb 6 10:36:36 boxname /bsd: wd0: 16-sector PIO, LBA, 78167MB, 160086528 sectors Feb 6 10:36:36 boxname /bsd: wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
Feb  6 10:36:36 boxname /bsd: wd1 at pciide0 channel 1 drive 0: <ST3120022A>
Feb 6 10:36:36 boxname /bsd: wd1: 16-sector PIO, LBA48, 114473MB, 234441648 sectors Feb 6 10:36:36 boxname /bsd: wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4 Feb 6 10:36:36 boxname /bsd: pcib0 at pci0 dev 1 function 0 "SIS 85C503 System" rev 0xb1 Feb 6 10:36:36 boxname /bsd: "SIS 5595 System" rev 0x00 at pci0 dev 1 function 1 not configured Feb 6 10:36:36 boxname /bsd: ohci0 at pci0 dev 1 function 2 "SIS 5597/5598 USB" rev 0x11: irq 11, version 1.0, legacy support
Feb  6 10:36:36 boxname /bsd: ohci0: SMM does not respond, resetting
Feb  6 10:36:36 boxname /bsd: usb0 at ohci0: USB revision 1.0
Feb  6 10:36:36 boxname /bsd: uhub0 at usb0
Feb 6 10:36:36 boxname /bsd: uhub0: SIS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
Feb  6 10:36:36 boxname /bsd: uhub0: 2 ports with 2 removable, self powered
Feb 6 10:36:36 boxname /bsd: ppb0 at pci0 dev 2 function 0 "SIS 86C201 AGP" rev 0x00
Feb  6 10:36:36 boxname /bsd: pci1 at ppb0 bus 1
Feb 6 10:36:36 boxname /bsd: vga1 at pci1 dev 0 function 0 "SIS 530 VGA" rev 0xa3: aperture at 0xef000000, size 0x400000 Feb 6 10:36:36 boxname /bsd: wsdisplay0 at vga1: console (80x25, vt100 emulation) Feb 6 10:36:36 boxname /bsd: wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Feb 6 10:36:36 boxname /bsd: rl0 at pci0 dev 10 function 0 "Realtek 8139" rev 0x10: irq 10 address 00:00:21:12:3b:72
Feb  6 10:36:36 boxname /bsd: rlphy0 at rl0 phy 0: RTL internal phy
Feb  6 10:36:36 boxname /bsd: isa0 at pcib0
Feb  6 10:36:36 boxname /bsd: isadma0 at isa0
Feb  6 10:36:36 boxname /bsd: pckbc0 at isa0 port 0x60/5
Feb  6 10:36:36 boxname /bsd: pckbd0 at pckbc0 (kbd slot)
Feb  6 10:36:36 boxname /bsd: pckbc0: using irq 1 for kbd slot
Feb 6 10:36:36 boxname /bsd: wskbd0 at pckbd0 (mux 1 ignored for console): console keyboard, using wsdisplay0
Feb  6 10:36:36 boxname /bsd: pcppi0 at isa0 port 0x61
Feb  6 10:36:36 boxname /bsd: midi0 at pcppi0: <PC speaker>
Feb  6 10:36:36 boxname /bsd: sysbeep0 at pcppi0
Feb  6 10:36:36 boxname /bsd: npx0 at isa0 port 0xf0/16: using exception 16
Feb 6 10:36:36 boxname /bsd: pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
Feb  6 10:36:36 boxname /bsd: fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
Feb 6 10:36:36 boxname /bsd: fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
Feb  6 10:36:36 boxname /bsd: biomask fbf5 netmask fff5 ttymask fff7
Feb  6 10:36:36 boxname /bsd: pctr: user-level cycle counter enabled
Feb  6 10:36:36 boxname /bsd: mtrr: K6-family MTRR support (2 registers)
Feb  6 10:36:36 boxname /bsd: dkcsum: wd0 matched BIOS disk 80
Feb  6 10:36:36 boxname /bsd: dkcsum: wd1 matched BIOS disk 81
Feb  6 10:36:36 boxname /bsd: root on wd0a
Feb  6 10:36:36 boxname /bsd: rootdev=0x0 rrootdev=0x300 rawdev=0x302
Feb  6 10:36:36 boxname /bsd: WARNING: / was not properly unmounted
Feb 6 10:37:37 boxname savecore: reboot after panic: trap type 6, code=2, pc=d033737c
Feb  6 10:37:37 boxname savecore: no dump, not enough free space on device
Feb  6 13:00:01 boxname syslogd: restart
Feb  6 17:00:01 boxname syslogd: restart
Feb  7 10:00:01 boxname syslogd: restart

And just to check:
$ swapctl -l
Device      512-blocks     Used    Avail Capacity  Priority
swap_device    1048320        0  1048320     0%    0

Reply via email to