Hey everyone. I started to wonder why no mail was being sent from my
app and I checked the log and saw this:
I haven't upgraded my backgroundrb so I can't/shouldn't be a version
error. I decided to restart my cluster (mongrels and backgroundrb
server) and tried to send again. It worked. What causes this
problem? And what can I do so that I'll be notified when this problem
arises?
Invalid worker with name mail_worker and key
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_connection.rb:52:in
`ask_worker'
/home/ramon/my-app/current/vendor/plugins/backgroundrb/server/lib/master_worker.rb:103:in
`async_method_invoke'
/home/ramon/my-app/current/vendor/plugins/backgroundrb/server/lib/master_worker.rb:37:in
`receive_data'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_parser.rb:44:in
`extract'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_parser.rb:26:in
`loop'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_parser.rb:26:in
`extract'
/home/ramon/my-app/current/vendor/plugins/backgroundrb/server/lib/master_worker.rb:32:in
`receive_data'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_core.rb:232:in
`read_external_socket'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_core.rb:222:in
`handle_external_messages'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_core.rb:196:in
`handle_read_event'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_core.rb:192:in
`each'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_core.rb:192:in
`handle_read_event'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_core.rb:146:in
`start_reactor'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_core.rb:139:in
`loop'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_core.rb:139:in
`start_reactor'
/usr/lib/ruby/gems/1.8/gems/packet-0.1.13/lib/packet/packet_master.rb:21:in
`run'
/home/ramon/my-app/current/vendor/plugins/backgroundrb/server/lib/master_proxy.rb:14:in
`initialize'
/home/ramon/my-app/current/script/backgroundrb:47:in `new'
/home/ramon/my-app/current/script/backgroundrb:47
Client disconected
Thanks,
Ramon Tayag