From dflit@nns.ru Wed Jun 30 09:53:40 1999
Return-Path: <dflit@nns.ru>
Received: from gera.nix.nns.ru (ns.nns.ru [194.135.102.10])
	by hub.freebsd.org (Postfix) with ESMTP id 24EC11558C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 30 Jun 1999 09:53:36 -0700 (PDT)
	(envelope-from dflit@nns.ru)
Received: from lana.nix.nns.ru (lana.nix.nns.ru [192.168.2.77]) by gera.nix.nns.ru (8.9.1a/8.7.3) with ESMTP id UAA01277 for <FreeBSD-gnats-submit@freebsd.org>; Wed, 30 Jun 1999 20:53:35 +0400 (MSD)
Received: (from dflit@localhost)
	by lana.nix.nns.ru (8.9.3/8.9.3) id UAA02272;
	Wed, 30 Jun 1999 20:54:30 +0400 (MSD)
	(envelope-from dflit)
Message-Id: <199906301654.UAA02272@lana.nix.nns.ru>
Date: Wed, 30 Jun 1999 20:54:30 +0400 (MSD)
From: dflit@nns.ru
Reply-To: dflit@nns.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: Fast system hangs under high FS load
X-Send-Pr-Version: 3.2

>Number:         12466
>Category:       kern
>Synopsis:       Fast system hangs under high FS load
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 30 10:00:01 PDT 1999
>Closed-Date:    Mon Feb 25 23:18:18 PST 2002
>Last-Modified:  Mon Feb 25 23:18:46 PST 2002
>Originator:     Dmitry Flitmann
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
National Electronic Library, Moscow, Russia
>Environment:

Intel Sc450NX, 2xXeon 500Mhz/512K cache, 1G RAM, SymBios/NCR 53c896 u2w SCSI
(also tried Adaptec 2940U2W), 3xSEAGATE ST318203LC (Cheetah) disks.

OS: FreeBSD 3.2-RELEASE, 3.2-STABLE, 4.0-CURRENT
(3.2 - with "Current" NCR driver)
either in SMP mode or not.

>Description:

System hangs while copying a large tree of small files between
two disks (~150Mb, 200'000 files).
No diagnostic is given.
No new processes can be created, already running ones - continue running 
until any disk operation attempt.

We tried different SCSI controllers (symbios 53c896 & adaptec 2940U2W),
different kernels (RELEASE/Current/Stable, with or without SMP).

ktrace shows last operation - "namei" while opening file for reading.

When we launch some serious background job, everything seems to work fine
(slower, of course).

We think it is a filesystem  problem with locking/delays/etc, which appears
only on a fast systems.

>How-To-Repeat:

Try copying a large tree of small files from one disk to another
on an idle system
(cp -RPp /ar/archive /ar1/ )

>Fix:
	
workaround - to slow down system by running a large background job.

>Release-Note:
>Audit-Trail:

From: Dmitry Flitman <dflit@da.nu>
To: freebsd-gnats-submit@freebsd.org, dflit@nns.ru
Cc:  
Subject: Re: kern/12466: Fast system hangs under high FS load
Date: Mon, 05 Jul 1999 23:18:56 +0300

 addition:
 
 system continued hanging in different conditions, 
 for example - copying a lagge directory tree caused hanging in 15
 minutes,
 tar cf /dev/null /ar - in 3 minutes.
 
 After reading kern/11330 bug report, we tried limiting kernel to 512M
 RAM.
 
 Everything seems to be OK for now.
 
 Are there any known problems in working with memory over 512M?
 
 Sincerely,
 Dmitry Flitman
 National Electronic Library
 
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Fri Nov 16 13:47:23 PST 2001 
State-Changed-Why:  

Hi, does this problem still occur? It sounds more like a hardware 
than software issue. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=12466 
State-Changed-From-To: feedback->closed 
State-Changed-By: silby 
State-Changed-When: Mon Feb 25 23:18:18 PST 2002 
State-Changed-Why:  
Freeback timeout. 

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