Skip to content

Instantly share code, notes, and snippets.

@katzchang katzchang/sigdump
Created Aug 19, 2014

Embed
What would you like to do?
```
Sigdump at 2014-08-10 18:45:49 +0900 process 1977 (/usr/sbin/td-agent)
Thread #<Thread:0x007f191859bf68> status=run priority=0
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/sigdump-0.2.2/lib/sigdump.rb:38:in `dump_backtrace'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/sigdump-0.2.2/lib/sigdump.rb:24:in `block in dump_all_thread_backtrace'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/sigdump-0.2.2/lib/sigdump.rb:23:in `each'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/sigdump-0.2.2/lib/sigdump.rb:23:in `dump_all_thread_backtrace'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/sigdump-0.2.2/lib/sigdump.rb:16:in `block in dump'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/sigdump-0.2.2/lib/sigdump.rb:107:in `open'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/sigdump-0.2.2/lib/sigdump.rb:107:in `_open_dump_path'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/sigdump-0.2.2/lib/sigdump.rb:14:in `dump'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/sigdump-0.2.2/lib/sigdump.rb:7:in `block in setup'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/cool.io-1.1.1/lib/cool.io/loop.rb:96:in `call'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/cool.io-1.1.1/lib/cool.io/loop.rb:96:in `run_once'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/cool.io-1.1.1/lib/cool.io/loop.rb:96:in `run'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/engine.rb:217:in `run'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/supervisor.rb:386:in `run_engine'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/supervisor.rb:94:in `block in start'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/supervisor.rb:198:in `call'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/supervisor.rb:198:in `main_process'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/supervisor.rb:173:in `block in supervise'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/supervisor.rb:172:in `fork'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/supervisor.rb:172:in `supervise'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/supervisor.rb:87:in `start'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/command/fluentd.rb:168:in `<top (required)>'
/usr/lib64/fluent/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
/usr/lib64/fluent/ruby/lib/ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/bin/fluentd:6:in `<top (required)>'
/usr/lib64/fluent/ruby/bin/fluentd:23:in `load'
/usr/lib64/fluent/ruby/bin/fluentd:23:in `<top (required)>'
/usr/sbin/td-agent:7:in `load'
/usr/sbin/td-agent:7:in `<main>'
Thread #<Thread:0x007f1911cd8990> status=sleep priority=0
/usr/lib64/fluent/ruby/lib/ruby/1.9.1/thread.rb:71:in `wait'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/output.rb:157:in `cond_wait'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/output.rb:141:in `run'
Thread #<Thread:0x007f1911cd80d0> status=sleep priority=0
/usr/lib64/fluent/ruby/lib/ruby/1.9.1/thread.rb:71:in `wait'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/output.rb:157:in `cond_wait'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/output.rb:141:in `run'
Thread #<Thread:0x007f191177e710> status=sleep priority=0
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/cool.io-1.1.1/lib/cool.io/loop.rb:96:in `run'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/plugin/out_forward.rb:123:in `run'
Thread #<Thread:0x007f1911c38558> status=sleep priority=0
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/cool.io-1.1.1/lib/cool.io/loop.rb:96:in `run'
/usr/lib64/fluent/ruby/lib/ruby/gems/1.9.1/gems/fluentd-0.10.45/lib/fluent/plugin/in_tail.rb:203:in `run'
Built-in objects:
101,379: TOTAL
44,903: T_STRING
18,603: T_ARRAY
12,626: T_DATA
5,812: FREE
5,130: T_NODE
4,068: T_FLOAT
2,582: T_OBJECT
1,860: T_CLASS
1,241: T_FILE
1,007: T_RATIONAL
935: T_BIGNUM
715: T_STRUCT
695: T_HASH
486: T_MATCH
435: T_REGEXP
148: T_ICLASS
132: T_MODULE
1: T_COMPLEX
All objects:
31,340: String
11,103: Array
4,278: Time
3,830: RubyVM::InstructionSequence
3,777: Float
939: File
934: EOFError
934: File::Stat
933: Rational
853: Bignum
770: Class
509: Proc
480: RubyVM::Env
435: Regexp
369: Hash
312: Gem::Version
283: Gem::Requirement
173: Gem::Dependency
132: Module
99: Encoding
54: Gem::Specification
43: Range
24: Mutex
23: MatchData
20: Method
13: OptionParser::Switch::RequiredArgument
8: OptionParser::Switch::NoArgument
6: Fluent::Config::Element
6: OptionParser::OptionMap
5: Thread
4: Object
3: JSON::Ext::Generator::State
3: Coolio::Loop
3: Fluent::NewTailInput::TailWatcher::TimerWatcher
3: OptionParser::List
3: IO
2: UnboundMethod
2: ConditionVariable
2: Coolio::IO::Watcher
2: Fluent::OutputThread
2: Fluent::NewTailInput::TailWatcher::RotateHandler
2: Fluent::NewTailInput::TailWatcher::StatWatcher
2: Fluent::NewTailInput::FilePositionEntry
2: Fluent::NewTailInput::TailWatcher::IOHandler
2: Fluent::NewTailInput::TailWatcher
2: OptionParser::Switch::OptionalArgument
1: OptionParser
1: UDPSocket
1: Fiber
1: Fluent::ForwardOutput::HeartbeatHandler
1: Coolio::TimerWatcher
1: Fluent::ForwardOutput::Node
1: Fluent::ForwardOutput::FailureDetector
1: Fluent::TimeFormatter
1: Gem::Platform
1: Fluent::GlobMatchPattern
1: Fluent::Match
1: IO::Buffer
1: Fluent::EngineClass
1: Fluent::NewTailInput
1: Fluent::Supervisor::LoggerInitializer
1: Fluent::Supervisor
1: Fluent::ForwardOutput::HeartbeatRequestTimer
1: Fluent::TextParser::TimeParser
1: Fluent::TextParser::RegexpParser
1: Fluent::TextParser
1: Fluent::PluginClass
1: Fluent::ForwardOutput
1: Fluent::NullOutputChain
1: Fluent::NullOutput
1: Fluent::CopyOutput
1: OptionParser::Switch::PlacedArgument
1: Resolv
1: Resolv::Hosts
1: Resolv::DNS
1: Fluent::NewTailInput::PositionFile
1: Fluent::FileOutput
1: Resolv::DNS::Config
1: Fluent::MemoryBuffer
1: Fluent::Log
1: WEBrick::HTTPVersion
1: Fluent::FileBuffer
1: Gem::PathSupport
1: OptionParser::CompletingHash
1: Process::Status
1: Complex
1: ThreadGroup
1: IOError
1: Binding
1: RubyVM
1: NoMemoryError
1: SystemStackError
1: Random
1: ARGF.class
1: OpenSSL::X509::Store
1: Data
1: fatal
1: Fluent::StatusClass
1: Fluent::MemoryBufferChunk
1: URI::Parser
String 3,635,065 bytes
Array 40 elements
Hash 30 pairs
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.