Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support
  • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Expand project menu
General discussion
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. General discussion
  5. delayed job issue

delayed job issue

Added by fariouche Ben almost 11 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)

RE: delayed job issue - Added by fariouche Ben almost 11 years ago

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)

  • (1 - 1/1)
Loading...