• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5776: MailerContrib cannot run multiple instances at the same time (document this fact)

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension MailerContrib Normal Closed   patch 4.2.1

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

In the support TWiki for MailerContrib, I reported duplicate notifications from MailerContrib.

Turned out that the news and web notifies were running in parallel & interfering with each-other.

  • This indicates missing synchronization (semaphore/lock) in the code; it should not be the user's responsibility to manage synchronization.
  • Even if this is not fixed (and it should be), the restriction should be documented in the installation instructions.
  • I provided a work-around script that consolidates all twiki maintenance (news/web notify, statistics, ticktwiki) into a single script/crontab entry. You might want to include it as an example in the documentation; it would avoid having others run into this trap. And it is somewhat more efficient than having several cron jobs.

This was quite painful to live with -- I'm marking it normal rather than urgent because there is now a work-around.

-- TWiki:Main/TimotheLitt - 14 Jul 2008

Note script is in TWiki:Support/DuplicateNotificationsFromMailerCon

-- TWiki:Main.KennethLavrsen - 14 Jul 2008

A docu update should be sufficient to close this one.

A lock mechanism is a bit of an overkill and risky in case a lock file is left behind after a crash.

The docu I added to the MailerContrib.txt file points to the support topic so people can take advantage of the suggested script should they desire.

-- TWiki:Main.KennethLavrsen - 27 Jul 2008

ItemTemplate
Summary MailerContrib cannot run multiple instances at the same time (document this fact)
ReportedBy TWiki:Main.TimotheLitt
Codebase 4.1.2
SVN Range

AppliesTo Extension
Component MailerContrib
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:17144 TWikirev:17145
TargetRelease patch
ReleasedIn 4.2.1
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r6 - 2008-08-04 - KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback