Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 1999 15:43:43 +0000
From:      Dan Moschuk <dm@globalserve.net>
To:        hackers@freebsd.org
Subject:   odd pthreads problem.
Message-ID:  <19990320154343.A34085@globalserve.net>

next in thread | raw e-mail | index | archive | help

Greetings,

I have encounted a small problem that I believe is with pthreads.  I have a
threaded program that operates under a fair amount of load.  When it is started
from crontab, the CPU usage jumps to 100%, when it is started from the command
line it idles around 3-7%.  However, when it is started from the commandline,
I get a fairly regular screen dump of "junk" (similar to what you'd see if
you cat'd a binary file to stdout).  This occurs even when stdout/stderr 
is redirected to /dev/null.  I have gone through my code a few times, and
there are *no* instances where it prints to the screen.

This has been tested with 2.2.7 and last weeks 4.0-current.

Ideas?

Regards,
-- 
Dan Moschuk (TFreak!dm@globalserve.net)
Senior Systems/Network Administrator
Globalserve Communications Inc., a Primus Canada Company
"If at first you don't succeed, redefine success"



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?19990320154343.A34085>