Skip to content

Commit

Permalink
Agent release 2.9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Bill Kayser committed Sep 18, 2009
1 parent 4617dc6 commit 58bf607
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v2.9.5
* Fix memory sampling on Snow Leopard (No more ps rsz option)

v2.9.4
* Clamp size of data sent to server
* Reset statistics for passenger when forking to avoid erroneous data
Expand Down
4 changes: 3 additions & 1 deletion lib/new_relic/agent/samplers/memory_sampler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ def initialize
else
NewRelic::Agent.instance.log.info "Using /proc/$$/status for reading process memory."
end
elsif platform =~ /darwin/
elsif platform =~ /darwin9/ # 10.5
@sampler = ShellPS.new("ps -o rsz")
elsif platform =~ /darwin10/ # 10.6
@sampler = ShellPS.new("ps -o rss")
elsif platform =~ /freebsd/
@sampler = ShellPS.new("ps -o rss")
elsif platform =~ /solaris/
Expand Down
2 changes: 1 addition & 1 deletion lib/new_relic/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module NewRelic
module VERSION #:nodoc:
MAJOR = 2
MINOR = 9
TINY = 4
TINY = 5
STRING = [MAJOR, MINOR, TINY].join('.')
end

Expand Down

0 comments on commit 58bf607

Please sign in to comment.