-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
What about a tool that gather some statistics from all users cron(ie)tab files and show them on a public (or for logged-in users only) page/place.
The idea is that user can get an clue on what times have high or low job loads.
Something like:
00 - used xx times - xx% of all jobs 01 - used xx times - xx% of all jobs 02 - ... 03
Might also include hours and more info, BUT NO per user data just overall averages and counts.
Greetings DrTrigon
On 13.09.2012 22:59, DaB. wrote:
Hello all,
a few users contacted me about their not running cron-tasks. A often found problem is, that the cron-lines of these user are like the following:
0 0 * * * DoSomething
or
0 * * * * DoSomething
In a ideal world that would be no problem, but in real world that CAN be a problem. Why? Because many users have the same idea and our submit-hosts fail than with
(CRON) CAN'T FORK (child_process): Not enough space.
Last night 41 tasks were successful started at midnight, an unknown number failed. Of course we could just hit the problem with buying new hardware, but most time of the day these hosts do idle. So how to solve this problem? It's easy: Spread the load. Most times a task (like a bot) do not care if it is started a few minutes earlier or later. So choose a minute that is unlike 0 and not divisible without remainder by 5. If it really does not matter for you when your task starts, then take the position of the first letter of your user-name and add 2 ("dab" ? "d" ? 4 ? 6). To not produce a misunderstanding: If your task REALLY needs to start at minute 0 (or at midnight): do it. An of course cron-tasks are failing for other reasons to, so contact me (jira-bug preferred) if you have a problem.
Sincerely, DaB.
_______________________________________________ Toolserver-l mailing list (Toolserver-l@lists.wikimedia.org) https://lists.wikimedia.org/mailman/listinfo/toolserver-l Posting guidelines for this list: https://wiki.toolserver.org/view/Mailing_list_etiquette