Subject: crashing with swap - all settings
To: None <current-users@netbsd.org>
From: Wojciech Puchar <wojtek@tensor.3miasto.net>
List: current-users
Date: 04/05/2004 21:41:03
if it'll help
NetBSD 1.6ZK (hel.3miasto.net) #3: Wed Mar 31 15:52:35 CEST 2004
root@hel.3miasto.net:/usr/src/sys/arch/i386/compile/hel.3miasto.net
total memory = 255 MB
avail memory = 246 MB
BIOS32 rev. 0 found at 0xfb400
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium (P54C) (586-class), 133.64 MHz, id 0x526
cpu0: features 1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82439TX System Controller (MTXC) (rev. 0x01)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x01)
piixide0 at pci0 dev 7 function 1
piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at irq 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at irq 15
atabus1 at piixide0 channel 1
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x01) at pci0 dev 7 function 3 not configured
fxp0 at pci0 dev 9 function 0: i82559 Ethernet, rev 8
fxp0: interrupting at irq 10
fxp0: Ethernet address 00:90:27:a3:c7:a5
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ex0 at pci0 dev 10 function 0: 3Com 3c900-COMBO Ethernet (rev. 0x0)
ex0: interrupting at irq 9
ex0: MAC address 00:60:97:aa:1d:27
ex0: 10baseT, 10baseT-FDX, 10base5, 10base2, default 10baseT
adv0 at pci0 dev 11 function 0: AdvanSys ABP-9xxUA SCSI adapter
adv0: interrupting at irq 12
scsibus0 at adv0: 8 targets, 8 luns per target
vga0 at pci0 dev 12 function 0: Cirrus Logic CL-GD5430 (rev. 0x22)
wsdisplay0 at vga0 (kbdmux ignored): console (80x25, vt100 emulation)
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 (mux ignored): console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
scsibus0: waiting 2 seconds for devices to settle...
st0 at scsibus0 target 0 lun 0: <SONY, SDT-5000, 3.30> tape removable
st0: drive empty
st0: async, 8-bit transfers
wd0 at atabus0 drive 0: <ST380021A>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
boot device: fd0
root on wd0a dumps on wd0b
WARNING: possible botched superblock upgrade detected
on filesystem previously mounted on /
fs_bsize == fs_maxbsize (0x00002000) but FS_FLAGS_UPDATED is not set
Test your filesystem by running fsck_ffs -n -f on it.
If it reports:
``VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE''
you should be able to recover with fsck_ffs -b 16 -c 4
See the file src/UPDATING or
http://mail-index.NetBSD.org/current-users/2004/01/11/0022.html
for more details
WARNING: possible botched superblock upgrade detected
on filesystem previously mounted on /
fs_bsize == fs_maxbsize (0x00002000) but FS_FLAGS_UPDATED is not set
Test your filesystem by running fsck_ffs -n -f on it.
If it reports:
``VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE''
you should be able to recover with fsck_ffs -b 16 -c 4
See the file src/UPDATING or
http://mail-index.NetBSD.org/current-users/2004/01/11/0022.html
for more details
IP Filter: v3.4.29 initialized. Default = pass all, Logging = disabled
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
altq: emulate 256000000Hz CPU clock
#!/sbin/sysctl -f
#
# $NetBSD: sysctl.conf,v 1.3 2000/04/15 21:14:49 tsarna Exp $
#
# sysctl(8) variables to set at boot time.
# Default core name template:
#kern.defcorename=%n.core
# Number of kernel threads to use for NFS client
#vfs.nfs.iothreads=4
kern.maxfiles=5000
vm.filemax=10
vm.filemin=5
vm.bufcache=5
vm.anonmax=90
kern.maxproc=4096
net.inet.ip.forwarding=1
net.inet.ip.allowsrcrt=0
net.inet.ip.redirect=0
net.inet.tcp.win_scale=1
net.inet.tcp.init_win=1
Memory: 134M Act, 71M Inact, 1140K Wired, 16M Exec, 32M File, 9060K Free
Swap: 1000M Total, 72M Used, 928M Free
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
2021 root 64 0 5232K 7276K RUN 0:02 79.83% 11.13% cc1
318 root 2 -10 142M 114M RUN 10:11 7.96% 7.96% squid
2261 root 4 10 1076K 1456K bpf 1:01 5.76% 5.76% trafshow
1453 root 4 10 2308K 1564K bpf 0:51 3.81% 3.81% trafshow
8 root 18 0 0K 38M syncer 0:23 0.54% 0.54% [ioflush]
345 proxy -4 -10 40K 564K msgwait 0:10 0.20% 0.20% diskd
1900 root 2 0 500K 1172K select 0:01 0.15% 0.15% sshd
2787 root 18 0 240K 792K pause 0:00 0.05% 0.05% ksh
3233 root 10 0 12K 500K nanoslee 0:00 1.00% 0.05% sleep
396 root 2 0 16M 4K select 0:18 0.00% 0.00% <perl>
188 root 2 0 1924K 1712K select 0:11 0.00% 0.00% named
2507 root 10 0 4244K 2088K wait 0:10 0.00% 0.00% make
938 root 2 0 264K 1028K poll 0:08 0.00% 0.00% top
7 root -18 0 0K 38M pgdaemon 0:07 0.00% 0.00% [pagedaemon]
415 root 2 0 188K 852K poll 0:04 0.00% 0.00% dovecot
2536 root 2 0 15M 4K netio 0:03 0.00% 0.00% <mks32>
605 root 2 0 348K 4K select 0:03 0.00% 0.00% <sshd>
319 root 2 0 956K 1320K select 0:02 0.00% 0.00% nmbd