[00:31:03] How to run bot via toolserver? [00:31:29] sorry [00:31:33] tools wmf labs [05:39:16] Coren, hate to be this guy, but how can it be that _one_ user has 70 (seventy!) pywikibot redirect.py instances running on the _login_ node of tool labs? [05:41:12] I'm not an angel either... I noticed this because my once-a-night 5 minute bot run (that still has to run supervised) kept getting terminated (don't know if there is a direct causal connection) [05:48:53] any tool labs admin here? [06:05:34] this is crap [06:05:52] the login node is virtually unusable for me now [06:09:21] wow [06:09:22] wtf [06:09:52] joy [06:10:02] YuviPanda|zzz: wake up :| [06:10:40] when we said we want tool labs to have the same "features" as the toolserver we did not mean _that_ ;-) [06:11:27] who is avocato anyways? [06:11:41] 80 processes now [06:11:46] jeez [06:12:13] https://sn.wikipedia.org/wiki/User:Avocato [06:12:25] 86 [06:12:50] just kill it with fir^h^h^h-9 [06:14:51] apparently whoever set up login node didn't set up proper ulimits [06:15:03] we can burn him with fire instead [06:15:11] users are supposed to be stupid, that's ok, right [06:16:12] https://en.wikipedia.org/wiki/User:Avocato I operate the global bot «AvocatoBot». [06:16:28] maybe we can get someone to shut the bot using a button on wiki ? [06:17:01] "This bot runs on the Wikimedia Toolserver." [06:17:29] well, yeah, blocking the bot as a last resort [06:18:22] it will keep reading stuffs and trying to make edits, i don't know how smart it is (whether ti'd recognise it's blocked, and stop) [06:19:12] max user processes (-u) 15954 [06:19:14] ... [06:20:12] worth a shot anyways [06:20:45] https://en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard#Help.21_Please_block_User:AvocatoBot [06:20:56] I don't think blocking it will help [06:21:23] you think it will respawn? [06:21:29] yea [06:21:38] it'll keep doing that to process the stuff it can read [06:21:58] Plus taking it down on only one wiki doesn't really help [06:22:05] pywikipedia does not refuse to run with a blocked user? [06:22:14] nope [06:22:23] because for all it knows, you might just be reading [06:22:32] Coren!! [06:22:43] no he is writing to en.wp [06:22:51] well yeah [06:23:27] only 2 admins here ? Corena nd petan ? [06:23:27] who else here has root? [06:23:51] and the sleeping panda [06:25:15] https://meta.wikimedia.org/wiki/System_administrators has a list [06:25:27] local-qic@tools-login:~/qic_bot$ jsub python qic2.py [06:25:27] Segmentation fault [06:25:27] local-qic@tools-login:~/qic_bot$ [06:25:28] local-qic@tools-login:~/qic_bot$ [06:25:28] local-qic@tools-login:~/qic_bot$ qstat [06:25:28] -bash: fork: Cannot allocate memory [06:25:32] local-qic@tools-login:~/qic_bot$ [06:25:34] WTF [06:27:59] it's normal for such situation [06:28:40] oh, it's also a wrong list i think [06:29:28] have you tried the labs mailing list? [06:31:39] root started bzipping, hmm, lovely [06:31:48] no i have not, go ahead if you like [06:32:51] sent a mail [06:32:59] resisted the urge of public shaming [06:38:09] did that mail go through? [06:47:15] petan: http://lists.wikimedia.org/pipermail/labs-l/2013-November/001870.html [06:58:24] hmm [07:02:00] bblack: --^ what zhuyifei1999 said [07:02:15] svetlana: ??? [07:04:12] i go through the list i linked before, try to find other people with access [07:17:12] !log tools pkill -u avocato on tools-login, multiple /home/avocato/pywikipedia/redirect.py DoSing the bastion [07:17:14] Logged the message, Master [07:18:59] paravoid: thanks! [07:19:02] !log tools disabled crontab for user avocato on tools-login, see above [07:19:04] Logged the message, Master [07:20:10] yw [13:42:15] elph again! [14:08:09] is it suggested to run bots using OAuth now? [14:10:07] hi Coren [14:11:06] liangent: It's not a bad idea, because it increases security, but OAuth is only really critical in the cases where a bot edits on behalf of /another/ user. [14:11:27] some of our editors from zhwiki appear interested in your bot https://en.wikipedia.org/wiki/User:CorenSearchBot [14:11:30] The "old" model (bot logs in as itself with its own credentials) remains valid. [14:12:00] is there any guide, or can you simply configure your bot to run on multiple wikis? [14:12:39] It can be configured to run on any wiki, but it's not clear to me how well it'll perform with non-alphabetic scripts. [14:12:49] Coren, am I a repeat offender? [14:13:00] Cyberpower678: Not that I've noticed. [14:13:12] Am I an offender? [14:13:23] Cyberpower678: Also not that I've noticed. [14:13:28] Good. [14:13:43] * Cyberpower678 is being a good little labs users. [14:14:31] Coren: I remember it's mentioned somewhere that there's a fork of your bot? [14:14:37] liangent: I know it has been tried with some success on a wiki with cyrilic script, so it's not latin-only -- and I know I handle UTF-8 right -- but I've not heard from people using it on either non-alphabetic wikis nor RTL wikis. [14:15:07] liangent: There's a couple, AFAIK. [14:15:54] One of which was modified to work with some commercial plagiarism detection thing. [14:16:50] Coren: where can I get bosss and bossk? [14:17:44] w/ Yahoo themselves. But the WMF has a contract with them to give keys for free. In theory, I have the credentials to issue them, but I haven't been "in charge" of that for ~2y and I don't even know if I have it. :-) [14:18:08] Well, it's not *free*, but the WMF pays for it. [14:18:14] Lemme check. [14:21:04] I feel an advantage of bots-using-OAuth that a tag is automatically added for every edit [14:25:50] I can't seem to find those creds anymore. I need to set myself back up with this again; I'll talk to Maggie and Erik tomorrow. [14:31:37] Cyberpower678: If it's not too long -- I've lots of housework to do. [14:31:37] Can you fuck all scripts that aren't running on jsub for me? [14:31:37] *FIND [14:31:37] Oh god. I swear there's a perv in my autocorret. [14:31:37] Coren: ok I'm just trying to run it now but where is Text/Align/WagnerFischer ? [14:33:38] Coren, ^^ [14:35:06] is it https://github.com/jkahn/text-align/blob/master/WagnerFischer/WagnerFischer.pm ? [14:36:09] liangent: You need to install it locally yourself; it's not on CPAN. https://github.com/jkahn/text-align [14:36:36] Coren: :) [14:37:00] I hope the API didn't change too drastically; it's been years since I've pulled mine and it wasn't even on Github then. [14:37:17] Push comes to shove, I have a copy of the old version around somewhere. [14:52:35] Coren, I would hate to put labs under pressure but if toolserver is shutting down on the 6th of January, that means the edit counter with deleted edits will disappear too and a lot of agitated users will come complain. [14:53:00] Any chance of have the archive table up by January? [14:53:05] Cyberpower678: I'm pretty sure Sean is almost ready to deploy that table. [14:53:40] Coren, is it possible to get an ETA so I can put some users at ease? [14:54:08] Plz to ask Sean. I don't want to speak in his name. [14:54:21] Where? [14:58:25] Coren, pkill -u local-cyberbot will kill everything not running on jsub correct? [14:58:46] Cyberpower678: Including the session you are doing the pkill from. :-) [14:59:06] including those scripts that I started using php rfppbot.php [14:59:19] It didn't kill my session. [14:59:20] tsk, tsk. [14:59:36] Cyberpower678: perhaps pkill is nice enough to not commit suicide. I never tried. :-) [14:59:42] Are there any scripts running outside of jsub under cyberbot right now? [15:00:02] I used the pkill command thanks to recent labs email. [15:00:46] Coren, I just thought of a bot you could operate. You could a pkill bot. [15:00:52] Cyberpower678: All I'm seeing on that account is a single interactive shell [15:01:01] Meaning? [15:01:11] Is that my open terminal? [15:01:21] Cyberpower678: Well, presumably the shell you've used to do the pkill in the first place. :-) [15:01:52] Coren, actually what's even better, is knowing how to look that up myself. [15:02:35] Cyberpower678: Just to a ps aux and grep for your userid [15:02:57] Coren, you should write a bot that looks for tool labs accounts running scripts outside of jsub or webservers and kills them if they are running for more than 10 minutes. [15:03:15] Or, if you are from that very account, just 'ps ux' will do. [15:04:06] I would rather not kill anything automatically; there *are* legitimate reasons to run a bot on -login or -dev occasionally (debugging, for instance) [15:04:21] * andrewbogott pops in to make sure tools-login issue is fixed [15:04:32] Exactly. That's why I said 10 minutes. [15:05:01] I don't want to cripple legitimate uses because of misbehaving users. [15:05:01] And if they want to debug, they shold use their own compilers. [15:05:12] I do. [15:05:22] what is tools-webgrid-01 ? [15:05:33] Well, no. We want to provide an environment people can use even when they cannot do so on their own computers. [15:05:49] liangent: That's the node that runs the new-style webservices. [15:06:05] what are "new-style webservices"? [15:06:27] andrewbogott: It is. I've kicked a few more processes since and put up a very visible warning. [15:06:34] !newweb [15:06:34] https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help/NewWeb [15:06:38] liangent: ^^ [15:06:46] Coren, it apparently kills everything but -bash [15:07:02] leaving all active sessions open. [15:07:05] Cyberpower678: How polite. [15:07:11] Coren: I figured you were on top of it, given that you're here already :) [15:07:44] I'm still going to make -login and -dev bigger in eqiad. [15:07:52] !newlabs2 is This is labs. It's now become superior to toolserver. [15:07:52] Key was added [15:08:24] Coren, I didn't know you were a zombie. [15:08:42] !Coren [15:08:42] Coren is dead. petan killed him. He now roams about as a zombie. [15:10:54] good, but it doesn't seem faster [15:19:51] liangent: What doesn't seem faster? [15:21:07] * Coren returns to housework. [15:26:01] Coren: the new webserver [15:26:26] and https://tools.wmflabs.org/liangent-php/detectProtocol.php/zhwiki is still not fixed there [15:54:00] what [16:18:43] petan: where can I search channel logs? [16:20:54] http://bots.wmflabs.org/~wm-bot/searchlog/ but thats broken [16:31:10] giftpflanze: is it? [16:31:19] indeed [16:31:28] hah [17:25:25] Change on 12mediawiki a page Wikimedia Labs/Tool Labs/List of Toolserver Tools was modified, changed by Paracel63 link https://www.mediawiki.org/w/index.php?diff=827599 edit summary: X!'s Edit Counter [18:26:35] legoktm: were you trying to wake me up for the kill -9? [20:47:00] Change on 12mediawiki a page OAuth was modified, changed by Base link https://www.mediawiki.org/w/index.php?diff=828124 edit summary: tagging for translation. not all now as some need special attention [20:49:15] Change on 12mediawiki a page OAuth was modified, changed by Base link https://www.mediawiki.org/w/index.php?diff=828125 edit summary: [23:05:39] YuviPanda: yes :)