[Bug 46476] Running dispatchChanges as cronjob doesn't close down as expected

2013-05-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46476

denny vrandecic denny.vrande...@wikimedia.de changed:

   What|Removed |Added

 Status|RESOLVED|VERIFIED
 CC||denny.vrandecic@wikimedia.d
   ||e

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46476] Running dispatchChanges as cronjob doesn't close down as expected

2013-04-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46476

jeb...@gmail.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from jeb...@gmail.com ---
I think this can be closed as fixed

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46476] Running dispatchChanges as cronjob doesn't close down as expected

2013-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46476

Nemo federicol...@tiscali.it changed:

   What|Removed |Added

   See Also||https://bugzilla.wikimedia.
   ||org/show_bug.cgi?id=46643

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46476] Running dispatchChanges as cronjob doesn't close down as expected

2013-04-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46476

Nemo federicol...@tiscali.it changed:

   What|Removed |Added

   Keywords||patch-in-gerrit
 CC||federicol...@tiscali.it

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46476] Running dispatchChanges as cronjob doesn't close down as expected

2013-04-03 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46476

--- Comment #5 from Andre Klapper aklap...@wikimedia.org ---
(In reply to comment #4)
 patch: I525152d3

Aude / jeblad / Daniel:  The patch has been merged. What work is left here? Or
can this bug report be closed as FIXED?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46476] Running dispatchChanges as cronjob doesn't close down as expected

2013-03-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46476

Aude aude.w...@gmail.com changed:

   What|Removed |Added

 CC||aude.w...@gmail.com

--- Comment #2 from Aude aude.w...@gmail.com ---
don't know if it's related but kept getting system error and system reboot
during the weekend while running the dispatcher.

when I stopped the dispatcher cronjob, then had no issues:

1Mar 23 13:30:01 hathor suhosin[5998]: ALERT - script tried to disable
memory_limit by setting it to a negative value -1 bytes which is not allowed
(attacker 'REMOTE_ADDR not set', file 'unknown')

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46476] Running dispatchChanges as cronjob doesn't close down as expected

2013-03-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46476

Tomasz W. Kozłowski odder.w...@gmail.com changed:

   What|Removed |Added

 CC||odder.w...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46476] Running dispatchChanges as cronjob doesn't close down as expected

2013-03-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46476

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

 CC||daniel.kinz...@wikimedia.de

--- Comment #3 from Daniel Kinzler daniel.kinz...@wikimedia.de ---
For reference:

* I didn't change anything about the way the dispatcher script is launched,
kept alive, or terminated. It should behave as before. Can you please provide
the exact setup that casued problems?

* per default, the number of passes before quitting is the number of client
wikis. So, if you have 6 client wikis configured, the dispatcher will do 6
passes, then exit. When the process exits, the database connection is closed.
Does the process somehow lock up and stay around? Also, please run with the
--verbose option for more helpful output.

* when run from cron, the --max-time option should be set the the period at
which the cron job is run, so the old dispatcher terminates when the new one is
started. Ideally, we'd never need to do this, and this could be set to one a
year. In practice, something between 10 minutes and 1 hours seems sensible,
because it allows for a swift recovery should the dispatcher die.

* dispatchChanges itself doesn't mess with the memory limit; MediaWiki does so
per default I think. even if it did, I have no idea how that could trigger a
reboot.

* since ops requested a proper daemon, I guess that's the way top go. I'd be
happy if I wouldn't have to code that, though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46476] Running dispatchChanges as cronjob doesn't close down as expected

2013-03-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46476

--- Comment #4 from Daniel Kinzler daniel.kinz...@wikimedia.de ---
Confirmed:

When running dispatchChanges without the --max-time parameter (and thus,
relying on --max-passes, possibly using the default value), the script would
loop until the given number of changes where successfully completed. However,
if there were no new changes, there was nothing to dispatch, and idle passes
were not counted as completed. So the process would be stuck until a new
change was recorded.

The solution is to count idle passes against --max-passes as well.

patch: I525152d3

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46476] Running dispatchChanges as cronjob doesn't close down as expected

2013-03-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46476

Daniel Kinzler daniel.kinz...@wikimedia.de changed:

   What|Removed |Added

 Status|NEW |ASSIGNED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 46476] Running dispatchChanges as cronjob doesn't close down as expected

2013-03-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=46476

jeb...@gmail.com changed:

   What|Removed |Added

   Priority|Unprioritized   |Highest
   Severity|normal  |major

--- Comment #1 from jeb...@gmail.com ---
Setting this to highest and major until it can be verified if this script is
indeed expected to be run from crontab. If so, and that is the intended use at
WMF, then it should be critical or a blocker.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l