[06:05:50] hi there [06:39:05] when trying to access replicated databases, what does this mean: [06:39:09] tto@tools-login:~$ sql enwiki_p [06:39:12] Enter password: [06:39:15] ERROR 1045 (28000): Access denied for user 'tto'@'10.4.0.220' (using password: YES) [06:39:20] ? [06:53:53] tto: become your tool account [06:54:02] though, that should work.... [06:54:25] I noticed that I don't have a replica.my.cnf file in my home directory [06:54:42] ah, that would probably be why [06:54:52] any idea why it is not there? [06:54:54] you *should* have one though... [06:55:12] not sure, Coren|Darkness would probably know [08:59:25] petan: ar you here? i hav translated wm-bot to german? [09:10:00] @notify petan [09:10:00] This user is now online in #huggle. I'll let you know when they show some activity (talk, etc.) [09:10:13] . [09:10:23] aha cool [09:10:28] where is it [09:10:44] petan: https://meta.wikimedia.org/wiki/Wm-bot/de [09:12:49] needs proofreding, i think a lot of typos :O [09:13:21] how is german language called in english, deutsch? [09:13:30] German [09:13:34] ok [09:20:31] !ping [09:20:31] pong [09:22:07] Sorry, I don't know that language [09:22:08] !ping [09:22:08] pong [09:22:55] meh [09:23:01] Sorry, I don't know that language [09:29:57] o.O. [09:30:32] !ping [09:30:32] meh [09:30:32] pong [09:30:37] t "feed of changes" [09:30:49] maby the --> " is the problem? [09:31:32] !ping [09:31:33] pong [09:32:20] there is clearly a problem [09:32:20] hold on [09:32:20] okay :D [09:32:20] I am running http://meta.wikimedia.org/wiki/WM-Bot version wikimedia bot v. 1.20.0.6 my source code is licensed under GPL and located at https://github.com/benapetr/wikimedia-bot I will be very happy if you fix my bugs or implement new features [09:33:25] @trusted [09:33:25] I trust: .*@wikimedia/.* (2trusted), .*@mediawiki/.* (2trusted), .*@wikimedia/Ryan-lane (2admin), .*@wikipedia/.* (2trusted), .*@nightshade.toolserver.org (2trusted), .*@wikimedia/Krinkle (2admin), .*@[Ww]ikimedia/.* (2trusted), .*@wikipedia/Cyberpower678 (2admin), .*@wirenat2\.strw\.leidenuniv\.nl (2trusted), .*@unaffiliated/valhallasw (2trusted), .*@mediawiki/yuvipanda (2admin), [09:33:41] the evil germn languge o_O [09:41:45] !ping [09:41:46] pong [09:42:02] Ich spreche Englisch hier [09:42:36] LOL [09:42:36] wm-bot: hi [09:42:51] !ping [09:42:51] pong [09:42:55] !ping is fdsg [09:42:55] Dieser Schlüssel ist bereits vorhanden - entferne den Schlussel, wenn du Ihn ändern willst [09:43:03] I will talk in English in here [09:45:19] thx, petan :) [11:05:43] !ping [11:05:43] pong [12:35:17] !ping [12:35:17] pong [12:35:20] :P [12:35:57] !pong [12:35:57] don't play with me [12:36:46] @infobot-detail pong [12:36:46] Info for pong: this key was created at N/A by N/A, this key was displayed 3 time(s), last time at 7/21/2013 12:35:57 PM (00:00:48.4689800 ago) this key is normal [12:36:51] meh [12:42:51] @infobot-detail logs [12:42:51] Info for logs: this key was created at 5/21/2013 8:56:41 AM by petan, this key was displayed 6 time(s), last time at 7/19/2013 2:20:02 AM (2.10:22:48.7446630 ago) this key is normal [12:43:22] What does "this key is normal" mean? [12:44:21] Does it mean there is an intent to make action keys? [12:52:10] T13|needsCoffee that means it's not raw [12:52:18] raw keys ignore all variables and pipes [12:52:36] so that they can contain $1 etc [13:03:20] Ahhh [13:04:11] I see. I just submitted a pull request for you to review to improve the "appearance" of $encoded_wiki_* [13:04:37] Still haven't figured out StringBuilder, but I will in time. :) [13:07:03] it's simple [13:07:20] you create a new instance and then you modify it using functions it has [13:07:29] once it's done you convert its content to string [13:08:12] for example StringBuilder sb = new StringBuilder(""); sb.Append("Hello world"); sb.ToString(); [13:10:32] strings in c# are immutable so that when you modify them you always need to create new instance [13:10:46] only difference between SB and strings is the performance and memory footprint [13:11:04] SB is fast and clean, while string are almost as shitty as strings in python [15:17:12] petan: Do you run User:Labslogbot? https://wikitech.wikimedia.org/wiki/Shell_Request/Joe123 has been created, but there is no User:Joe123. [15:49:15] scfc_de: not that I know of [15:49:26] that happens it's a bug [15:49:29] just close it as completed [15:50:56] petan: "not that I know of" = you don't run User:Labslogbot? [15:51:07] nope [15:51:10] I don't know what it is [15:51:26] Can you delete the request page then? [15:51:35] ok [15:52:33] which page you mean? [15:52:33] that's JOe? [15:52:54] petan: https://wikitech.wikimedia.org/wiki/Shell_Request/Joe123 [15:52:57] k [15:53:51] Thanks. [16:02:06] YuviPanda can you create toolsbeta-redis [16:02:14] we probably can delete toolsbeta-mc [16:02:37] use smallest instance [16:05:36] !log bots deleting -bnr1 -gs and -login [16:05:38] Logged the message, Master [16:08:40] @seen deltaquas [16:08:40] petan: I have never seen deltaquas [16:08:41] @seen deltaquad [16:08:41] petan: Last time I saw deltaquad they were quitting the network with reason: Quit: Good night N/A at 1/1/2013 7:55:56 AM (201.08:12:44.6765830 ago) [16:08:51] @seenrx dq [16:08:51] petan: Last time I saw dqd they were joining the channel, they are still in the channel #wikipedia-cs at 7/16/2013 10:45:11 PM (4.17:23:40.0844910 ago) (multiple results were found: asddasasdq112, ladquin, ladquin|away, Zxcasdq2121, ladquin0 and 1 more results) [16:09:34] rschen7754|away: ping [16:09:47] rschen7754|away: can you do something with your @bots stuff [16:10:25] @seenrx DQ [16:10:25] petan: Last time I saw DQ|nap they were quitting the network with reason: no reason was given at 9/28/2012 1:41:08 AM (296.14:29:16.9527080 ago) (multiple results were found: DQ|sleep, DQ|homework, DQ|away, DQ|busy, DQ|resting and 3 more results) [16:10:40] @seenrx DQ$ [16:10:40] petan: I have never seen DQ$ [16:59:58] btw YuviPanda you know that you can relay messages to channels using wm-bot so that you don't have to handle irc layer at all [17:00:10] like you can send messages using terminal [17:00:23] @relay-token-remind [17:00:37] it's trivially small, lets me have plenty of control, and means I can have greg-g nick'd separately, rather than having to use wm-bot [17:00:38] @token-remind [17:00:39] as a nick [17:00:42] so people can ignore easily [17:00:43] so [17:00:58] plus less dependencies! this is a trivial bot, shouldn't need to depend on the much more fully functional wm-bot [17:01:04] err, meant grrrit-wm, not greg-g [17:01:06] I forgot about these ancient irc clients that can't ignore regex :P [17:01:31] YuviPanda: that's my point - this relay is meant for simple things, so they can be even more simple [17:01:48] like I replaced the log-bottie with this as well, it's just a shell script now, 5 lines [17:01:49] I also said four other points :) [17:02:14] sure, makes sense for some bots. [17:02:20] not for grrrit-wm [17:02:27] ok idc... it just can make your life easier... [17:02:29] will keep it in mind though, in case that is useful at some point [17:04:42] I am running http://meta.wikimedia.org/wiki/WM-Bot version wikimedia bot v. 1.20.0.6 my source code is licensed under GPL and located at https://github.com/benapetr/wikimedia-bot I will be very happy if you fix my bugs or implement new features [17:10:20] @token-remind [17:11:01] ho [17:11:08] here we go [17:11:41] o/ YuviPanda why is your bot disconnecting so much [17:11:59] petan: because I restart it when I fix bugs or change config [17:12:05] adding code now to let it hot-reload config changes [17:13:08] For the uninitiated: grrrit-wm does ... what? :-) [17:18:52] scfc_de: replacement for gerrit-wm [17:19:01] scfc_de: relays any gerrit changes to various IRC channels [17:19:05] scfc_de: labs/* relays here [17:19:29] scfc_de: it runs on toollabs. The older gerrit-wm was a .git hook hack that ran in production. [17:30:23] petan: i can look at it in a few hours [17:53:31] YuviPanda: Nice. https://bugzilla.wikimedia.org/show_bug.cgi?id=50591 would be no problem with grrrit-wm, I suppose? :-) [17:54:15] scfc_de: it... sortof is, I'm afraid. Gerrit doesn't expose the 'files changed' info easily, and I'll have to make a HTTP request to find that [17:56:08] YuviPanda: *Grrr* Maybe better to change Gerrit, then. [17:56:43] scfc_de: not impossible, just needs to be carefully done to not impact responsiveness [18:01:10] YuviPanda: As I can subscribe (and am subscribed :-)) to (very) specific Gerrit changes via mail, it should be ... easy and low-impact. But a ton of Java to wade through? Ugh. [18:01:27] scfc_de: well, grrrit-wm is in Javascript :) [18:04:36] YuviPanda: http://gerrit-documentation.googlecode.com/svn/Documentation/2.6/user-notify.html looks perfect, if one could replace "Email" with "IRC". [18:05:23] scfc_de: hmm, I am pretty sure I can hack up 50591 into greg-g with trivial changes [18:05:26] aaarg, into grrrit-wm [18:22:55] scfc_de: I'm going to try hacking that up now [18:57:14] I think I got it.. [18:57:59] I went to a channel that had wm-bot2, told it to switch the instance to wm-bot2 for #wm-bot, told it to restart there, and then told it to set the instance back to wm-bot in #wm-bot and that seems to have worked... [18:58:19] If not, than it was an incredible coincidence. [20:20:44] !ping [20:20:44] pong [20:24:32] alwas *net *splits etc. hrrrrrrrrrrrrrrr [20:25:44] YuviPanda: you're going to replace me with a bot? [20:25:57] no, I'm just going to hack REST API support into you [20:25:58] apparently [20:26:25] ah, neat [20:26:30] patches welcome! [20:26:32] :) [20:26:38] :D [21:28:19] Ryan_Lane: hi, can you make an account for "xqt" related to his svn account? [21:28:24] It's not me [21:28:42] I need information from him for ths [21:28:46] *this [21:28:55] I was going to do this tomorrow [21:29:00] let me show you [21:29:15] also, it would be nice if everyone that's going to need one could get all of their info together [21:29:24] http://www.mediawiki.org/wiki/Git/Conversion/pywikipedia#Initial_members [21:29:31] so that I can do this all at once, rather than one at a time [21:29:41] as far as i know he would be the last one [21:29:54] ah [21:29:55] ok [21:30:06] I need to know what username he wants, and which email address [21:30:27] his e-mail is: info AT gno dot de [21:30:30] username:xqt [21:30:55] If he wanted another username he could make it very easily [21:31:21] it depends [21:31:39] he can have a shell account name of xqt and a login name of something else if he wanted [21:31:53] I've asked him for this info in email [21:32:00] I'll look at it tomorrow [21:32:10] ok, very good [21:32:13] thank you :) [21:32:28] yw [21:58:59] petan: i can't get a java program to run on tools [22:03:04] !petan... [22:03:05] OMG Petan deleted me and now he is going to have to spend 2 days trying to put me back together..... [22:08:14] @notify petan [22:08:14] This user is now online in #huggle. I'll let you know when they show some activity (talk, etc.) [22:14:24] rschen7754: What error message do you get? [22:17:03] scfc_de: is there any log of processes that get killed for overshooting requested VMEM? [22:17:49] scfc_de: well it's when i run the start script, starting it manually on tools-login works fine [22:18:06] err, when i send it to the scheduler it gives me issues [22:18:07] Error occurred during initialization of VM [22:18:09] Could not reserve enough space for object heap [22:18:24] YuviPanda: Dunno. Normal SGE log (qacct)? I don't know which signals are fired. [22:18:33] Error: Could not create the Java Virtual Machine. [22:18:33] Error: A fatal exception has occurred. Program will exit. [22:18:34] scfc_de: is it available to everyone? [22:19:12] rschen7754: IIRC that means you need to specify the amount of memory you request with "-mem" in a parameter to the Java VM, but I'm not an expert on this. [22:19:24] i've specified 512M [22:19:33] YuviPanda: It is updated every five minutes, the master copy is on tools-master. [22:19:46] rschen7754: increase to 1G? [22:19:51] will try [22:19:59] scfc_de: I can't ssh to tools-master, can I? [22:20:03] can you look for me? [22:21:25] YuviPanda: nope, same problem [22:21:29] rschen7754: 2G? :) [22:21:39] it's not that big of a program :/ [22:21:44] well, JVM... [22:21:58] I think if it doesn't run with 2G we might know the problem is elsewhere [22:22:22] rschen7754: According to http://askubuntu.com/questions/107665/how-do-i-change-java-runtime-parameters, "java -Xmx300m" should limit Java's consumption to 300 MByte (a bit less than the grid requirement for overhead, probably best to try and err). [22:22:43] YuviPanda: Doesn't "qacct" work for you? [22:22:58] it doesn't really show me anything [22:23:01] ah [22:23:02] it does now [22:23:04] was just slow [22:23:04] scfc_de: won't run with 2G [22:23:37] rschen7754: So you do "jsub -mem 2G java -Xmx300m blah blah blub?" [22:23:52] scfc_de: i'm using a start script [22:23:54] scfc_de: ah, no. I was looking to check if one of my scripts was killed by SGE for going over memory, or if I have silent corruption elsewhere (since .err wasn't updated) [22:24:27] jstart -mem 2048m /data/project/usrd-tools/USRDbot.sh [22:24:58] rschen7754: And if you add -Xmx in /data/project/usrd-tools/USRDbot.sh? [22:25:05] i'll try that next [22:26:26] scfc_de: that was it! [22:26:45] YuviPanda: You can grep over ... /var/lib/gridengine/default/common/accounting to see your jobs (there's probably an option in qacct for that, but grep is easier :-)). [22:27:39] thanks! [22:28:43] that's very readable :D [22:29:37] rschen7754: np [22:29:49] YuviPanda: I meant grep for the job ID, then use "qacct -j $JOBID" :-). [22:29:59] oh, I already know the job id :D [22:30:03] I log everything [22:30:18] 679329 in this case [22:30:42] failed 100 : assumedly after job [22:31:01] ru_maxrss 1472 [22:31:07] does that mean it used 1.4G of RSS and was hence killed? [22:33:56] YuviPanda: "maxvmem 518.648M"? (Can RSS be greater than VMEM?) [22:34:03] not sure [22:34:34] IIRC "exit_status 137" means the process was -KILLed, so in 99 % it OOMed. [22:34:43] ah, okay [22:34:48] 137 = 128 + 9 [22:35:08] makes sense [22:35:08] hmm, 99% of the time 512 should be enough [22:35:12] and then it isn't. I'm not sure how to do this [22:35:29] ty anyway, scfc_de [22:35:57] scfc_de: does VMEM count child processes of the process too? [22:35:58] My Python jobs' memory requirement went very irregularily through the roof. I didn't see any obvious cause and they were one-offs. [22:36:24] I do see obvious causes, this always happens only when it tries to sync mediawiki/core [22:36:56] YuviPanda: I'm not sure. I think Coren and anomie discussed some strange issues with child, but I don't know what the conclusion was. [22:37:11] I'll just wait for them to coem back up from sleep I guess [22:37:38] The Python jobs were database reports that had been running for weeks, with no changes at all (and I doubt that the DB changed drastically). [22:37:48] hmm [22:58:44] scfc_de: ping [22:59:00] scfc_de: can you tell me which files should be echo'd here? [23:06:44] YuviPanda: What do you mean? [23:06:54] scfc_de: i mean, for changes to operations/puppet [23:07:09] Oh, didn't I note that on the bug? [23:07:29] oh damn, you did [23:07:30] nevermind :D [23:07:32] let me build it now [23:07:57] np [23:19:44] YuviPanda: if you build it...