[00:04:04] Warning: There is 1 user waiting for shell: Fvue (waiting 161 minutes) [00:04:05] Warning: There is 1 user waiting for access to tools project: Merl (waiting 9 minutes) [00:12:52] !screenfix is script /dev/null [00:12:53] This key already exist - remove it, if you want to change it [00:12:57] !screenfix [00:12:58] script /dev/null [00:12:59] [= [00:17:33] Warning: There is 1 user waiting for shell: Fvue (waiting 175 minutes) [00:17:34] Warning: There is 1 user waiting for access to tools project: Merl (waiting 22 minutes) [00:31:01] Warning: There is 1 user waiting for shell: Fvue (waiting 188 minutes) [00:31:02] Warning: There is 1 user waiting for access to tools project: Merl (waiting 35 minutes) [00:44:30] Warning: There is 1 user waiting for shell: Fvue (waiting 201 minutes) [00:44:31] Warning: There is 1 user waiting for access to tools project: Merl (waiting 49 minutes) [00:44:51] anyone else having an odd "/bin/sh: 1: jsub: not found [00:44:51] " error when trying to run a tool via a cron job [00:45:36] http://pastebin.com/qUGtppu0 [00:48:37] JasonDC: You need to set PATH in your crontab or use /usr/local/bin/jsub (cf. https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help#Scheduling_jobs_at_regular_intervals). [00:57:55] Warning: There is 1 user waiting for shell: Fvue (waiting 215 minutes) [00:57:56] Warning: There is 1 user waiting for access to tools project: Merl (waiting 62 minutes) [01:00:10] alright, thanks [01:02:40] I am trying to get ~/public_html/index.cgi to execute as a cgi from the web directory of my service group. Can I configure that from my own .htaccess? [01:02:51] i.e. is it disabled somehow? [01:07:31] because of course I have a 500 error which I can't diagnose [01:10:34] yeah- a minimal counterexample shows me that it has something to do with having the cgi files in the main directory [01:11:06] http://tools.wmflabs.org/enwp10/cgi-bin/x.cgi versus http://tools.wmflabs.org/enwp10/x.cgi [01:11:24] Warning: There is 1 user waiting for shell: Fvue (waiting 228 minutes) [01:11:25] Warning: There is 1 user waiting for access to tools project: Merl (waiting 76 minutes) [01:17:46] carl-cbm: I'm not sure; I think there is an "ExecCGI" directive but you can't use it from .htaccess. So you're probably limited to /cgi-bin. Don't know if you redirect that transparently. [01:19:39] scfc_de: they apparently do have it configured to run php scripts from public_html ? [01:21:30] carl-cbm: Hmmm. You may be able to convince Coren to enable that for *.cgi as well. [01:22:09] I presume php has an exec() command [01:22:27] carl-cbm: You want to call a CGI from PHP? Sure, why not. [01:22:37] just bootstrap it I mean [01:24:17] carl-cbm: Sure. Is it just aesthetics avoiding /cgi-bin? [01:24:54] Warning: There is 1 user waiting for shell: Fvue (waiting 242 minutes) [01:24:55] Warning: There is 1 user waiting for access to tools project: Merl (waiting 89 minutes) [01:26:56] scfc_de: well, otherwise I need to do directory rewriting, since the page I'm looking at is index.cgi [01:28:09] carl-cbm: Okay. BTW, https://jira.toolserver.org/browse/TS-1652 can be closed? [01:30:44] scfc_de: I can't find the button to close it :( [01:31:41] carl-cbm: You have to login, (and then fast, as JIRA will log you out very soon otherwise :-)), then "Assign To Me", then "Resolve this issue" (or similar). [01:32:54] ok, it is resolved now [01:34:49] carl-cbm: Thanks. [01:37:45] carl-cbm: The "--where" idea is nice lateral thinking :-). [01:38:14] Warning: There is 1 user waiting for shell: Fvue (waiting 255 minutes) [01:38:15] Warning: There is 1 user waiting for access to tools project: Merl (waiting 103 minutes) [01:39:34] thanks. I will have to bug Coren about the cgi. It will work with index.php, but php doesn't seem to have a clean exec() function. It will not work with index.py even though the docs claim that .py scripts will run inside public_html [01:41:17] if I just take a working .py fiel and rename it index.py, it stops working [01:42:40] carl-cbm: Sorry, never used Python for web stuff. And I believe petan and Coren as the only people able to look into the logs are sleeping :-). [01:49:02] I think it is just a combination of different apache settings, I can bug Coren about it some time. The rest of the scripts seem to run fine out of cgi-bin [01:51:43] Warning: There is 1 user waiting for shell: Fvue (waiting 269 minutes) [01:51:44] Warning: There is 1 user waiting for access to tools project: Merl (waiting 116 minutes) [01:53:18] scfc_de: are you a volunteer on the wmf labs, or one of the staff? [01:53:48] carl-cbm: Volunteer. [01:53:59] carl-cbm: And you? :-) [01:54:16] thanks for the help. I'm not really involved with the labs apart from migrating things off of toolserver [01:55:46] carl-cbm: I basically just make my own stuff work as well :-). [02:05:09] Warning: There is 1 user waiting for shell: Fvue (waiting 282 minutes) [02:05:10] Warning: There is 1 user waiting for access to tools project: Merl (waiting 130 minutes) [02:18:34] Warning: There is 1 user waiting for shell: Fvue (waiting 296 minutes) [02:18:35] Warning: There is 1 user waiting for access to tools project: Merl (waiting 143 minutes) [02:31:54] Warning: There is 1 user waiting for shell: Fvue (waiting 309 minutes) [02:31:55] Warning: There is 1 user waiting for access to tools project: Merl (waiting 156 minutes) [02:45:15] Warning: There is 1 user waiting for shell: Fvue (waiting 322 minutes) [02:45:16] Warning: There is 1 user waiting for access to tools project: Merl (waiting 170 minutes) [02:58:35] Warning: There is 1 user waiting for shell: Fvue (waiting 336 minutes) [02:58:36] Warning: There is 1 user waiting for access to tools project: Merl (waiting 183 minutes) [03:12:00] Warning: There is 1 user waiting for shell: Fvue (waiting 349 minutes) [03:12:01] Warning: There is 1 user waiting for access to tools project: Merl (waiting 196 minutes) [03:18:52] it looks like the SGE setup is going to need some tweaking [03:20:33] carl-cbm: Why? [03:21:14] qstat -f -u '*' [03:22:37] At the moment, it's just memory, and addshore's task don't last for long, I believe. [03:23:06] (Though hack-xyz isn't a very good description :-).) [03:23:27] most of them were started 3 hours ago - about 175 jobs [03:23:55] a job that is supposed to run once per hour would have no chance [03:24:40] I think that's all this interwiki/wikidata stuff, so hopefully there will be an end sometime :-). [03:25:01] it would be easy enough to tweak the max slots-per-user on sge [03:25:28] Warning: There is 1 user waiting for shell: Fvue (waiting 362 minutes) [03:25:29] Warning: There is 1 user waiting for access to tools project: Merl (waiting 210 minutes) [03:26:26] Probably much nicer to just set up tools-exec-05 :-). WMF isn't really short on hardware. [03:26:50] indeed [03:31:14] carl-cbm: But you're right, you can see the sharp increase in . [03:35:47] I did not know about the ganglia server, thanks. It's good to know this is a new problem that I happened to run into [03:38:43] are the db servers in the ganglia? [03:38:49] Warning: There is 1 user waiting for shell: Fvue (waiting 376 minutes) [03:38:50] Warning: There is 1 user waiting for access to tools project: Merl (waiting 223 minutes) [03:52:10] Warning: There is 1 user waiting for shell: Fvue (waiting 389 minutes) [03:52:11] Warning: There is 1 user waiting for access to tools project: Merl (waiting 237 minutes) [03:56:53] carl-cbm: I haven't them yet. [03:57:33] I was wondering mainly because the load on the exec servers looked low for the number of jobs, so the slowdown must be somewhere else [03:59:44] It's memory; do a "qstat -j $JOBNUMBER" for a job of yours that's pending. [04:00:51] sure, that is what is keeping new jobs from running. I was talking about what is keeping the running jobs from finishing [04:04:05] addshore's programming skills?! :-) When I last saw one of the interwiki/wikidata scripts, it looked optimizable. So probably just a huge task. [04:05:30] Warning: There is 1 user waiting for shell: Fvue (waiting 402 minutes) [04:05:31] Warning: There is 1 user waiting for access to tools project: Merl (waiting 250 minutes) [04:18:51] Warning: There is 1 user waiting for shell: Fvue (waiting 416 minutes) [04:18:52] Warning: There is 1 user waiting for access to tools project: Merl (waiting 263 minutes) [04:32:13] Warning: There is 1 user waiting for shell: Fvue (waiting 429 minutes) [04:32:14] Warning: There is 1 user waiting for access to tools project: Merl (waiting 277 minutes) [04:45:32] Warning: There is 1 user waiting for shell: Fvue (waiting 443 minutes) [04:45:33] Warning: There is 1 user waiting for access to tools project: Merl (waiting 290 minutes) [04:58:54] Warning: There is 1 user waiting for shell: Fvue (waiting 456 minutes) [04:58:55] Warning: There is 1 user waiting for access to tools project: Merl (waiting 303 minutes) [05:12:15] Warning: There is 1 user waiting for shell: Fvue (waiting 469 minutes) [05:12:16] Warning: There is 1 user waiting for access to tools project: Merl (waiting 317 minutes) [05:14:49] is there some similar thing like https://wiki.toolserver.org/view/Toolserver_database available on labs database? [05:25:39] Warning: There is 1 user waiting for shell: Fvue (waiting 483 minutes) [05:25:40] Warning: There is 1 user waiting for access to tools project: Merl (waiting 330 minutes) [05:39:05] Warning: There is 1 user waiting for shell: Fvue (waiting 496 minutes) [05:39:06] Warning: There is 1 user waiting for access to tools project: Merl (waiting 344 minutes) [05:52:25] Warning: There is 1 user waiting for shell: Fvue (waiting 509 minutes) [05:52:26] Warning: There is 1 user waiting for access to tools project: Merl (waiting 357 minutes) [06:05:46] Warning: There is 1 user waiting for shell: Fvue (waiting 523 minutes) [06:05:47] Warning: There is 1 user waiting for access to tools project: Merl (waiting 370 minutes) [06:19:12] Warning: There is 1 user waiting for shell: Fvue (waiting 536 minutes) [06:19:13] Warning: There is 1 user waiting for access to tools project: Merl (waiting 384 minutes) [06:32:36] Warning: There is 1 user waiting for shell: Fvue (waiting 550 minutes) [06:32:37] Warning: There is 1 user waiting for access to tools project: Merl (waiting 397 minutes) [06:46:01] Warning: There is 1 user waiting for shell: Fvue (waiting 563 minutes) [06:46:02] Warning: There is 1 user waiting for access to tools project: Merl (waiting 410 minutes) [06:59:31] Warning: There is 1 user waiting for shell: Fvue (waiting 576 minutes) [06:59:32] Warning: There is 1 user waiting for access to tools project: Merl (waiting 424 minutes) [07:12:56] Warning: There is 1 user waiting for shell: Fvue (waiting 590 minutes) [07:12:57] Warning: There is 1 user waiting for access to tools project: Merl (waiting 437 minutes) [07:26:21] Warning: There is 1 user waiting for shell: Fvue (waiting 603 minutes) [07:26:22] Warning: There is 1 user waiting for access to tools project: Merl (waiting 451 minutes) [07:29:56] !screenfix [07:29:56] script /dev/null [07:39:49] Warning: There is 1 user waiting for access to tools project: Merl (waiting 464 minutes) [07:53:23] Warning: There are 2 users waiting for access to tools project, displaying last 2: Merl (waiting 478 minutes) Sumanah-testing (waiting 12 minutes) [08:06:52] Warning: There are 2 users waiting for access to tools project, displaying last 2: Merl (waiting 491 minutes) Sumanah-testing (waiting 25 minutes) [08:15:51] !tr Merl [08:15:52] request page: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/Merl?action=edit talk page: https://wikitech.wikimedia.org/wiki/User_talk:Merl?action=edit§ion=new&preload=Template:ToolsGranted link: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [08:16:39] !tr Sumanah-testing [08:16:39] request page: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/Sumanah-testing?action=edit talk page: https://wikitech.wikimedia.org/wiki/User_talk:Sumanah-testing?action=edit§ion=new&preload=Template:ToolsGranted link: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [08:16:50] @seen sumana [08:16:51] petan: I have never seen sumana [08:16:56] @seen sumanah [08:16:56] petan: Last time I saw sumanah they were quitting the network with reason: Quit: Leaving N/A at 5/22/2013 1:56:33 PM (1.18:20:23.4102570 ago) [08:17:06] hmmm [08:17:16] is there thought of having a centralized logging server? [08:17:19] for tools labs at least? [08:17:52] unified logging from multiple processes / jobs seems hard to do right now... [08:18:24] it could also be easily used to find out status of tools [08:18:27] thoughts, petan? [08:18:32] @seen Moogsi [08:18:33] YuviPanda: Last time I saw Moogsi they were quitting the network with reason: Ping timeout: 248 seconds N/A at 5/18/2013 4:51:49 PM (5.15:26:43.1745520 ago) [08:18:51] YuviPanda logging of what [08:19:02] of log output from tools? [08:19:06] oh [08:19:10] in my case, i've the GitHub -> Gerrit Bot [08:19:11] well, that is a good idea [08:19:14] there's a web part, the 'receiver' [08:19:25] that recevies web hook pushes, and then just starts a job [08:19:33] now the log for the receiver and the job will have to be different [08:19:35] and hence complicated [08:19:42] if we implement something like a central scribe server or something [08:19:52] we can also expose nice UI for non-tech people to gawk at logs :) [08:20:09] hmm [08:20:22] Warning: There is 1 user waiting for access to tools project: Mauro742 (waiting 10 minutes) [08:20:48] petan: it'll also help with 'is this tool up?' questions [08:20:57] so how would you design it? how the logs would be recorded from a tool? [08:20:59] also if logging is easy and nice more people will use logging [08:21:25] petan: something like https://github.com/facebook/scribe [08:21:33] we shouldn't reinvent the wheel, there are plenty of these around [08:21:58] scribe is not the only thing there are plenty of other options too [08:22:03] thx petan [08:22:10] yw [08:23:47] hey chrismcmahon [08:24:12] lol addshore [08:24:38] are you trying to kill the cluster? [08:26:06] Coren|Sleep I am going to create some more exec nodes [08:26:47] petan: is this (logging server) something tools labs would be interested in? in the future, at least... [08:27:01] ? [08:28:51] !log tools created 2 more exec nodes, setting up now... [08:28:52] Logged the message, Master [08:29:02] YuviPanda I think yes [08:29:15] alright, powercut in about 3 minutes [08:29:16] :) [08:29:20] :P [08:31:21] addshore is there any place near that table you are at [08:31:35] oh dammit, you are all at the hackathon [08:31:35] grr [08:33:29] YuviPanda: You didn't come? [08:33:35] anomie: exams :( [08:33:47] worst part is that when the schedule was announced, I have a 10 day window right during the hackathon [08:33:57] but of course I wouldn't know that when this was all being planned [08:34:41] now it's time for my daily power cut [08:34:42] bye [08:36:27] Coren|Sleep I think we should create a bigger swap because now the instances are 100% when it comes to operating memory but only up to 3gb of real memory is used on them [08:37:16] petan: When the new exec nodes up and running, let me know and I'll update http://tools.wmflabs.org/anomiebot/packages.html [08:37:58] ok [08:38:25] anomie are these in puppet or not? [08:38:32] if not it makes sense they aren't on all of them [08:38:35] Well, if I can get a job through addshore's 200-some [08:38:58] petan: The packages? No idea. I just came up with a way to find the inconsistencies. [08:39:06] ok [08:39:58] petan: is there any possibility to tell grid engine on tool lab to not execute two jobs at the same time? (like user_slot on ts) [08:40:14] anomie: The queue is free :) [08:41:00] addshore: Oh, good! What was all that, anyway? [08:41:20] trying to clear up a 700,000 article backlog as quickly as possible :) [08:41:49] only 250,000 left now ;p [08:43:08] !log setting up lvm on new exec nodes because it is more flexible and allows us to change the size of volumes on the fly [08:43:09] setting is not a valid project. [08:43:12] addshore: if you run the same job mutiple times you can use one job having multiple taks [08:43:46] how? :) [08:44:10] !log tools setting up lvm on new exec nodes because it is more flexible and allows us to change the size of volumes on the fly [08:44:11] Logged the message, Master [08:46:23] addshore: -t 1-500 then environment variable $SGE_TASK_ID contains the task number if you have to know it in your script [08:47:19] hmmm, currently I need to submit a seperate parameter with each task :/ [08:48:57] you can create one file and use the tasknumber as line number to grab the needed parameter [08:50:23] addshore: e.g. http://wiki.gridengine.info/wiki/index.php/Simple-Job-Array-Howto#Pulling_data_from_the_ith_line_of_a_file [08:50:27] [= [08:50:36] will check it out ina second :) [08:51:22] now they're just messing with me. scheduled power cut didn't happen today. grr [08:52:05] or..... it just hasn't happened yet ;p [08:55:38] Coren|Sleep the new boxes aren't same as previous, they don't have so huge /tmp but the fs is living on lvm so if we needed to extend swap, or /tmp or any other fs, we can do that online :P [08:56:55] erm [08:58:58] addshore: yes, that's the frustrating part [08:59:16] also how can I programmatically retreive job id of something that I just submitted? [08:59:32] currently second line 3rd word of the output of jsub is jobid [08:59:36] but i don't know if I can rely on that [08:59:49] can I, Coren|Sleep / petan / anyone else? [09:00:05] hi addshore [09:00:05] YuviPanda: I think that's pretty safe - that's just the output of qsub [09:00:27] what's your way to move tool/bot from bots to tools? [09:00:33] including 'prog?: /bin/echo'? [09:00:42] (I was testing jsub with an echo) [09:03:05] Yuvi: in a min, at hackaton [09:04:12] * YuviPanda hacks Coren a ton [09:05:37] hey liangent ! [09:06:34] coren where? :P [09:06:59] petan: Where are _you_? [09:07:37] addshore: what's your way to move tool/bot from bots to tools? [09:08:08] liangent: what sort of tool? [09:08:18] (what des it need)? [09:08:55] *does [09:09:07] * Coren is sitting at the bottom, centet, behind the speaker. Brion is about 3 feet from me at the end of the table. [09:09:26] whee :D [09:09:34] addshore: primarily files [09:09:39] maybe databases too [09:09:50] replicated dbs? :) [09:09:56] or just a userdb? :) [09:10:20] userdb [09:10:25] lovely :) [09:10:36] btw ssh from bots-login to tools-login seems impossible [09:10:51] thats correct :P [09:11:01] it seems we need some host-based authentication [09:11:11] liangent: Something odd on the toolserver side we havn't tracked down. It works the other way 'round though. [09:12:11] hmmm, liangent actually this works for me [09:12:18] are you forwarding your ssh key? [09:12:39] addshore: You can ssh from the labs to the toolserver? [09:12:46] addshore: note that forwarding your ssh key means you effectively share it with all roots [09:12:52] oh, to the toolserver? Coren Ill check [09:13:00] it's better to create a specific key for internal labs use [09:13:05] Coren: there was some talk yesterday where this thing was mentioned [09:13:14] addshore: Didn't work two day ago, something at the TS side is blocking traffic from labs [09:13:28] Coren: time tweaked to use utc: (2:53:12 PM) Damianz: SSH from labs to production is restricted, for some reason the toolserver ip range is in the range blocked [09:14:16] I was taking about ssh from bots-login to tools-login [09:14:24] Aha. So it'd be on our end? I need to talk to Leslie about it. I'll track her down, she's around here [09:15:06] addshore: ProxyCommand ssh -a -W %h:%p bastion1.pmtpa.wmflabs [09:15:14] so I guess I had it disabled... [09:16:57] addshore: I often see cautions telling me not to enable forwarding [09:17:00] is it safe here? [09:17:01] Coren: Should one of us get up and invite to the workshops? [09:17:12] Coren: ... and would you do that? [09:17:39] liangent: basically: do you trust the roots to your private ssh key [09:18:05] valhallasw: as my ssh key is labs / wikimedia specific I see no real reason not to [09:18:51] mine is not [09:19:08] make a labs specific one ? ;p [09:20:26] addshore: I've never tried using two keypairs simultaneously [09:20:38] any guide about it? [09:21:08] liangent: https://wikitech.wikimedia.org/wiki/User:Magnus_Manske/Migrating_from_toolserver under connecting to different servers [09:25:39] Warning: There is 1 user waiting for access to tools project: Hydriz (waiting 0 minutes) [09:27:17] Coren is there a free place near you with power? [09:27:31] Seat between me and Brion is empty [09:29:05] Coren: So according to platonides's email on toolserver-l, there's db access on labs now? [09:29:18] ye [09:29:19] legoktm: yes =] [09:29:22] ooh [09:29:25] how do i get access?? [09:29:26] legoktm: I've been travelling so I haven't yet caught up on email; but yes [09:29:29] althoguht I dont think all langs dbs are availible yet [09:29:37] @search wikitech [09:29:38] Results (Found 10): pxe, wikitech, mobile-cache, tooldocs, sal, rq, tr, proxy, toolsrequest, replicateddb, [09:29:48] !replicateddb | legoktm see this [09:29:48] legoktm see this: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help#Database_access [09:29:51] legoktm: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help#Production_replicas [09:29:57] :O [09:31:03] * legoktm hugs petan addshore and wm-bot  [09:31:37] xD [09:31:44] we are all so helpfull ;p [09:34:00] any chance we can get metawiki added to the list? [09:34:09] that would be helpful for cross-wiki stuff [09:34:12] ^^ Coren [09:35:02] addshore: valhallasw: is this config file correct http://pastebin.com/GV2ebAyW to use a specialized keypair for labs http://pastebin.com/PV7sZFkh ? [09:35:07] the latter [09:35:23] actually the only difference is -a and 0A [09:35:24] -A [09:35:42] Im afraid I cant help you as I am on windows and use pagent :/ [09:35:45] ugh, I never proxy, I always just ssh in and then ssh further [09:35:52] Users can create databases with names starting with username__ (where username is your credentials' user, which can be found in your ~/replica.my.cnf followed by two underscores) <-- Can I add things after the two underscores? and why 2 underscores? [09:36:18] two underscores? [09:37:00] https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Help#Creating_databases | addshore [09:37:09] I havn't read that bit yet ;p [09:37:35] interesting with two underscores :O [09:38:02] legoktm: You can, and two underscores to make the namespace unique (no username can have them) [09:38:16] ah, ok. [09:38:38] thanks :) [09:38:59] now i need to make my scripts TS and labs compatible! [09:39:06] :D [09:39:08] Warning: There is 1 user waiting for access to tools project: Hydriz (waiting 13 minutes) [09:39:26] it seems removal of pubkeys from wikitech doesn't take effect instantly [09:39:31] this sounds bad [09:39:44] liangent: nfs is not instant [09:39:53] !tr Hydriz [09:39:53] request page: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/Hydriz?action=edit talk page: https://wikitech.wikimedia.org/wiki/User_talk:Hydriz?action=edit§ion=new&preload=Template:ToolsGranted link: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [09:40:10] It's not NFS that puts the delay; the scripts that update the keys rune IIRC every 60s [09:40:18] run* [09:40:20] ah, ok [09:46:25] laz rulz ;p [09:46:33] *labz >.< [09:48:08] addshore: Coren rules ;-) [09:48:39] Dunno about "rules", but I work hard on that tool labs. :-) [09:49:01] * addshore hopes Coren doesn't ask questions about the spike here >> http://ganglia.wmflabs.org/latest/stacked.php?m=load_one&c=tools&r=day&st=1369388912&host_regex= [09:49:09] hehe [09:49:22] I think he is already aware of that hence the explanation why 2 new nodes [09:49:30] hehe :P [09:50:24] Yeah, I [09:50:31] I'll help finish their setup today [09:54:03] Did anyone see what limit I hit when I was running all of my jobs earlier? [09:54:25] Memory or slots? I didn't check at the time... [09:54:33] memory limit [09:54:36] ahhh [09:55:00] wait a moment I am not entirely sure [09:55:08] hmmm, lets see :) [09:55:11] it might be slots because there were exactly 64 jobs on each box [09:57:07] ahhh, then my next question was, should we introduce a limited ammount of jobs per user/project? [09:57:21] addshore: http://pastebin.com/RV4QMGz1 this is my final version, and hopping between bots and tools works [09:57:28] this was people like me couldnt flood the queue and cause other people not to submit jobs.. [09:57:38] it would just be my jobs in qw and there would still be space on execs? [09:58:12] I think we should set up the cluster large enough to handle all of jobs [09:58:19] hmmm [09:58:51] !screenfix [09:58:52] script /dev/null [09:59:10] I guess now I can just scp files [10:10:54] addshore the boxes are still not in cluster :P yet you are attempting to kill it again :D [10:11:13] but still a lot of free space [10:11:17] hah, im starting less processes this time :) [10:11:30] I just want to clear this silly db backlog [10:11:35] np [10:12:14] if it goes wrong I can just qdel -u local-addshore-dev them all ;p [10:12:24] hence the -dev project ;p [10:12:28] aha [10:12:29] cool [10:12:42] it should stop after around 250 this time [10:25:06] hmm i hit that limit again ;p [10:50:20] All sorted :) just over 100 left running :) [10:53:24] Okay: Workshop on Toolserver migration to Tool Labs: 13.30, "Borneozaal 1" (facing the Hackathon reception, this is in the corridor left). [10:58:54] shall I come or stay here and code? :P [10:59:16] :) [10:59:21] Here is an idea for a missing tool: Rewrite the URLs in all wikis pointing to a migrated tool / to Tool Labs instead of Toolserver. [11:00:56] that is a good plan :) [11:08:18] Silke_WMDE: that tool already exists: MerlLinkBot [11:10:02] http://de.wikipedia.org/wiki/Benutzer:MerlLinkBot [11:17:43] addshore: stats! stats! [11:17:48] /nick addstats [11:19:55] Silke_WMDE how much full is it? if you needed some help I can come [11:20:04] Labs workshop starting RSN [11:20:57] Coren where is it? is it full yet? [11:21:24] petan: I think this one is full if you hadn't already signed up, but we're doing it again later [11:21:33] no prob [11:22:29] Sunday 9:30 I am told [11:24:49] im signed up for thsi one but still eating :/ [11:25:38] Merlissimo: Oh cool, good to know! [11:26:40] petan: Not full yet, but many more registered so I think they'll come. [11:26:56] petan: We are in "Borneozaal 1" [11:29:01] addshore: you were right, the power went out 40 minutes late. [11:29:03] was even more annoying [11:31:59] Warning: There is 1 user waiting for shell: TWillemsen (waiting 0 minutes) [11:33:57] !rq TWillemsen [11:33:58] https://wikitech.wikimedia.org/wiki/Shell_Request/TWillemsen?action=edit https://wikitech.wikimedia.org/wiki/User_talk:TWillemsen?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/TWillemsen [11:36:15] bad luck YuviPanda [11:45:24] Warning: There is 1 user waiting for shell: TMg (waiting 4 minutes) [11:45:39] !rq TMg [11:45:39] https://wikitech.wikimedia.org/wiki/Shell_Request/TMg?action=edit https://wikitech.wikimedia.org/wiki/User_talk:TMg?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/TMg [11:51:14] is anyone else getting kicked out of ssh like every 10 minutes [11:51:33] petan: the wifi is just a bit flaky, I think. Try using mosh instead of ssh [11:51:48] mosh? [11:52:31] http://mosh.mit.edu/ [11:52:51] (it does predictive local echo to make the lag less irritating) [11:55:10] heh petan, you just got a mention ;p [11:56:04] addshore mention like "there is that idiot with root who ocassionaly removes wm-bot, you need to live with that" or "there is a cool guy petan over there, go and bring him a beer" [11:56:25] petan: "there is a cool guy petan, but I have no clue where he is" [11:56:27] HAHA! [11:56:30] yep [11:56:31] lol [11:56:37] I can come but I was told it's full [11:56:46] there is room [11:56:47] it's not [11:56:50] not even close to full [11:56:56] ok I will try to get there [11:56:58] Coren s intro is being recorded. You'll be able to watch it later on. [11:57:37] Silke_WMDE I was rather about to help others with labs etc [11:58:58] Warning: There are 4 users waiting for shell, displaying last 4: Micru (waiting 13 minutes) Ash Crow (waiting 12 minutes) Taweetham (waiting 10 minutes) Edlira (waiting 8 minutes) [11:59:19] how can I chown one file of mine to a tool? [11:59:31] liangent: become tool [11:59:33] except for making a copy using the tool account [11:59:33] liangent: take filename [11:59:35] (take is a command) [12:01:18] is it /usr/src/take.cc [12:01:29] it should be in path [12:01:43] so take should work [12:01:46] welcome petan ;p [12:02:00] did anyone say beer? :P [12:02:04] where is it [12:02:24] YuviPanda: I know. but it has no documentation [12:02:27] even no --help [12:02:59] I want to see, for example, what if I want to take a directory recursively [12:03:05] no beer petan ;p [12:04:10] lol I like Ryan sitting in a corner like a big boss [12:04:28] you missed his bit ;p [12:04:35] :'( [12:04:45] haha! #boss [12:04:50] YuviPanda: and I didn't find a way, except for find ... -exec take [12:04:57] anyone around who can add me to the tools project? [12:05:01] i want to play with it. [12:05:07] petan: can [12:05:09] https://wikitech.wikimedia.org/wiki/User:Daniel_Kinzler [12:05:20] DanielK_WMDE_ sec [12:06:06] YuviPanda: no it seems it just go ahead and take everything [12:06:06] liangent: take does take recursivly [12:06:19] DanielK_WMDE_ welcome in tools o/ [12:06:19] I was imagining there should be a -r or something [12:06:25] petan: thanks! [12:06:26] nope :P [12:06:28] yw [12:06:47] shh petan [12:07:08] Ryan is moving :O [12:07:17] quick, leave them a funny message ;p [12:07:30] lol [12:07:41] Overview of tools in the Tools project: http://tools.wmflabs.org/ [12:08:02] that is overview of tools that have a .description [12:08:02] well, get ready for 20 new accounts to OK ;-) [12:08:06] not all of them [12:12:09] how long does it take to create a service group = tool? [12:12:21] seconds [12:12:21] liangent 1 minute? [12:12:24] :P [12:12:27] Warning: There are 5 users waiting for shell, displaying last 5: Micru (waiting 26 minutes) Ash Crow (waiting 25 minutes) Taweetham (waiting 23 minutes) Edlira (waiting 21 minutes) Juttavd (waiting 11 minutes) [12:12:32] HAH! [12:12:34] o.O [12:12:41] !rq Micru [12:12:41] https://wikitech.wikimedia.org/wiki/Shell_Request/Micru?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Micru?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Micru [12:12:54] !rq Ash Crow [12:12:54] https://wikitech.wikimedia.org/wiki/Shell_Request/Ash?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Ash?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Ash [12:13:00] !rq Ash_Crow [12:13:00] https://wikitech.wikimedia.org/wiki/Shell_Request/Ash_Crow?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Ash_Crow?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Ash_Crow [12:13:15] !rq Taweetham [12:13:15] https://wikitech.wikimedia.org/wiki/Shell_Request/Taweetham?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Taweetham?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Taweetham [12:13:24] !rq Edlira [12:13:24] https://wikitech.wikimedia.org/wiki/Shell_Request/Edlira?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Edlira?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Edlira [12:13:31] !rq Juttavd [12:13:31] https://wikitech.wikimedia.org/wiki/Shell_Request/Juttavd?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Juttavd?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Juttavd [12:13:35] have fun petan ;p [12:13:36] addshore did you get that bit yet? :D [12:13:41] you have RYan over there [12:13:48] he's a big bitman [12:14:05] I didnt get that bit yet :) Im just saving you some typing for now ;p [12:16:03] hey paravoid I didn't notice you are here :D [12:16:24] what's up? [12:16:36] nothing I am just behind you lol [12:16:47] stalker [12:16:58] oh [12:17:00] addshore: ssh from tools to bots in a tool account is still impossible, even with forwarding on [12:17:10] local-liangent-shared@tools-login:~$ ssh liangent@bots-login.pmtpa.wmflabs [12:17:10] If you are having access problems, please see: https://wikitech.wikimedia.org/wiki/Access#Accessing_public_and_private_instance [12:17:10] Permission denied (publickey). [12:17:25] liangent: try just bots-login [12:17:40] .pmtpa.wmflabs is unneeded [12:17:43] still Permission denied (publickey). [12:17:54] liangent hold on [12:17:57] liangent: as I mentioned before, create a new key and use that. Much easier. [12:18:01] {{worksforme}} :/ [12:18:13] it works for me but I have a private key uploaded to -login [12:18:17] the labs key, ofc [12:18:22] I have separate key just for labs [12:18:26] works for me with forwarding in putty and pagent [12:18:39] liangent it may be just broken gluster hold on [12:18:44] liangent I will check your key folder [12:18:49] :D oh gluster [12:19:27] on -login I can access your authorized_keys so it's working :/ [12:19:29] valhallasw: I'll get lost in a bunch of keys.. [12:19:44] liangent 3 keys in there [12:19:57] right [12:20:16] liangent@tools-login:~$ ssh liangent@bots-login # this works [12:20:22] !log deployment-prep attempting to install wikidata [12:20:25] Logged the message, Master [12:20:29] !log deployment-prep mwscript extensions/WikimediaMaintenance/addWiki.php --wiki=aawiki en special wikidatawiki wikidata.beta.wmflabs.org [12:20:31] Logged the message, Master [12:20:40] liangent@tools-login:~$ become liangent-shared [12:20:41] local-liangent-shared@tools-login:~$ ssh liangent@bots-login [12:20:41] If you are having access problems, please see: https://wikitech.wikimedia.org/wiki/Access#Accessing_public_and_private_instances [12:20:41] Permission denied (publickey). [12:20:43] this doesn't work [12:20:49] that's all I see [12:21:06] of course it doesn't is your bot account on bots project as well? [12:21:25] if so you need to upload a public key to its home [12:21:36] hmm [12:21:38] wait [12:21:51] in not sure it works from within a tool [12:22:01] i can ssh from toosl to bots when just logged in as addshore [12:22:15] petan: I want to log in to bots project using my user account [12:22:23] not sure about local-addshore for key forwarding as it doesnt forward through the 'become' su [12:22:28] so I typed ssh liangent@bots-login [12:22:32] instead of ssh bots-login [12:22:55] but once you become your tool the ssh key forwarding stops [12:23:04] indeed [12:23:17] you will only be able to use the forwarding from your maintainer account, not the too itself [12:24:35] !log deployment-prep creating a dumb proxy blocker touch /data/project/apache/common-local/php-master/../wmf-config/mwblocker.log [12:24:38] Logged the message, Master [12:25:39] haha [12:26:01] Warning: There is 1 user waiting for access to tools project: RobH (waiting 11 minutes) [12:26:43] addshore: so I can't find an efficient way to move a file from bots/useracc to tools/toolacc securely now... [12:26:58] how would you do it [12:29:27] log in to tools as your use (not your tool) with ssh forwarding on. Then you should be able to get it from bots and put it in your tool [12:31:04] @requests [12:31:05] Warning: There is 1 user waiting for shell: Akoopal (waiting 0 minutes) [12:31:06] Warning: There are 2 users waiting for access to tools project, displaying last 2: RobH (waiting 16 minutes) Multichill (waiting 1 minutes) [12:31:14] !rq RobH [12:31:14] https://wikitech.wikimedia.org/wiki/Shell_Request/RobH?action=edit https://wikitech.wikimedia.org/wiki/User_talk:RobH?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/RobH [12:31:21] !rq Multichill [12:31:21] https://wikitech.wikimedia.org/wiki/Shell_Request/Multichill?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Multichill?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Multichill [12:31:24] !rt RobH [12:31:24] http://rt.wikimedia.org/Ticket/Display.html?id=RobH [12:31:34] !tr RobH [12:31:34] request page: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/RobH?action=edit talk page: https://wikitech.wikimedia.org/wiki/User_talk:RobH?action=edit§ion=new&preload=Template:ToolsGranted link: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [12:31:38] ^ that one ;-) [12:31:42] !tr Multichill [12:31:42] request page: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/Multichill?action=edit talk page: https://wikitech.wikimedia.org/wiki/User_talk:Multichill?action=edit§ion=new&preload=Template:ToolsGranted link: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [12:31:46] thats what I meant to type :P [12:31:55] too many short commands with similar letters :P [12:32:30] @requests [12:32:30] Warning: There is 1 user waiting for shell: Akoopal (waiting 1 minutes) [12:32:31] Warning: There are 2 users waiting for access to tools project, displaying last 2: RobH (waiting 17 minutes) Multichill (waiting 2 minutes) [12:32:41] !rq Akoopal [12:32:41] https://wikitech.wikimedia.org/wiki/Shell_Request/Akoopal?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Akoopal?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Akoopal [12:33:07] !tr RobH [12:33:07] request page: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/RobH?action=edit talk page: https://wikitech.wikimedia.org/wiki/User_talk:RobH?action=edit§ion=new&preload=Template:ToolsGranted link: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [12:34:12] addshore: then I have to move those files to /data/project/toolname, then take them? [12:34:17] @requests [12:34:17] Warning: There is 1 user waiting for shell: Akoopal (waiting 3 minutes) [12:34:18] Warning: There is 1 user waiting for access to tools project: Jean-Frédéric (waiting 0 minutes) [12:34:26] liangent: yep, that should work [12:34:35] !tr Jean-Frédéric [12:34:36] request page: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/Jean-Fr%c3%a9d%c3%a9ric?action=edit talk page: https://wikitech.wikimedia.org/wiki/User_talk:Jean-Fr%c3%a9d%c3%a9ric?action=edit§ion=new&preload=Template:ToolsGranted link: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [12:35:06] @requests [12:35:06] Warning: There is 1 user waiting for shell: Akoopal (waiting 4 minutes) [12:35:07] Warning: There is 1 user waiting for access to tools project: Jean-Frédéric (waiting 1 minutes) [12:36:05] @requests [12:36:05] Warning: There is 1 user waiting for access to tools project: Jean-Frédéric (waiting 2 minutes) [12:37:00] @requests [12:37:00] Warning: There is 1 user waiting for access to tools project: Jean-Frédéric (waiting 3 minutes) [12:37:45] @requests [12:37:46] There are no shell requests waiting [12:38:11] addshore: it says "You need to share a group with the file" when I'm taking it [12:38:20] but I can't chgrp that file to local-toolname [12:38:44] (chgrp: changing group of `/data/project/...': Operation not permitted) [12:40:38] liangent you can only change a group if you are a member of that group and owner of file [12:40:53] liangent: become your tool before you take ? :) [12:43:29] local-liangent-shared@tools-login:~$ take .vimrc [12:43:29] .vimrc: You need to share a group with the file [12:45:06] petan: I guess we should add all maintainers of a tool to that tool's group... [12:46:12] oh it's already the case? [12:46:46] yes it is [12:46:54] all users are by default in that group [12:47:01] but chgrp is still impossible http://pastebin.com/13uA6Ppp [12:48:56] that is weird [12:49:06] I can change it but this should be possible for you [12:50:01] don't do it for me. this vimrc is just an experiment. there're more files later [12:50:27] k [12:51:07] @labs-resolve labs-webserver [12:51:08] I don't know this instance, sorry, try browsing the list by hand, but I can guarantee there is no such instance matching this name, host or Nova ID unless it was created less than 24 seconds ago [12:51:19] @labs-resolve tools-webserver [12:51:20] I don't know this instance - aren't you are looking for: I-00000608 (tools-webserver-01), I-00000726 (tools-webserver-02), [12:51:34] addshore: any idea about the issue above? [12:53:46] liangent: I am definitely not sure but maybe you need to be able to write to folder as well [12:58:03] liangent: do you are trying to change the group of a folder in /data/project/liangent-shared ? [12:58:14] *so [12:59:07] *file in [12:59:22] petan: it's still impossible even if /data/project/liangent-shared is chmod 777 [12:59:35] it's definitely weird [12:59:59] addshore: yes [13:00:28] what are you trying to change the group to? [13:00:39] petan: there was a sticky bit on /data/project/liangent-shared and I removed it to [13:00:48] and which user/tool are you trying to run chgrp with? [13:00:56] addshore: a tool's group where I'm a maintainer [13:01:01] so the tool can take it later [13:01:22] chgrp is run in my user account, which is the current owner of that file [13:02:42] liangent are you here? :D [13:02:44] Warning: There is 1 user waiting for access to tools project: Akoopal (waiting 0 minutes) [13:03:08] petan: here? [13:03:10] where? [13:03:37] hackaton :P [13:04:16] no [13:05:31] :< [13:05:44] Ryan_Lane: poke if your around [13:05:51] Izhidez: ? [13:06:00] lua development feels like how I did javascript development ten years ago, in IE5, with cryptic error messages popping up and just randomly changing code hoping it starts working [13:06:17] Ryan_Lane: can you come to the main room for a few mins? [13:06:37] have a few questions for you [13:08:07] @add #wikimedia-labs-requests [13:08:26] @infobot-share-trust+ #wikimedia-labs-requests [13:08:26] You inserted channel #wikimedia-labs-requests to shared db [13:08:50] Izhidez: one sec. I'm updating quotas for deployment-prep project [13:11:31] liangent: I'm not entirely sure if the chgrp is entirely possible :/ [13:13:01] hello addshore [13:14:37] I want to see some usage examples of take now... [13:15:05] what's the entire process to move a file from my user account to tool account [13:15:08] Ryan_Lane: User:Aklapper [13:15:17] test [13:16:54] ok. coming to the main room [13:18:57] !nc is echo '#wikimedia-labs hello addshore' | nc localhost 64834 [13:18:58] Key was added [13:21:11] Izhidez: account-creation-assistance ? [13:22:05] Ryan_Lane, yep [13:22:46] Warning: There is 1 user waiting for access to tools project: Ryan Lane (waiting 0 minutes) [13:23:34] Coren: I've been waiting 0 minutes!! [13:24:33] Coren: if you have a minute, I want to ask how you intend cgi to work. I tried to set up index.cgi for a service group yesterday, but it didn't work [13:27:49] petan: addshore: http://pastebin.com/qH63B29A why does it differ between home and tmp? [13:36:16] Warning: There is 1 user waiting for access to tools project: Ryan Lane (waiting 13 minutes) [13:40:43] petan: ... and if I move that file from /tmp to home, its group property gets lost [13:41:10] so it sounds like the filesystem for /home and /data doesn't properly support groups? [13:41:29] Coren for some reason these 2 nodes doesn't seem to work yet? [13:43:19] welcome to labs Ryan_Lane XD [13:46:58] :D [13:48:20] I was actually just showing someone else how it worked :) [13:53:48] I couldn't help myself I had to send you that welcome :P [14:00:55] Platonides: ping [14:11:14] Ryan_Lane: when starting up an instance, how long do we have to wait before we can SSH into it? [14:14:00] Izhackz: when it says active in the interface [14:14:05] you'll get an echo notification [14:14:09] and an email [14:14:26] it's usually around 3 minutes [14:15:09] Ryan_Lane: ok ya it has been /way/ longer [14:15:21] it's been like 30 mins of lazyness :P [14:15:34] and it's timing out [14:17:00] it's also two instances, not just one [14:17:54] Cyberpower678: any more updated with peachy? :) [14:17:56] I have time now [14:19:53] @notify Cyberpower678 [14:19:53] I doubt that anyone could have such a nick 'Cyberpower678 ' [14:20:02] @notify Cyberpower678 [14:20:02] This user is now online in #wikimedia-tech. I'll let you know when they show some activity (talk, etc.) [14:21:15] Izhackz: which instance? [14:22:49] Ryan_Lane: accounts-application2 & accounts-database2 [14:23:38] checking [14:23:57] ahhh [14:23:58] I see [14:24:10] you unchecked default security grou [14:24:13] *group [14:26:21] Ryan_Lane: ahh ok, so I can blame it on stw|hackathon :D [14:26:32] sorry, I'm an idiot :P [14:27:02] heh. no worries [14:27:34] I should likely add a warning dialog there [14:27:55] it was actually semi-intentional, I'd just not finished setting that up properly yet :P [14:28:24] it's best to always have default selected [14:28:29] Ryan_Lane: Or main it un-selectable [14:28:45] we occasionally make mass-changes to the default security group to fix things [14:28:50] Damianz: yep... [14:29:00] s/main/make/ [14:30:03] ah, kk [15:14:45] stw|hackathon: hows the migration going? :) [15:15:00] where are you? [15:15:23] it's going ok I think [15:15:32] we're in the main room [15:22:29] Where is this DanielK_WMDE??? [15:23:18] no idea :D [15:45:04] how should java programms startet on tool labs? using sge returns an error [15:54:46] what error? [15:55:04] and what are you running to try and start it currently? :) [16:09:37] addshore: qsub -j y -o /home/merl/test.out -b y /usr/bin/java -version [16:09:41] Error occurred during initialization of VM [16:09:42] Could not reserve enough space for object heap [16:09:42] Error: Could not create the Java Virtual Machine. [16:09:42] Error: A fatal exception has occurred. Program will exit. [16:12:57] it's known problem with sge and the main reason why no hard memory limit is used on wmde-toolserver settings [16:15:34] Labs account question, when someone has a moment [16:16:49] Merlissimo: add -mem 1G to it :) [16:17:07] that should give you enough mem to start it, once you find out how much it actually uses you can reduce this :) [16:17:07] addshore: that does not help [16:17:15] how about 2G? [16:17:32] maximum i tried was 4G [16:18:16] http://stackoverflow.com/questions/4401396/could-not-reserve-enough-space-for-object-heap suggests Run the JVM with -XX:MaxHeapSize=256m (or any big number), and possibly -Xmx512m [16:21:05] Should java even be allowed on the servers? It'd be selfish to run java stuff, no? [16:21:59] $ rm -f /home/merl/test.out && qsub -l h_vmem=1G -j y -sync y -o /home/merl/test.out -b y /usr/bin/java -version -XX:MaxHeapSize=256m -Xmx512m ; cat /home/merl/test.out [16:21:59] Your job 108564 ("java") has been submitted [16:21:59] Job 108564 exited with exit code 1. [16:21:59] Error occurred during initialization of VM [16:22:00] Could not reserve enough space for object heap [16:22:02] Error: Could not create the Java Virtual Machine. [16:22:04] Error: A fatal exception has occurred. Program will exit. [16:22:37] a930913: all my bots and even tools are written in java/ejb [16:24:07] Warning: There is 1 user waiting for shell: Ragesoss (waiting 0 minutes) [16:24:09] above 3G the error output changes: [16:24:09] $ rm -f /home/merl/test.out && qsub -l h_vmem=3G -j y -sync y -o /home/merl/test.out -b y /usr/bin/java -version -XX:MaxHeapSize=256m -Xmx512m ; cat /home/merl/test.out [16:24:09] Your job 108585 ("java") has been submitted [16:24:09] Job 108585 exited because of signal SIGABRT [16:24:09] # [16:24:09] # There is insufficient memory for the Java Runtime Environment to continue. [16:24:12] # pthread_getattr_np [16:24:14] [thread 47617924474624 also had an error] [16:25:00] Merlissimo: How much memory does your bot use elsewhere? [16:26:08] on the test i am using only java -version - no jar es executed. on toolserver it depends on the job between 200M and 1,5G for the high speed interwiki bot [16:28:02] linux need about much more memory than solaris (about factor 1.5) because i have many small objects. on tools labs it will even more because the memory optimisation of oracle sun are not available on icetea [16:28:42] Lol java. [16:28:51] Merlissimo: Write it in a better language? [16:29:23] Or make it more efficient by not using objects where possible? [16:31:16] a930913: i write in java because it much better than python. with 1G peak ram on solaris and oracle sun my interwiki bot did about 500000 read request and 40000 edits per days. i think that is much more efficient than any other wikimedia bot framework [16:31:39] but we are talking only about java -version atm. [16:34:49] Use the API if you want effiency :) [16:37:35] Warning: There is 1 user waiting for shell: Ragesoss (waiting 13 minutes) [16:37:36] Warning: There is 1 user waiting for access to tools project: Slaporte (waiting 8 minutes) [16:51:04] Warning: There is 1 user waiting for shell: Ragesoss (waiting 27 minutes) [16:51:05] Warning: There is 1 user waiting for access to tools project: Slaporte (waiting 21 minutes) [17:04:35] Warning: There is 1 user waiting for shell: Ragesoss (waiting 40 minutes) [17:04:36] Warning: There is 1 user waiting for access to tools project: Slaporte (waiting 35 minutes) [17:10:40] YuviPanda: Did you file a bug for the logging server? [17:10:57] "libgcc_s.so.1 must be installed for pthread_cancel to work" means "not enough memory", right? [17:12:00] do we / will we have max_user_connections and query killer on labs db? [17:12:09] I mean, tools db [17:12:54] As long as the replag is less than a minute, I hope nobody even thinks abouts it :-). [17:12:55] I'm considering, whether I should keep related parts during tool migration [17:13:22] It would be nice to have user_slot for grid, though. [17:13:38] scfc_de: should I keep those lines? [17:14:18] What lines? [17:14:51] keep retrying when I find my query killed or fail to open a connection [17:15:23] liangent: Excuse-me, are you still interested in collations? Cf bug https://bugzilla.wikimedia.org/show_bug.cgi?id=28397 [17:16:01] Darkdadaah: I have a branch about collation waiting for review [17:16:40] scfc_de: http://pastebin.com/XG87emu9 if you're interested [17:18:00] Warning: There is 1 user waiting for shell: Ragesoss (waiting 54 minutes) [17:18:01] Warning: There is 1 user waiting for access to tools project: Slaporte (waiting 48 minutes) [17:18:10] liangent: Do you know who would be able to review it? This feature would be quite welcome. [17:18:49] Darkdadaah: see https://bugzilla.wikimedia.org/show_bug.cgi?id=44667 [17:19:27] liangent: It can't do no harm, but I would add at least a "sleep (60);" somewhere in there. Personally, I would let it fail if the connection and/or query fails and then have it be rescheduled by cron/grid. I don't like writing programs that try to be smart, because it's very hard to make them very smart :-). [17:21:28] scfc_de: sometimes it's annoying because a restart clears all executing context [17:22:26] liangent: I usually try to split the tool into smaller independant bits, then. But without knowing what you want to achieve, it's hard to advise. [17:22:32] liangent: Thanks for the link (and the all the work). It looks like Jenkins failed to build it though. [17:22:52] Darkdadaah: it must be some merging failure [17:23:40] I have the scenario where I keep resolving conflicts but no one actually reviews the code [17:23:59] so I would try to clear conflicts after someone reviews it [17:24:07] @notify hoo [17:24:07] I'll let you know when I see hoo around here [17:25:10] @notify Ryan_Lane [17:25:10] I'll let you know when I see Ryan_Lane around here [17:27:31] scfc_de: it's some base layer for many tools. I'm using the mediawiki software itself as a framework of my bots, so I want to hide as many differences between what labs/ts provides and a real wiki server as possible [17:29:11] liangent: Just curious: What do you need MediaWiki for specifically? It never struck me as being very useful as a "library". [17:29:25] liangent: let me know (or other wiktionarians...) if you need help for this. [17:31:26] Warning: There is 1 user waiting for shell: Ragesoss (waiting 67 minutes) [17:31:27] Warning: There is 1 user waiting for access to tools project: Slaporte (waiting 62 minutes) [17:31:40] Darkdadaah: for wiktionaries I'm not sure whether my resolution fits, if you need collations for all languages working on one wiki [17:31:58] scfc_de: lots of my bots are working as maintenance script for example [17:32:33] liangent: What maintenance? [17:34:14] scfc_de: here is one example https://toolserver.org/~liangent/-/cleanupILH.php.txt [17:40:53] !rq Ragesoss [17:40:53] https://wikitech.wikimedia.org/wiki/Shell_Request/Ragesoss?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Ragesoss?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Ragesoss [17:43:32] thanks petan [17:43:36] someone pinged me? [17:43:43] yw [17:43:55] Cyberpower678 nope [17:43:59] yes. [17:44:07] I don't see it in history, maybe long time ago [17:44:19] This channel was highlighted in blue. [17:44:36] Wasn't like that when I left a few hours ago. [17:45:10] I was walking around on the carpet in my socks [17:48:22] Ah addshore pinged me about peachy. [17:48:27] Cyberpower678: But if you're around, you could qdel job 1862. [17:49:48] liangent: What does the example actually do? [17:51:13] scfc_de: turn all {{someTemplate|pageName|otherStuff}} invocations to [[pageName]] if pageName exists [17:51:52] someTemplate has {{#ifexist:{{{1}}}|[[Category:someTemplateCleanup]]}} in it [17:52:50] ^ this is an abstract. there're some more details [17:53:49] Is there any specific reason why our access.log doesn't have a user-agent in it? [17:55:32] liangent: Ah, okay. (Without MediaWiki) I would probably connect to the database, iterate over all pages in Category:someTemplateCleanup, load the page, iterate over all matches "{{someTemplate|..", check in the database whether the page exists and, if, replace the match, and save the page if there were any changes. [17:55:53] carl-cbm: Privacy concerns? [17:56:08] it's in the cgi headers, just not logged [17:56:23] carl-cbm: Pssst! :-) [17:56:29] I have had to use it on toolserver to filter out rogue spiders like TweetMemeBot [17:57:09] @seen addshore [17:57:09] valhallasw: Last time I saw addshore they were quitting the network with reason: Ping timeout: 256 seconds N/A at 5/24/2013 4:50:34 PM (01:06:35.1370110 ago) [17:58:42] scfc_de: without mediawiki I need to write many code lines related to database operations etc [17:59:16] now I have $it = new AppendIterator(); $it->append( Category::newFromName( '有蓝链却未移除内部链接助手模板的页面' )->getMembers() ); $it->append( Category::newFromName( 'Trans-Clean' )->getMembers() ); foreach ( $it as $title ) { $this->cleanupTitle( $title ); } [18:05:31] liangent: Retrieving all members of a category isn't that hard: "SELECT CONVERT(page_title USING utf8), CONVERT(cl_to USING utf8) FROM page JOIN categorylinks ON page_id = cl_from WHERE cl_to IN (CONVERT('有蓝链却未移除内部链接助手模板的页面' USING utf8), 'Trans-Clean');" (Gives three pages at the moment on zhwiki_p.) [18:07:10] scfc_de: that's more difficult to maintain [18:07:52] then how would you do title existence check? pageName normalization, parsing and escaping are involved now [18:09:53] liangent: If you're familiar with MediaWiki, probably. I don't know any Chinese, so I don't know if it needs more than "space" => "_" and upcase first letter. In the end: If it works for you, it works. [18:11:27] hi, only Hashar can install extensions? [18:14:46] Steinsplitter no but a hashar is only one brave enough [18:15:01] ah :P [18:15:04] I can install extensions as well, but I don't want to break stuff :/ [18:15:10] okay [18:15:53] :D [18:38:00] what's the correct way to determine replication lag on labs? [18:54:37] liangent: At the moment, the same way as on Toolserver: Look at recentchanges's latest rc_timestamp of the most frequently updated wiki. (Or http://ganglia.wmflabs.org/latest/?r=hour&cs=&ce=&m=load_one&s=by+name&c=tools&h=tools-login&host_regex=&max_graphs=0&tab=m&vn=&sh=1&z=small&hc=4#mg_Replication_Lags_div if you don't need it in a program.) [18:57:52] scfc_de: on toolserver there's a ts_replag table (or view) [18:59:07] Warning: There is 1 user waiting for shell: Zielmicha (waiting 0 minutes) [18:59:39] liangent: That's just a abbreviation for "SELECT UNIX_TIMESTAMP() - UNIX_TIMESTAMP(MAX(rc_timestamp)) FROM recentchanges;" [19:00:29] ok then let me just copy this query [19:01:19] scfc_de: is there a way to check whether replica for a specified database is now available, in a program? [19:01:34] except for trying to connect to it [19:02:56] liangent: Not that I know of. [19:04:58] scfc_de: oh no I can even connect to a db not listed on the help page [19:05:19] liangent@tools-login:~$ mysql --defaults-file=replica.my.cnf -h wuuwiki.labsdb wuuwiki_p [19:06:44] liangent: I get "Access denied" if I try to read any of its tables, so it's probably not finished yet. [19:07:29] yeah I can't read its contents either [19:09:40] New patchset: Tim Landscheidt; "Remove debug output." [labs/toollabs] (master) - https://gerrit.wikimedia.org/r/65322 [19:12:36] Warning: There is 1 user waiting for shell: Zielmicha (waiting 13 minutes) [19:26:10] Warning: There is 1 user waiting for shell: Zielmicha (waiting 27 minutes) [19:26:11] Warning: There is 1 user waiting for access to tools project: DMaggot (waiting 2 minutes) [19:30:23] Coren is the problem with labs -> TS fixed? [19:38:47] is there a dbname->domain mapping available on labs [19:39:38] Warning: There is 1 user waiting for shell: Zielmicha (waiting 40 minutes) [19:39:39] Warning: There is 1 user waiting for access to tools project: DMaggot (waiting 16 minutes) [19:40:08] petan ^^ [19:41:10] !rq Zielmicha [19:41:10] https://wikitech.wikimedia.org/wiki/Shell_Request/Zielmicha?action=edit https://wikitech.wikimedia.org/wiki/User_talk:Zielmicha?action=edit§ion=new&preload=Template:ShellGranted https://wikitech.wikimedia.org/wiki/Special:UserRights/Zielmicha [19:41:21] !tr DMaggot [19:41:21] request page: https://wikitech.wikimedia.org/wiki/Nova_Resource:Tools/Access_Request/DMaggot?action=edit talk page: https://wikitech.wikimedia.org/wiki/User_talk:DMaggot?action=edit§ion=new&preload=Template:ToolsGranted link: https://wikitech.wikimedia.org/w/index.php?title=Special:NovaProject&action=addmember&projectname=tools [19:43:28] error: insufficient permission for adding an object to repository database ./objects [19:43:29] liangent: Just strip the _p from the database name and add .labsdb. [19:43:32] To ssh://nova-precise2.pmtpa.wmflabs/srv/org/wikimedia/controller/wikis/w/extensions/OpenStackManager/.git [19:46:20] scfc_de: I mean web domain names.. [19:46:31] like enwiki->en.wikipedia.org but metawiki->meta.wikimedia.org [19:49:25] liangent: No, not yet. https://bugzilla.wikimedia.org/show_bug.cgi?id=48626 is the bug. [19:56:29] scfc_de: what's the WMF way to configure it? [20:00:51] liangent: Wikis? http://noc.wikimedia.org/conf/ (with links to repos there). But I don't how easy it would be to extract a *list* of all wikis vs. the configuration of a single wiki. Database names are in all.dblist. [20:01:36] scfc_de: domains [20:01:51] I found them in 'wgServer' => array( section in https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php now [20:05:44] Hi [20:06:26] liangent: Yes, that looks like a good source. [20:10:56] hey all, I just got my account approved but can't ssh to tools-login.wmflabs.org (Permission denied (public key)) [20:11:25] scfc_de: with a php bot, it's easy to just execute InitialiseSettings.php to extract info :) [20:11:44] liangent: Yeah, that should be feasible. [20:13:18] dMaggot: Have you uploaded your public key to the preferences? [20:13:36] https://wikitech.wikimedia.org/wiki/Special:Preferences#mw-prefsection-openstack [20:13:38] oh, silly me, I was using my local username [20:13:43] sorry for that [20:13:54] :-) [20:32:39] AddshoreP: ! [20:33:13] eyes leg [20:34:06] had anytime to work on stats? [20:34:36] nope [20:34:44] learning pywikipedia a bit atm ;p [20:34:58] trying to convert my wikidata migrate code to python with help ;p [20:35:18] also, talk to me about your dump scanning script! [20:35:39] ok, well make sure you use rewrite branch ;) [20:35:50] just look at the source :P [20:36:09] /data/project/legoktm/dumpscanner.py on bots [20:39:47] ill look soon :) [20:55:25] AddshoreP btw that bot is written in c# you should be to fix what you don't like [20:55:29] Type @commands for list of commands. This bot is running http://meta.wikimedia.org/wiki/WM-Bot version wikimedia bot v. 1.10.8.10 source code licensed under GPL and located at https://github.com/benapetr/wikimedia-bot [20:55:57] the relay is a module [20:56:09] As in the relay git? :) [20:56:39] on a second thought I don't think I need to be eager to migrate stuff from toolserver to labs [20:57:09] liangent, are you still stuck on trying to copy your data? [20:57:26] I managed to copy data by scp from toolserver to labs [20:57:27] :P [20:57:31] actually not mine [20:57:31] AddshoreP: no [20:57:52] :P [20:57:54] liangent, what is it now? :) [20:57:57] AddshoreP it's NetCat [20:57:59] the name [20:58:17] now I just make a hard copy to change the owner [20:58:23] then delete the old one [20:59:15] hm. where's ryan? [20:59:51] Krenair he is next to me, drinking bear [20:59:54] table next to me [20:59:59] AddshoreP: gpg -c somefile.tar.gz; cp somefile.tar.gz.gpg /tmp; chmod 777 /tmp/somefile.tar.gz.gpg; become mytool; cp /tmp/somefile.tar.gz.gpg .; chmod 600 somefile.tar.gz.gpg; gpg somefile.tar.gz.gpg [20:59:59] Krenair are you on hackaton [21:00:02] oh. [21:00:03] no [21:00:03] this is what I'm doing now [21:00:05] aha [21:00:12] Krenair do you need anything to him? [21:00:58] anyway toolserver won't disappear soon, and labs will be changing rapidly in its early time [21:01:20] not migrating early means I don't need to chase labs' changes [21:01:25] I was having trouble with wikitech-test. Needed to use another account ('TEST Alex Monk') but don't know the proper way to reset it's password [21:01:27] liangent, labs is lovely ;p [21:01:34] if I am allowed to say that :) [21:01:49] Krenair I think he is too drunked to fix stuff like that [21:02:10] yeah, I wouldn't bother him with it right now :) [21:03:31] the only thing toolserver annoys me *currently* is replag [21:03:56] liangent, only thing? [21:06:01] Krenair: yeah and toolserver's ipv6 support is a big attraction for me [21:06:26] ipv6 connection is often faster [21:06:44] :/ [21:07:01] liangent, replag on tools is 10s ;p [21:10:18] AddshoreP: on labs it's not that easy for me to do coding in ssh directly, due to network lag [21:10:27] but it's not a problem on toolserver [21:10:46] use mosh! [21:14:52] AddshoreP: any tutorial? [21:15:38] hmm I found http://mosh.mit.edu/#usage [21:20:03] liangent: yeah mosh +2 :-D [21:23:44] hashar: AddshoreP: mosh doesn't send mouse clicks in vim :( [21:25:04] liangent: :D [21:25:10] liangent: do you happen to be in Amsterdam ? [21:25:40] hashar: no. I've been asked this question several times [21:25:46] not to me :D [21:28:11] anyway when will labs have ipv6? [21:29:44] and it'll be possible to assign every instance a public ipv6 address then [21:39:31] liangent: I have no idea about ipv6 on labs [21:39:38] liangent: you want to ask LeslieCarr or mark [21:39:56] meanwhile you have .instance-proxy.wmflabs.org [21:39:57] :D [21:40:26] I am off [22:41:38] Warning: There is 1 user waiting for access to tools project: Whym (waiting 0 minutes) [22:55:03] Warning: There is 1 user waiting for access to tools project: Whym (waiting 13 minutes) [23:08:32] Warning: There is 1 user waiting for access to tools project: Whym (waiting 27 minutes) [23:19:33] !Coren [23:19:56] the wb-* tables arent there when i show tables on wikidatawiki [23:20:28] wb_* [23:21:30] :( [23:22:02] Warning: There is 1 user waiting for access to tools project: Whym (waiting 40 minutes) [23:24:06] petan ^^ [23:24:11] :) [23:35:27] Warning: There is 1 user waiting for access to tools project: Whym (waiting 54 minutes) [23:48:51] Warning: There is 1 user waiting for access to tools project: Whym (waiting 67 minutes)