Status: New
Owner: ----
New issue 184 by mrabkin: pprof --raw output has slight bug with remote
fetch
http://code.google.com/p/google-perftools/issues/detail?id=184
Problem 1:
$ pprof --raw host:port/pprof/profile > file.raw
$ pprof --text file.raw
file.raw: Cannot recognize profile section after symbols.
Perftools version 1.4 had a slight bug in my previous patch, where the
symbolized profile data is in a slightly wrong format when used with remote
fetch. The attached patch fixes this problem by fixing the output
format (adds a necessary header line).
Problem 2:
$ pprof host:port//prof/profile
<waits for 60 extra seconds before completing due to timeout in 'wget')
On my versions of linux (Fedora Core 4 and Centos 5.2) the 'wget' by
default sets a "Connection: Keep-Alive" header for some reason, which some
of our servers respect and respond to be keeping a connection open and not
closing the socket. This causes remote fetch from pprof to potentially
take an extra 60 seconds until 'wget' closes the connection. The patch
also adds a "--no-http-keepalive" flag to wget to avoid this delay.
Attachments:
pprof.patch 1.4 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings