apple-corps
apple-corps
I just saw the same myself with the latest version. 2015-07-07 16:03:09,444 [MainThread es2graphite.py :submi:174] [ERROR ] Communication to Graphite server failed: [Errno 32] Broken pipe
What's with the debug messages being url encoded anyhow? 2015-07-07 16:06:09,224 [MainThread es2graphite.py :submi:175] [DEBUG ] Traceback+%28most+recent+call+last%29%3A%0A++File+%22.%2Fes2graphite.py%22%2C+line+172%2C+in+submit_to_graphite%0A++++graphite_socket%5B%27socket%27%5D.sendall%28+%22%25s%25s%22+%25+%28header%2C+payload%29+%29%0A++File+%22%2Fusr%2Flib%2Fpython2.7%2Fsocket.py%22%2C+line+228%2C+in+meth%0A++++return+getattr%28self._sock%2Cname%29%28%2Aargs%29%0Aerror%3A+%5BErrno+32%5D+Broken+pipe%0A
@Ralnoc I think you probably haven't experienced the issue because you don't have enough elasticsearch content that you need to chunk it. Not sure why @mitalhp 's chunking will not...
python2 ./es2graphite.py --stdout --log-level debug es.server:9200 -g graphite.server -o 2004 . I also needed to comment out some lines to get the stats into my graphite dashboard. I'm also curious...
There was an stack trace like: ``` 2015-07-02 15:27:13,240 [MainThread] [ERROR ] Traceback+%28most+recent+call+last%29%3A%0A++File+%22.%2Fes2graphite.py %22%2C+line+290%2C+in+%3Cmodule%3E%0A++++get_metrics%28%29%0A++File+%22. %2Fes2graphite.py%22%2C+line+240%2C+in+get_metrics%0A++++indices_stats_m etrics+%3D+process_indices_stats%28args.prefix%2C+indices_stats%29%0A++F ile+%22.%2Fes2graphite.py%22%2C+line+121%2C+in+process_indices_stats%0A+ +++process_section%28int%28time.time%28%29%29%2C+metrics%2C+%28prefix%2C +CLUSTER_NAME%2C+%27indices%27%29%2C+stats%5B%27indices%27%5D%29%0ATypeE rror%3A+process_section%28%29+takes+exactly+5+arguments+%284+given%29%0A 2015-07-02 15:27:13,241 [MainThread] [INFO ] 2015-07-02 15:27:13: GET ``` so...
@Ralnoc The broken pipe is likely due to having a large number of indices and stats from the cluster. I re-used and modified some of the functions from these scripts,...
@Maccraft123 finally got this write. Had to put it at the end of the script after the partition creation. Tested. Can we merge ? https://github.com/Maccraft123/Cadmium/pull/33/commits/6c0454713a64b95a4fc8401c35e686eb07c3dbb5
I believe it charges but I don't know the details.
I assume it uses either a patch or the kernel to provide https://lwn.net/Articles/814498/ .
https://cateee.net/lkddb/web-lkddb/REGULATOR_MT6358.html This is set in the kernel so yes.