Content
delayed job issue
Added by fariouche Ben about 10 years ago
Hello,
I’ve enabled the delayed job daemon, and since then, many emails are sent regularily to some users even if they are not watchers and the account is configured so that they are notified only for their tasks…
On the server side, I can see many errors:
Sent mail to my_user@user.com (174.9ms)
2014-10-10T16:29:49+0200: [Worker(delayed_job host:myPC pid:8856)]* Class#work_package_updated failed with EOFError: end of file reached - 4 failed attempts*
Rendered user_mailer/_issue_details.html.erb (13.0ms)
Rendered user_mailer/work_package_updated.html.erb within layouts/user_mailer (16.7ms)
Rendered user_mailer/_issue_details.text.erb (3.3ms)
Rendered user_mailer/work_package_updated.text.erb within layouts/user_mailer (4.7ms)
This is maybe the reason why this user is receiving so many mails.
Also, when the delayed job daemon is running, I cannot use the task connector with ms project. I get an internal error 500.
Stopping the delayed job fix the issues…
Anything I’ve miss configured somewhere?
Thanks
Replies (1)
I’ve executed rake jobs:clear to clean the database, but there is something wrong.
Whenever I open a task (in the timeline for example) for viewing, I have many many mails sent (some with EOFError, some with no errors)
I have not done any modification to the task, and there is no watchers for this task too…
Example of a trace:
Sent mail to <someone’s email> (786.8ms)
2014-10-13T10:33:02+0200: [Worker(delayed_job host:myPC pid:30048)] Class#work_package_updated completed after 0.8858
Rendered user_mailer/_issue_details.html.erb (14.1ms)
Rendered user_mailer/work_package_updated.html.erb within layouts/user_mailer (21.7ms)
Rendered user_mailer/_issue_details.text.erb (3.8ms)
Rendered user_mailer/work_package_updated.text.erb within layouts/user_mailer (9.3ms)