Questions tagged [oink]

Oink is a rails plugin and log parser to help narrow down the source(s) of increased memory usage in rails applications.

Oink is a rails plugin and log parser to help narrow down the source(s) of increased memory usage in rails applications.

See https://github.com/noahd1/oink

9 questions
4
votes
0 answers

Rails memory usage - understanding oink output

I'm using the oink gem to profile my app's memory usage and i'm getting some strange output i'm not understanding. My home page loads some apartments using Apartment.where(visible: true) When I run this query in the console Apartment.where(visible:…
Uri Klar
  • 3,800
  • 3
  • 37
  • 75
3
votes
1 answer

Using oink on Heroku by creating Hodel 3000 compliant logs

I am having a memory leak and am trying to track it down, therefore im trying to use oink on Heroku servers. Since Heroku does not provide log archives, im exporting them to Amazon S3 through the Papertrail add-on. I have been able to succesfully do…
jalagrange
  • 2,291
  • 2
  • 19
  • 24
2
votes
0 answers

How can I run oink in heroku?

I'm having a problem running the oink gem on my app in Heroku. I've included it in my gemfile and gemfile.lock, uploaded those, and it installs. It even creates the oink.log (which I have no way of viewing, unfortunately). When I run heroku run…
aferris
  • 111
  • 2
  • 5
2
votes
1 answer

Rails application not freeing memory?

In my rails application total object are increasing with every request. Objects are not freeing after GC runs. I am using Rails 3.2.3 and ruby 1.9.3. Can someone point me in right direction ? Where to start? What are the available tools ? Tools…
krunal shah
  • 16,089
  • 25
  • 97
  • 143
1
vote
0 answers

Heroku, Oink and R14 errors. Can one line of code need 70MB of memory?

I've been somewhat concerned at the number of R14 errors I'm getting on Heroku recently. I don't know if this has anything to do with using Unicorn. Or having recently installed New Relic or Logentries. I really can't work it out. I have "installed"…
Darren
  • 1,682
  • 1
  • 15
  • 33
1
vote
0 answers

Oink not logging to STDOUT in Rails 4.1 app on Heroku

Previous questions seemed to get Oink to successfully log to standard out in Heroku with this setup (which mirrors the setup in this article on arches.io): Gemfile: ... gem 'oink', '~> 0.10.1' ... application.rb: ... config.middleware.use…
Markus Coetzee
  • 3,384
  • 1
  • 29
  • 26
0
votes
1 answer

Why is my Heroku app memory footprint so big

I have a Rails 4.2 application running on Heroku, Ruby version is 2.2.4 When I restart the application, using Heroku´s log-runtime-metrics the app logs this: sample#memory_total=102.07MB sample#memory_rss=102.06MB sample#memory_cache=0.00MB…
Pod
  • 928
  • 1
  • 10
  • 30
0
votes
1 answer

Salvage Oink logs in Rails.logger format

A few weeks ago we installed Oink to analyze the poor memory performance of our Rails application. Unfortunately, we missed the boat on using the Hodel 3000 Compliant logger. After having a catastrophic memory event where we started paging 700 mb…
NealJMD
  • 864
  • 8
  • 15
0
votes
1 answer

Understanding oink output

I am using oink to help determine the causes of memory bloat in an application, but I am having a hard time making sense of the output produced from oink (or making any actionable decisions based on it). If there is some documentation or blog that…
Craig Kochis
  • 873
  • 1
  • 8
  • 21