Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Error:

  [2014-03-10 15:38:12] ERROR TypeError: nil can't be coerced into Fixnum
	/usr/local/Cellar/ruby/2.1.1/lib/ruby/gems/2.1.0/gems/server_metrics-1.2.0/lib/server_metrics/collectors/memory.rb:81:in `+'
Here's the output:

  [~] top -l1 -n0 -u
  Processes: 268 total, 3 running, 5 stuck, 260 sleeping, 2070 threads
  2014/03/10 15:36:26
  Load Avg: 1.92, 2.05, 2.08
  CPU usage: 4.46% user, 12.50% sys, 83.3% idle
  SharedLibs: 60M resident, 0B data, 4156K linkedit.
  MemRegions: 73352 total, 3529M resident, 83M private, 892M shared.
  PhysMem: 6726M used (1812M wired), 199M unused.
  VM: 570G vsize, 1312M framework vsize, 1570984(0) swapins, 1861805(0) swapouts.
  Networks: packets: 2441317/1583M in, 1428870/324M out.
  Disks: 3446592/122G read, 1578215/101G written.


Thanks - I can reproduce with that output. Opened an issue on github - we'll fix:

https://github.com/scoutapp/server_metrics/issues/9


Thanks again for reporting - we've released version 1.0.1 to fix the issue:

gem install scout_realtime

Note that OSX support is limited as there is no "/proc" support.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: