I am confused by the ActiveJob (sucker_punch) interaction with 
ActiveRecords.

After a while the application is running, logs start receiving:

[...]
E, [2015-03-19T12:48:20.770265 #31422] ERROR -- : Actor crashed!
ActiveJob::DeserializationError: Error while trying to deserialize 
arguments: OCIError: ORA-03135: connessione interrotta
ID processo: 16538
[...]

It looks the actor is trying to use a stale ActiveRecord session.

Apart from the actor, ActiveRecords works fine in the application. 
Connection to db is ok.

Is it possibile actors are "detached" from application so they are unable 
to check out a new connection from the pool?

How can I avoid that?

Pointers are greatly appreciated,

thank you,

Francesco

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/9ef0f936-4af2-4490-bd5e-069ec863fe6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to