?profile=true causes error when using mode: objects
Closed this issue · 4 comments
Adding ?profile=true to my url following the instructions i get this:
PROFILE: interrupts/evictions/bytes = 0/0/64
Running the command 'bundle exec pprof.rb --gif /private/var/folders/7h/y502phtj2b1g8cjs0c173hrw0000gn/T/rack_perftools_profiler.prof' exited with status 1
Using local file /Users/nico/.rvm/rubies/ruby-2.0.0-p247/bin/ruby.
Using local file /private/var/folders/7h/y502phtj2b1g8cjs0c173hrw0000gn/T/rack_perftools_profiler.prof.
No nodes to print
That can occur if the program was so fast that it could not be sampled. Try profiling a slower request to see if you get anything. You can also try increasing the frequency.
Nope, whatever page I test (and my app is not the fastest) I get this error. Also upping the frequency doesn't help. In the browser the error looks like this:
Running the command 'bundle exec pprof.rb --text /private/var/folders/7h/y502phtj2b1g8cjs0c173hrw0000gn/T/rack_perftools_profiler.prof' failed to generate a file
Standard error:
Using local file /Users/nico/.rvm/rubies/ruby-2.0.0-p247/bin/ruby.
Using local file /private/var/folders/7h/y502phtj2b1g8cjs0c173hrw0000gn/T/rack_perftools_profiler.prof.
It only appears with mode=objects. Which is the only mode I need unfortunately...
thx, yes, it works now, but takes ages for a single request... ;-)