[Backgroundrb-devel] Schedule write errors?

Joel Chippindale joel.chippindale at gmail.com
Thu May 22 07:08:57 EDT 2008


Thanks very much for this, it seems to have resolved the problem very
nicely.
J.
2008/5/21 hemant <gethemant at gmail.com>:

> Look in the mail previous mail by Mike also see my response. You can
> try out git versions of packet and backgroundrb and see if this fixes
> your problem.
>
>
> http://gnufied.org/2008/05/21/bleeding-edge-version-of-backgroundrb-for-better-memory-usage/
>
>
> On Wed, May 21, 2008 at 9:19 PM, Joel Chippindale
> <joel.chippindale at gmail.com> wrote:
> > My BackgrounDRb server intermittently bails out with the following
> exception
> > in the middle of a long running task running on a Worker sub classed
> > from BackgrounDRb::MetaWorker (the point at which it raises this
> exception
> > is different each time it runs)
> >
> /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_core.rb:145:in
> > `schedule_write': You have a nil object when you didn't expect it!
> > (NoMethodError)
> > The error occurred while evaluating nil.instance from
> >
> /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:57:in
> > `write_and_schedule'
> > from
> >
> /Users/joel/git/deathstar/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/whiny_nil.rb:35:in
> > `each_with_index'
> > from
> >
> /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:51:in
> > `each'
> > from
> >
> /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:51:in
> > `each_with_index'
> > from
> >
> /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:51:in
> > `write_and_schedule'
> > from
> >
> /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_nbio.rb:72:in
> > `dump_object'
> > from
> >
> /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:31:in
> > `send_data'
> > from
> >
> /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_worker.rb:40:in
> > `send_request'
> > ... 23 levels...
> > from
> >
> /opt/local/lib/ruby/gems/1.8/gems/packet-0.1.5/lib/packet/packet_master.rb:20:in
> > `run'
> > from
> >
> /Users/joel/git/deathstar/vendor/plugins/backgroundrb/server/lib/master_worker.rb:166:in
> > `initialize'
> > from script/backgroundrb:60:in `new'
> > from script/backgroundrb:60
> > I am running BackgrounDRb (r 324 from the subversion repository), with
> > packet v 0.1.5 on OS X.
> > Any suggestions for resolving this problem are welcomed.
> > J.
> > _______________________________________________
> > Backgroundrb-devel mailing list
> > Backgroundrb-devel at rubyforge.org
> > http://rubyforge.org/mailman/listinfo/backgroundrb-devel
> >
>
>
>
> --
> Let them talk of their oriental summer climes of everlasting
> conservatories; give me the privilege of making my own summer with my
> own coals.
>
> http://gnufied.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20080522/0de0774c/attachment.html>


More information about the Backgroundrb-devel mailing list