From owner-freebsd-i386@FreeBSD.ORG Mon May 1 18:40:20 2006 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E22D216A400 for ; Mon, 1 May 2006 18:40:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6500643D49 for ; Mon, 1 May 2006 18:40:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k41IeF8Z080104 for ; Mon, 1 May 2006 18:40:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k41IeFw4080102; Mon, 1 May 2006 18:40:15 GMT (envelope-from gnats) Resent-Date: Mon, 1 May 2006 18:40:15 GMT Resent-Message-Id: <200605011840.k41IeFw4080102@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "欧阳云汉" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CA3F16A403 for ; Mon, 1 May 2006 18:35:26 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B4DD43D46 for ; Mon, 1 May 2006 18:35:26 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k41IZQCl048571 for ; Mon, 1 May 2006 18:35:26 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k41IZPOv048570; Mon, 1 May 2006 18:35:25 GMT (envelope-from nobody) Message-Id: <200605011835.k41IZPOv048570@www.freebsd.org> Date: Mon, 1 May 2006 18:35:25 GMT From: "欧阳云汉" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: i386/96612: Howto prevent no-respond in freebsd?! X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 18:40:21 -0000 >Number: 96612 >Category: i386 >Synopsis: Howto prevent no-respond in freebsd?! >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon May 01 18:40:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: 欧阳云汉 >Release: freebsd-i386-6.0 >Organization: 中国重庆三峡学院 >Environment: FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0:Mon Apr 17 20:57:14 UTC 2006 root@:/usr/src/sys/i386/compile/GENERIC i386 >Description: I write the code like this: ------------------------------------------- #include #include #include int main(){ while(1){ system("./a.out"); signal(main(),SIG_IGN); } return 0; } ------------------------------------------- When "gcc -Wall ./test.c" and "./a.out",the system will be more and more slowly! after about 1 minute,the system will be no-respond besides do a switch of tty! Is there a way to prevent the circs when I system this code?! >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: