Bug 22561

Summary: xl networkhanging
Product: Base System Reporter: bunny <bunny>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description bunny 2000-11-03 03:10:00 UTC
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
Comment 1 Sheldon Hearn 2000-11-09 18:23:25 UTC
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.
Comment 2 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2001-11-15 19:47:02 UTC
State Changed
From-To: open->closed

The messages entries point to a standard MAXUSERS.  On heavy loaded 
systems you probably want to compile a new kernel with a bumped 
MAXUSERS.