On Tue, Apr 17, 2001 at 01:47:11AM -0400, 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.
> 
> I'm not too clear on what he's talking about, is there any information I
> can pass on to him to help debug this?  While I will take his suggestion
> on increasing the sleep time, I don't want to push it too far or I may end
> up with a "stuttering" server.
> 
> Thanks,
> 
> Charles
> 
> ---------- Forwarded message ----------
> Date: Mon, 16 Apr 2001 10:27:33 -0700
> From: Tom Pepper <[EMAIL PROTECTED]>
> To: Charles Sprickman <[EMAIL PROTECTED]>
> Subject: Re: high cpu usage
> 
> keep going up.  your machine is fast enough that values as high as 10,000
> may show improvement.
> 
> you're seeing this problem because freebsd is the only o/s i know of that
> ignores sleep values with very small microsecond values.

The man pages say:

 sleep - suspend process execution for an interval measured in seconds
 usleep - suspend process execution for an interval measured in microseconds

Maybe he's using the wrong routine?

-- 
 Ben

"I told Paddy no, I told Steve no, I told Paul no, and Ben fell asleep."
                   --Kate C. (no, different Ben, I would have stayed up)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to