From owner-freebsd-threads@FreeBSD.ORG Mon Jul 25 07:07:39 2005 Return-Path: X-Original-To: freebsd-threads@freebsd.org Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D6A716A41F for ; Mon, 25 Jul 2005 07:07:39 +0000 (GMT) (envelope-from Ady_Li@trendmicro.com.cn) Received: from udciscan05.udc.trendmicro.com (udciscan05.udc.trendmicro.com [66.35.255.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D8CE43D4C for ; Mon, 25 Jul 2005 07:07:38 +0000 (GMT) (envelope-from Ady_Li@trendmicro.com.cn) Received: from localhost-imss.udc.trendmicro.com (localhost [127.0.0.1]) by udciscan05.udc.trendmicro.com (Postfix) with ESMTP id AA943182658; Mon, 25 Jul 2005 00:07:36 -0700 (PDT) Received: from udcexbh03-vs2.us.trendnet.org (udcexbh03.udc.trendmicro.com [66.35.252.73]) by udciscan05.udc.trendmicro.com (Postfix) with ESMTP id 7382C18264C; Mon, 25 Jul 2005 00:07:36 -0700 (PDT) Received: from adcexbh01.tw.trendnet.org ([202.133.236.201]) by udcexbh03-vs2.us.trendnet.org with Microsoft SMTPSVC(6.0.3790.211); Mon, 25 Jul 2005 00:07:37 -0700 Received: from cnexmail03.tw.trendnet.org ([10.28.128.9]) by adcexbh01.tw.trendnet.org with Microsoft SMTPSVC(6.0.3790.211); Mon, 25 Jul 2005 15:06:55 +0800 Received: from CDCEXMAIL01.tw.trendnet.org ([10.28.144.51]) by cnexmail03.tw.trendnet.org with Microsoft SMTPSVC(6.0.3790.1830); Mon, 25 Jul 2005 15:06:25 +0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Date: Mon, 25 Jul 2005 15:06:04 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: system scope threads entering STOP state Thread-Index: AcWQ4jd30JJ7vxLNQXiFBtZJLFSuZAABM9vQ From: To: , X-OriginalArrivalTime: 25 Jul 2005 07:06:25.0771 (UTC) FILETIME=[5F2013B0:01C590E7] Cc: freebsd-threads@freebsd.org Subject: RE: system scope threads entering STOP state X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2005 07:07:39 -0000 if i use vfork instead fork with compiling with libthr, my program will= block in vfork at beginning, if i use fork with compiling with libthr, my program cannot be killed by= input kill -9 -----Original Message----- From: Julian Elischer [mailto:julian@elischer=2Eorg] Sent: 2005=C4=EA7=D4=C225=C8=D5 14:29 To: Roman Streltsov Cc: freebsd-threads@freebsd=2Eorg; Ady Li (RD-CN) Subject: Re: system scope threads entering STOP state it may be worth looking at libthr too as it (the alternate threading library) is sufficiently different in this regard=2E Roman Streltsov wrote: >It looks like a failure in signal handling=2E The faster box has much more= chances to avoid extreme conditions=2E > > >On Monday 25 July 2005 10:39, Ady_Li@trendmicro=2Ecom=2Ecn wrote: > =0D > >>Dear all, >> >>I have found this program too, I wrote a backgound server program which= create out 14 >>SYSTEM_SCOPE threads, and fork a child process out in main-thread every= inteval-times >>and waitpid it with NOHUP, but run for sometimes, this program would be= in STOP state, >>and unkillabled=2E >> >>By the way, This occasion was found often in machines with single CPU, = Our QA didnot tell me >>this question when they run it with few clients=2E But when they launch= about 500 client-processes to >> connect to my program in the same machine, my program will be stoped=2E= But In a 2-cpu-machine, >>this occasion occurs fewly=2E >> >>I found Mr guy helmer has confronted this problem, could u tell me how= did u solve it? >> >>Thank in advance for any helps=2E >> >> >>Best Regards, >>Ady Li >>[TEL](86)25- 83190788x656 >> >> >> >>TREND MICRO EMAIL NOTICE >>The information contained in this email and any attachments is= confidential and may be subject to copyright or other intellectual= property protection=2E If you are not the intended recipient, you are not= authorized to use or disclose this information, and we request that you= notify us by reply mail or telephone and delete the original message from= your mail system=2E >>_______________________________________________ >>freebsd-threads@freebsd=2Eorg mailing list >>http://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-threads >>To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd= =2Eorg" >> >> =0D >> >_______________________________________________ >freebsd-threads@freebsd=2Eorg mailing list >http://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-threads >To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd= =2Eorg" > =0D > TREND MICRO EMAIL NOTICE The information contained in this email and any attachments is confidential= and may be subject to copyright or other intellectual property protection= =2E If you are not the intended recipient, you are not authorized to use or= disclose this information, and we request that you notify us by reply mail= or telephone and delete the original message from your mail system=2E