You are browsing a read-only backup copy of Wikitech. The live site can be found at


From Wikitech-static
Revision as of 17:40, 13 May 2015 by imported>Legoktm (+APC dumping)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Problem determination and data collection

  • hhvm-dump-debug: captures a stack trace of HHVM and writes it to stdout and to /tmp/hhvm.$ Run hhvm-dump-debug --full to generate a core dump as well.
  • links -dump -width 80: produce a full Apache status report, showing which requests are currently in flight.
  • furl is a cURL-like tool for FastCGI. You can use it to bypass Apache and request pages directly from HHVM. For example: furl Requests always go to localhost.
  • curl localhost:9002/dump-apc will dump all the current APC keys to /tmp/apc_dump.