~/talk

What to do when Mongrel stops responding...

Talkat MountainWest RubyConf 2008 · 2008-03-28..03-29· [devops-and-delivery, ruby]
links:none on file
slides:none on file

When Mongrel stops responding the actionable steps are: attach with GDB with Ruby macros to get C and Ruby stack traces and even evaluate Ruby in-process (note: GDB freezes the process), run lsof to see file locks, and use DTrace probes to trace syscalls plus Ruby-level events without heavy overhead. A small shim called x-ray fires Ruby probes portably so requests, rendering and DB times are aggregated; demos show consistent sub-100ms actions vs sporadic multi-second outliers, and the tooling reliably isolates syscall vs app-level causes.

AI-written summary · about

  1. 0:00Start
  2. 9:33Use Gdb To Attach to the Process
  3. 15:09How Can We Get the Macros
  4. 27:38Dtrace for Performance Analysis
  5. 50:11Build Own Custom Instruments
  6. 50:44What Should You Remember about this Presentation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.