-
Notifications
You must be signed in to change notification settings - Fork 294
Requesting large number of metrics leads to task hang #662
Comments
Just as a note, I have seen this too with a plugin that gets a metric ton of data once a day. |
@marcin-krolik @thomastaylor312: #664 should fix this issue. When you have time please test it. |
I won't be back in to a place where I can test it until Monday. I'll do On Fri, Jan 8, 2016 at 6:01 PM Joel Cooklin notifications@github.com
|
Hi @jcooklin, I created PR for processes |
Hi @marcin-krolik, did you test your processes plugin against #664? |
I successfully tested against @marcin-krolik process plugin here.
Notice that it has run 127 times collecting 10K metrics on each interval. |
@jcooklin we are linking to a private github above. |
Hi, Thanks! |
Fix #662: Task hangs on a large number of metrics
I found out requesting large number of metrics (around 500 is enough) from any collector plugin leads to task hang.
Issue was check with lower number of metrics (50, 100, 200, 300) and there was no error.
Reproduction:
$ $SNAP_PATH/bin/snapctl plugin load build/plugin/snap-publisher-file
$SNAP_PATH/bin/snapctl task create -t examples/task/task.json
Fails:
Task watcher starts but no output shows up.
File publisher produces only 1 iteration of results, then no new content published
It is not possible to stop started task with
Task stays on the list of tasks with state "Running"
Publisher plugin, collector plugin heartbeat leaves. It is possible to unload publisher and collector.
files_and_logs.zip
The text was updated successfully, but these errors were encountered: