Skip to content

Instantly share code, notes, and snippets.

View ksteffensen's full-sized avatar

Kirk Steffensen ksteffensen

View GitHub Profile
@ksteffensen
ksteffensen / stripped_strace_output.txt
Created January 9, 2013 21:57
https://gist.github.com/4497263 with all rt_sigprocmask lines stripped out for better readability.
read(5, "\26\3\1\0Q\2\0", 7) = 7
read(5, "\0M\3\1P\355\341\264\241`\5\215\23\220+\222x\37\234L\302\307\221Q\275\265+\323'~\256r"..., 79) = 79
read(5, "\26\3\1\n\357", 5) = 5
read(5, "\v\0\n\353\0\n\350\0\5\2200\202\5\2140\202\3t\240\3\2\1\2\2\1\0030\r\6\t*\206"..., 2799) = 2799
read(5, "\26\3\1\3\r", 5) = 5
read(5, "\f\0\3\t\0\200\235%9\\\264T\212\377%\346\326\237L\303\301\215\241\372\272\210LS\251t\332\372"..., 781) = 781
read(5, "\26\3\1\0\20", 5) = 5
read(5, "\r\0\0\10\5\3\4\1\2@\0\0\16\0\0\0", 16) = 16
write(5, "\26\3\1\n\302\v\0\n\276\0\n\273\0\5c0\202\5_0\202\3G\240\3\2\1\2\2\1\t0"..., 3480) = 3480
read(5, 0x1dc8fcb0, 5) = -1 EAGAIN (Resource temporarily unavailable)
@ksteffensen
ksteffensen / strace_output_during_puppet_pluginsync_problem.txt
Created January 9, 2013 21:46
This strace output is from the 10 seconds or so that it took to pull one file in the Puppet Labs stdlib module from the server to the client during initial plugin sync. Lots of rt_sigprocmask calls. (4061 total lines. The majority are rt_sigprocmask calls.)
read(5, "\26\3\1\0Q\2\0", 7) = 7
read(5, "\0M\3\1P\355\341\264\241`\5\215\23\220+\222x\37\234L\302\307\221Q\275\265+\323'~\256r"..., 79) = 79
read(5, "\26\3\1\n\357", 5) = 5
read(5, "\v\0\n\353\0\n\350\0\5\2200\202\5\2140\202\3t\240\3\2\1\2\2\1\0030\r\6\t*\206"..., 2799) = 2799
read(5, "\26\3\1\3\r", 5) = 5
read(5, "\f\0\3\t\0\200\235%9\\\264T\212\377%\346\326\237L\303\301\215\241\372\272\210LS\251t\332\372"..., 781) = 781
read(5, "\26\3\1\0\20", 5) = 5
read(5, "\r\0\0\10\5\3\4\1\2@\0\0\16\0\0\0", 16) = 16
write(5, "\26\3\1\n\302\v\0\n\276\0\n\273\0\5c0\202\5_0\202\3G\240\3\2\1\2\2\1\t0"..., 3480) = 3480
read(5, 0x1dc8fcb0, 5) = -1 EAGAIN (Resource temporarily unavailable)
@ksteffensen
ksteffensen / puppet_output.txt
Created January 7, 2013 13:47
Puppet output while retrieving the Puppet Labs stdlib module. This took 13 minutes and 48 seconds on a CentOS 5.8 Vagrant VM running Puppet 3.0.2 (installed using "gem install puppet" in the basebox).
Info: Retrieving plugin
Notice: /File[/var/lib/puppet/lib]/mode: mode changed '0755' to '0775'
Notice: /File[/var/lib/puppet/lib/puppet]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/provider/file_line]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/parser]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/parser/functions]/ensure: created
Notice: /File[/var/lib/puppet/lib/puppet/parser/functions/ensure_packages.rb]/ensure: defined content as '{md5}ca852b2441ca44b91a984094de4e3afc'