[erlang-questions] finding hard to find bugs in production systems

Scott Lystig Fritchie fritchie@REDACTED
Mon Jan 25 06:51:01 CET 2010


Fredrik, have you tried using etop?  It's easy enough to find the CPU
pig, though identifying exactly what that pig is doing isn't always so
easy.

    /path/to/lib/observer-*/priv/bin/etop -node name@REDACTED \
        [-lines N] [-interval 1] [-tracing off] [...]

The "-tracing off" is helpful if the target system is extremely
overloaded, since tracing all processes is very intrusive.  If the
target system is extremely overloaded anyway, it may interfere with the
inter-node communication between the target node and the etop node,
which can make the reports incomplete or impossible.  :-(  Give it a
try.  Oh, and make certain that the correct cookie is available to the
etop node.

-Scott


More information about the erlang-questions mailing list