[OpenIndiana-discuss] how to trace what stops the daemon from sleeping?

Bob Friesenhahn bfriesen at simple.dallas.tx.us
Wed Jun 24 19:00:59 UTC 2015


On Wed, 24 Jun 2015, WarGrey Gyoudmon Ju wrote:

> Hello.
>
> I am developing a web server in Racket, and it works well in MacOSX and
> Linux.
> The most weird problem is that, in OpenIndiana it does not want to sleep
> when idling,
> it just load the entire CPU core.
>
> Could you please help me to solve this problem?

You can use 'strace' or 'dtrace' (from DTrace Toolkit) to observe the 
system calls and likely see why the program is spinning.

Bob
-- 
Bob Friesenhahn
bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



More information about the openindiana-discuss mailing list