Steve Webb
Steve Webb
Another datapoint: we're using the fluent-logger gem (v0.4.3) to send logs to td-agent if that helps.
Messages are: 2015-08-19 18:56:37 +0000 [warn]: incoming chunk is broken: source="host: 127.0.0.1, addr: 127.0.0.1, port: 50157" msg=34 2015-08-19 18:56:37 +0000 [warn]: incoming chunk is broken: source="host: 127.0.0.1, addr: 127.0.0.1, port:...
``` def send_data(tag=nil, payload=nil) tag = "radish.calls" if tag.blank? unless payload.blank? begin Timeout::timeout(CUSTOM_LOG_TIMEOUT) do response = Fluent::Logger.post(tag, payload) end rescue Timeout::Error Rails.logger.info "FluentD Custom log Write timed out : #{Time.now.utc}"...
Ok, our developer who wrote the code says that we're using it like this: ``` rb require 'fluent-logger' log = Fluent::Logger::FluentLogger.new(nil, :host=>'localhost', :port=>24224) unless log.post("myapp.access", {"agent"=>"foo"}) p log.last_error # You...
Since turning off the app->td-agent logging, the log messages have disappeared and td-agent is stable again just forwarding the log-tailing that remains, so we believe that this issue is something...
Correct. We were sending 50-100 lines per hit in the app. Using ruby/passenger on a very busy site. td-agent would flip out more quickly when the traffic was higher (peak...
https://www.evernote.com/l/AClXQKXeFKNIj64x2h1Jh2cvk4a0tHo2VFY We were logging approx 10k log lines per minute (but spread across 40-ish servers) when this was enabled and working.
Multiple threads on the same machine to a single tdagent process On Thu, Sep 3, 2015, 2:57 AM Masahiro Nakagawa [email protected] wrote: > I am now testing fluent-logger-ruby and in_forward...
Sharing one. On Fri, Sep 4, 2015, 3:38 AM Masahiro Nakagawa [email protected] wrote: > Multiple threads on the same machine > > Sharing one fluent-logger between threads or each thread...
We have 16 Passenger Apps writing to the same single socket on the same machine. ``` [deploy@myapp01 ~]$ ps auxw | grep RubyApp deploy 1349 0.0 1.9 680216 147240 ?...