From niklas@cima.registrar.no  Sat Mar 26 09:25:11 2005
Return-Path: <niklas@cima.registrar.no>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 4FADD16A4CE
	for <freebsd-gnats-submit@freebsd.org>; Sat, 26 Mar 2005 09:25:11 +0000 (GMT)
Received: from mail1.registrar.no (pop.registrar.no [217.116.80.19])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C51FA43D1F
	for <freebsd-gnats-submit@freebsd.org>; Sat, 26 Mar 2005 09:25:10 +0000 (GMT)
	(envelope-from niklas@cima.registrar.no)
Received: by mail1.registrar.no (Postfix, from userid 1004)
	id BDBF15251AA; Sat, 26 Mar 2005 10:13:25 +0100 (CET)
Received: from cima.registrar.no (cima.registrar.no [217.116.80.5])
	by mail1.registrar.no (Postfix) with ESMTP id 8904E52516C
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 26 Mar 2005 10:13:25 +0100 (CET)
Received: by cima.registrar.no (Postfix, from userid 1001)
	id 41A228108; Sat, 26 Mar 2005 10:17:57 +0100 (CET)
Message-Id: <20050326091757.41A228108@cima.registrar.no>
Date: Sat, 26 Mar 2005 10:17:57 +0100 (CET)
From: Niklas Saers <niklas@freebsd.org>
Reply-To: Niklas Saers <niklas@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: jls loops
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         79245
>Category:       kern
>Synopsis:       jls loops
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pjd
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 26 09:30:02 GMT 2005
>Closed-Date:    Mon Aug 15 12:17:18 GMT 2005
>Last-Modified:  Mon Aug 15 12:17:18 GMT 2005
>Originator:     Niklas Saers
>Release:        FreeBSD 5.4-PRERELEASE i386
>Organization:
Registrar A/S
>Environment:
System: FreeBSD cima.registrar.no 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #9: Tue Mar 22 14:05:25 CET 2005 root@cima.registrar.no:/usr/obj/usr/src/sys/cima i386

sources cvsup'ed from RELENG_5 March 22nd, 2005. Problem repeats on all 5.4-PRERELEASE servers I've tried so far

>Description:
I've got a script that creates ~200 jails at boot-up, and to display status it simply does a "jls|wc -l".
In roughly 1 out of 50 cases, jls will loop until killed. From top:

 2937 root     126    0  1248K   644K RUN    1   0:29 23.27% 22.75% jls

and from ps aux:

root     2937 21.2  0.0  1248   644 con  R+    9:40AM   0:31.08 jls

This did not happen with a recent cvsup from RELENG_5_3, new with RELENG_5

>How-To-Repeat:
Fire up many jails, throwing in jls statements at will

>Fix:

No fix yet, but I can try to reproduce the error after having applied patches.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->pjd 
Responsible-Changed-By: pjd 
Responsible-Changed-When: Mon Mar 28 14:26:55 GMT 2005 
Responsible-Changed-Why:  
I'll take this one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79245 
State-Changed-From-To: open->closed 
State-Changed-By: pjd 
State-Changed-When: Mon Aug 15 11:25:01 GMT 2005 
State-Changed-Why:  
Fix in HEAD, MFC after 3 days. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=79245 
>Unformatted:
