From owner-freebsd-questions Fri Feb 18 15:30: 3 2000 Delivered-To: freebsd-questions@freebsd.org Received: from uhura.concentric.net (uhura.concentric.net [206.173.118.93]) by hub.freebsd.org (Postfix) with ESMTP id 0B05537BAA0 for ; Fri, 18 Feb 2000 15:29:59 -0800 (PST) (envelope-from zcollier@cncx.com) Received: from marconi.concentric.net (marconi.concentric.net [206.173.118.71]) by uhura.concentric.net (8.9.1a/(98/12/15 5.12)) id SAA16807; Fri, 18 Feb 2000 18:29:57 -0500 (EST) [1-800-745-2747 The Concentric Network] Received: from cncx.com ([216.112.38.30]) by marconi.concentric.net (8.9.1a) id SAA28800; Fri, 18 Feb 2000 18:29:51 -0500 (EST) Message-ID: <38ADD5A3.DF7EB7F5@cncx.com> Date: Fri, 18 Feb 2000 15:28:35 -0800 From: Zander Collier X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: sbwait state question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am running a server with a 3rd party server app that has upwards of 30 clients connecting to it at a time. It is supposed to accept up to 127 simultaneously. In the course of the day and in the use of the server, it is often falling into the state (as listed in top) of sbwait. This means that while it is in 'sbwait' mode the process is locked up and no one can do anything while connected to it. It will remain locked like this for upwards of 5 minutes and the shortest lockup was about 30 seconds. One time it was so long, I killed and restarted the process. I am running FreeBSD 3.4 and the Linux Compatibility libraries. It is running on a Dual Celeron (400) Abit BP6 with 196 megs of PC100 memory running at 66 Mhz. The load of the app averages about 13.5% processor time. uptime measures have shown highest marks of 1.0 but it usually is running at 0.13 to 0.07 The other daemons running are ssh-1.2.27, standard FTP, and Apache 1.3.11 with PHP support. That is all. I have compiled the kernel for SMP and included the following options ('app' will be the server app described above): NCPU=2 -should be correct NBUS=4 -default, I don't know; everything but this server app seems to work properly NAPIC=1 -default, don't know. all but app works properly NINTR=24 -default, don't know. all but app works properly SMP and APIC of course have been enabled. I am hoping someone could give me some insight as to how better to troubleshoot this situation as it is very vexing. Thanks, -Zander -- Zander Collier zcollier@cncx.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message