[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hang on 2.9 Transparent Squid Proxy
I'm having problem with a hang on 2.9 i386 running transparent proxy
(it's still on 2.9 because the client wants to run transparent proxy).
The box stops servicing http requests and ssh connections, but is
pingable and accepts the ssh TCP connection. ie ssh -v shows
connection, but no further processing of the ssh connection takes place.
Nothing is logged in /var/log/messages or to the console.
The environment is an ISP with 1.5 MB uplink and 210 clients. Peak http
requests are 20 requests/sec. The problem usually appears within
a few days, but can take up to 7 days to appear.
The machine is a Dell PowerEdge 1400, with 256 MB RAM, 2 SCSI disks,
Intel Pro NIC.
A 3COM 3C905cx has been added and used as the only active NIC, but this
did not fix the problem. The switch port and OpenBSD network
configuration have both been locked to 100/full-duplex.
Kernel is GENERIC with
NMBCLUSTERS=8192
NKMEMCLUSTERS=8192
MAX_KMAP=120
MAX_KMAPENT=6000
BUFCACHEPERCENT=20
maxusers 128
Squid is 2.4.STABLE6 from ports. IPF is v3.4.16 (only NAT rules for
transparent proxy are in use.)
The problem seems same as PR 1504. This was closed with the solution
being to turn compiler optimisation off. The
sys/arch/i386/conf/Makefile.i386 is version 1.26 which has the
compiler optimisation disabled.
Here is a very similar problem:
http://marc.theaimsgroup.com/?l=openbsd-misc&m=98155647518528&w=2
I realize that 2.9 is now old, but the client wants to run transparent
proxy.
Anyone got any ideas?
Here is a dmesg from before the 3COM NIC was added:
---------------------------------------------------------------------------
OpenBSD 2.9-stable (PROXY) #0: Tue Apr 16 12:29:21 EST 2002
root@obione:/usr/src/sys/arch/i386/compile/PROXY
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 861 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem = 268017664 (261736K)
avail mem = 202035200 (197300K)
using 5689 buffers containing 54022144 bytes (52756K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 10/31/00, BIOS32 rev. 0 @ 0xffe90
pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xfc380/176 (9 entries)
pcibios0: PCI Interrupt Router at 000:15:0 ("Reliance Computer ROSB4 SouthBridge" rev 0x00)
pcibios: no compatible PCI ICU found: ICU vendor 0x1166 product 0x0200
pcibios0: Warning, unable to fix up PCI interrupt routing
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xc8000/0x6000
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Reliance Computer CNB20LE Host" rev 0x06
pchb1 at pci0 dev 0 function 1 "Reliance Computer CNB20LE Host" rev 0x06
pci1 at pchb1 bus 1
ahc1 at pci1 dev 2 function 0 "Adaptec AIC-7899 U160" rev 0x01: irq 11
ahc1: Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc1: 16 targets
ahc1: target 0 using 16bit transfers
ahc1: target 0 synchronous at 40.0MHz, offset = 0x7f
sd0 at scsibus0 targ 0 lun 0: <FUJITSU, MAJ3182MP, 5508> SCSI4 0/direct fixed
sd0: 17366MB, 14739 cyl, 5 head, 482 sec, 512 bytes/sec, 35566478 sec total
ahc1: target 1 using 16bit transfers
ahc1: target 1 synchronous at 40.0MHz, offset = 0xf
sd1 at scsibus0 targ 1 lun 0: <IBM, DDRS-39130D, DC1B> SCSI2 0/direct fixed
sd1: 8715MB, 8387 cyl, 10 head, 212 sec, 512 bytes/sec, 17850000 sec total
ahc2 at pci1 dev 2 function 1 "Adaptec AIC-7899 U160" rev 0x01: irq 10
ahc2: Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus1 at ahc2: 16 targets
fxp0 at pci0 dev 2 function 0 "Intel 82557" rev 0x08: irq 11, address 00:b0:d0:d0:39:42
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
eap0 at pci0 dev 6 function 0 "Ensoniq AudioPCI97" rev 0x08: irq 10
ac97: codec id 0x43525913 (Cirrus Logic CS4297A)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Spatializer 3D
audio0 at eap0
vga1 at pci0 dev 14 function 0 "ATI Rage XL" rev 0x27
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 15 function 0 "Reliance Computer ROSB4 SouthBridge" rev 0x50
pciide0 at pci0 dev 15 function 1 "Reliance Computer IDE" rev 0x00: DMA (unsupported), channel 0 configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 interrupting at irq 14
atapiscsi0 at pciide0 channel 0
scsibus2 at atapiscsi0: 2 targets
cd0 at scsibus2 targ 0 lun 0: <LG, CD-ROM CRD-8482B, 1.05> SCSI0 5/cdrom removable
pciide0: channel 1 ignored (not responding; disabled or no drives?)
ohci0 at pci0 dev 15 function 2 "Reliance Computer USB" rev 0x04, OHCI version 1.0, legacy support: irq 5
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
isa0 at pcib0
isadma0 at isa0
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
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask 4c60 netmask 4c60 ttymask 4ce2
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matched BIOS disk 80
dkcsum: sd1 matched BIOS disk 81
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
--
Regards,
David Billett
Clearcom Computing Pty Ltd Web: http://www.clearcom.com.au