Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2000 15:28:35 -0800
From:      Zander Collier <zcollier@cncx.com>
To:        questions@freebsd.org
Subject:   sbwait state question
Message-ID:  <38ADD5A3.DF7EB7F5@cncx.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38ADD5A3.DF7EB7F5>