Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2001 12:47:34 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Charles Sprickman <spork@inch.com>
Cc:        <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: Shoutcast, high cpu, threads
Message-ID:  <Pine.BSF.4.33.0104181245100.81356-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.BSF.4.30.0104170144020.696-100000@shell.inch.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 17 Apr 2001, Charles Sprickman wrote:

> Hi,
>
> I'm running shoutcast on a 4.2R machine, and I'm finding that the
> shoutcast server, when idle climbs up to around 90% cpu usage.  Included
> is a bit of back-and-forth with a shoutcast support person.

Does sc_serv use select() in it's main loop?  I've seen applications that
use a zero timeout for select() and when they're idle the select() loop
runs really fast.  This certainly sucks for multiuser systems but for
dedicated boxes it allows for great response time.

Doug White                    |  FreeBSD: The Power to Serve
dwhite@resnet.uoregon.edu     |  www.FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0104181245100.81356-100000>