Hi Ramin, When heka is running it emits HeapAlloc, HeapSys and few other metrics which you can graph or alert based on them. I've seen heka freezing only when I send TERM signal to it and some Lua plugin fails to stop correctly or something like that. May be someone else will give you insights on other conditions.
For checking how heka is processing I know 3 ways: * dashboard ( http://hekad.readthedocs.org/en/v0.10.0/config/outputs/dashboard.html) -- it doesn't display individual messages but displays number of messages processed, queues, lags, etc * if you send messages over TcpOutput you can enable buffering and use "heka-cat" command to browse/tail protobuf logs in /var/cache/heka * the most usable for me way is creating additional output like the following: [debug_encoder] type="RstEncoder" [LogOutput] encoder="debug_encoder" message_matcher="TRUE" This makes heka dump all messages to stdout. If you store that in logs hope you rotate them based on size reached. Best regards, Timur On Wed, Mar 30, 2016 at 2:22 AM, Ramin Ali Dousti <[email protected]> wrote: > Hi, > > I have a nagging question. I read in the documentations and I also > experienced it myself that hekad might become "wedged" and there would be > no activity within the system while the process seems up from the outside. > My question is what are the conditions that this might happen? The reason I > ask is that my hekad instances might be running for weeks with no problem > but they could end up "wedged" for no obvious reason. Knowing what gets > them into this mode, might help me prevent that situation. > > Also, hekad seems a very quiet process log-wise. How can I have it log > "important" information about its doing? > > I really appreciate any insight. > > -- > Ramin > > _______________________________________________ > Heka mailing list > [email protected] > https://mail.mozilla.org/listinfo/heka > >
_______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka

