From nobody@FreeBSD.ORG  Thu Nov  2 19:03:20 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 77BF337B4D7; Thu,  2 Nov 2000 19:03:20 -0800 (PST)
Message-Id: <20001103030320.77BF337B4D7@hub.freebsd.org>
Date: Thu,  2 Nov 2000 19:03:20 -0800 (PST)
From: bunny@atlantis.wh2.tu-dresden.de
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: xl networkhanging
X-Send-Pr-Version: www-1.0

>Number:         22561
>Category:       kern
>Synopsis:       xl networkhanging
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 02 19:10:00 PST 2000
>Closed-Date:    Thu Nov 15 11:47:02 PST 2001
>Last-Modified:  Thu Nov 15 11:48:12 PST 2001
>Originator:     Rene Reusner
>Release:        4.1.1-RELEAS
>Organization:
TU-Dresden
>Environment:
FreeBSD x04r2d.wh2.tu-dresden.de 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #0: Mon Oct 23 20:22:41 CEST 2000     root@x04r2d.wh2.tu-dresden.de:/usr/src/sys/compile/SMP_NEW  i386
>Description:
Problems with xl driver and a 3com905C TX card.
The first Problem
xl0: transmission error: 90
xl0: tx underrun, increasing tx start threshold to 120 bytes

and the network hangs
(after 4-5 days)

then i set the XL_MIN_FRAMELEN to 512, compile the kernel ....
and the system runs fine for 7 days and then
it crashes again and the error message was

Nov  2 05:23:25 x04r2d /kernel: xl0: watchdog timeout                           
Nov  2 05:23:48 x04r2d last message repeated 3 times                            
.........
Nov  2 12:49:41 x04r2d last message repeated 36 times                           
Nov  2 12:50:00 x04r2d /kernel: file: table is full                             
Nov  2 12:50:00 x04r2d last message repeated 16 times                           
Nov  2 12:50:00 x04r2d CRON[12271]: /etc/spwd.db: Too many open files in system 
ov  2 12:50:00 x04r2d /kernel: pid 12265 (cron), uid 0: exited on signal 11 (co
..
Nov  2 12:51:17 x04r2d /kernel: xl0: watchdog timeout                           
Nov  2 12:51:24 x04r2d /kernel: xl0: watchdog timeout                           

>How-To-Repeat:
sometimes it crashes with high networkload and sometimes it crashes unpredictable without high load
>Fix:


>Release-Note:
>Audit-Trail:

From: Sheldon Hearn <sheldonh@uunet.co.za>
To: bunny@atlantis.wh2.tu-dresden.de
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: kern/22561: xl networkhanging 
Date: Thu, 09 Nov 2000 20:23:25 +0200

 On Thu, 02 Nov 2000 19:03:20 PST, bunny@atlantis.wh2.tu-dresden.de wrote:
 
 > then i set the XL_MIN_FRAMELEN to 512, compile the kernel ....
 > and the system runs fine for 7 days and then
 > it crashes again and the error message was
 
 I'm not sure that the system crashing had much to do with your watchdog
 timeouts.  It looks more like you have too many processes holding too
 many file descriptors open.
 
 Perhaps you should try a kernel with a bumped up MAXUSERS option?
 
 Ciao,
 Sheldon.
 
State-Changed-From-To: open->closed 
State-Changed-By: asmodai 
State-Changed-When: Thu Nov 15 11:47:02 PST 2001 
State-Changed-Why:  
The messages entries point to a standard MAXUSERS.  On heavy loaded 
systems you probably want to compile a new kernel with a bumped 
MAXUSERS. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22561 
>Unformatted:
