Comments (16)
Hmmm interesting. I feel like I recently saw one of those in our system as well. I will see if I can get someone from the rearview team to take a look. Thanks for reporting and good to hear from you @tarcieri ;)
from rearview.
Hey there @tarcieri! I didn't see this before, I guess my notification settings are wrong. Are you still having this problem?
from rearview.
I am indeed! Still trying to figure it out too o_O
I'll be taking another look at it today and can get you more info then. I was hoping there would be some other associated exception, but I'm not seeing it in the logs.
from rearview.
Ok. Double check your config/initializers/rearview.rb as well, I think I saw something like this a long time ago and it ended up being configuration related.
from rearview.
It quite likely is, I'm just not sure what exactly is misconfigured
from rearview.
This might catch the problem:
$ rake RAILS_ENV=production rearview:config:verify
from rearview.
Will give that a try, thanks!
from rearview.
Well, that found a few things wrong, but now I get:
validating...PASSED
And it's still crashing with the same error.
from rearview.
Is your jdk and jruby version on the build matrix:
https://travis-ci.org/livingsocial/rearview-engine
from rearview.
We're using this:
jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on Java HotSpot(TM) 64-Bit Server VM 1.7.0_17-b02 [linux-amd64]
I can try upgrading JRuby. In the meantime I can provide another pointer... things seem to be going amiss here:
https://github.com/livingsocial/rearview-engine/blob/master/lib/rearview/monitor_service.rb#L25
Here, @jobs.values
is []
It seems that even trying to reference (i.e. print out or call) @supervisor
crashes the program. If I comment out L25 and try to start the supervisor from the console:
irb(main):001:0> Rearview::MonitorSupervisor.run!
=> #<Celluloid::ActorProxy(Rearview::MonitorSupervisor:0x2cc0) @registry=#<Celluloid::Registry:0x7d26297b @registry_lock=#<Mutex:0x546d8a6d>, @registry={}> @members=[]>
Very strange...
from rearview.
Very strange! I seem to be guarding against nil and an empty [] correctly in the MonitorSupervisor. Which JDK (oracle, openjdk,etc)?
from rearview.
@tarcieri it does look like the build fails with jruby-1.7.2 (with openjdk{6,7}). It could be coincidence -- I'll have to dig more into it later
https://travis-ci.org/livingsocial/rearview-engine/builds/27228811
from rearview.
I seem to recall numerous bugs in earlier versions of JRuby and Celluloid ;). I'll try updating JRuby.
from rearview.
Cool...let me know how it goes. If its still busted I'll keep working with you on it until we figure it out.
from rearview.
Quick update: looks like upgrading JRuby fixed the problem.
We're still having some issues but they're unrelated to this.
from rearview.
I'm working on a vagrant setup, which will make it at least easier for people to test drive rearview.
from rearview.
Related Issues (20)
- Consider using dredd HOT 1
- Alerts getting delivered at an interval of 60 minutes. HOT 2
- Read Only for Rearview HOT 1
- Is there a way to interact with database from the monitor scripts ? HOT 2
- How can I get count of alerts sent over a time period. HOT 3
- Default alert URI not working HOT 2
- Rearview::ResultsHandler:0x64e17c9c> firing event :error HOT 1
- Sandbox permissions on monitor scripts. HOT 6
- Bundle installed problems HOT 3
- want to debug rearview
- Interface slows browser to a crawl HOT 12
- Monitor Test Error! HOT 8
- Rearview does not allow selecting multiple series with `{...}` HOT 5
- Validation Failure - graphite can not be reached. HOT 6
- Test Monitor Issue HOT 4
- "Test Monitor" throwing cannot load such file -- bundler (LoadError)
- Documentation request: Failover considerations, operating experience
- `initialize': undefined method `[]' for nil:NilClass (NoMethodError)
- Is this project dead? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rearview.