In T323502#8419749, @taavi wrote:In T323502#8416721, @Magnus wrote:And while I'm at it, I would like to request that the maximum number of database connections be increased to 20. This is mostly for the tool user database, not so much for the DB replicas, in case that makes a difference.
Could you explain a bit why this is needed?
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Feed Search
Dec 1 2022
Dec 1 2022
Magnus added a comment to T323502: Move some of magnus's tools to Trove databases (was: Request increased quota for mix-n-match Toolforge tool).
Nov 23 2022
Nov 23 2022
Magnus added a comment to T323502: Move some of magnus's tools to Trove databases (was: Request increased quota for mix-n-match Toolforge tool).
And while I'm at it, I would like to request that the maximum number of database connections be increased to 20. This is mostly for the tool user database, not so much for the DB replicas, in case that makes a difference.
Nov 22 2022
Nov 22 2022
Magnus updated the task description for T323502: Move some of magnus's tools to Trove databases (was: Request increased quota for mix-n-match Toolforge tool).
Nov 21 2022
Nov 21 2022
Magnus renamed T323502: Move some of magnus's tools to Trove databases (was: Request increased quota for mix-n-match Toolforge tool) from Request increased quota for <Replace Me> Toolforge tool to Request increased quota for mix-n-match Toolforge tool.
Oct 27 2022
Oct 27 2022
--wait instead of --continuous seems to work?
I have other k8s jobs scheduled/running for this tool, they all work fine
The command is a thin bash wrapper around a Rust binary, compiled on toolforge. Binary starts just fine when run manually in shell.
Oct 20 2022
Oct 20 2022
Magnus closed T319859: Migrate listeria from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Oct 17 2022
Oct 17 2022
Magnus closed T319896: Migrate mix-n-match from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Never mind, I just copied the binary to the tools directory and run it from there.
Magnus added a comment to T319896: Migrate mix-n-match from Toolforge GridEngine to Toolforge Kubernetes.
Moved all the jobs now except one, which depends on mysqldump, but that command is not in tf-bullseye-std. Is there any way to access that command from k8s?
Oct 14 2022
Oct 14 2022
Magnus closed T319640: Migrate commons-delinquent from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done (already using k8s but someone left the cronjobs in place for just-in-case restarting, this is removed now).
Magnus closed T320093: Migrate topicmatcher from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done.
Magnus closed T319729: Migrate erwin85 from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done.
Magnus added a comment to T319729: Migrate erwin85 from Toolforge GridEngine to Toolforge Kubernetes.
Done.
Oct 13 2022
Oct 13 2022
Magnus closed T320155: Migrate wikidata-todo from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done.
Magnus closed T319773: Migrate glamtools from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done.
Oct 12 2022
Oct 12 2022
Magnus closed T320050: Migrate sourcemd from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done.
Magnus closed T319872: Migrate magnustools from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done.
Magnus closed T320151: Migrate wikidata-game from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done.
Magnus closed T319988: Migrate quickstatements from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done.
Magnus added a comment to T319859: Migrate listeria from Toolforge GridEngine to Toolforge Kubernetes.
Done.
Magnus closed T319951: Migrate pagepile from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done.
Magnus closed T320153: Migrate wikidata-terminator from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done.
Magnus closed T319907: Migrate most-wanted from Toolforge GridEngine to Toolforge Kubernetes as Resolved.
Done.
Done.
Done.
Magnus added a comment to T319896: Migrate mix-n-match from Toolforge GridEngine to Toolforge Kubernetes.
Update: I migrated most of the cronjobs (except two) to kubernetes. Best I can do for now, I'll have a look at the remaining ones again once I migrate all my other tools.
Done.
Oct 7 2022
Oct 7 2022
Magnus added a comment to T319896: Migrate mix-n-match from Toolforge GridEngine to Toolforge Kubernetes.
Hi, as you may know, I am a massive user of the toolforge environment. I am also an eager early adopter of new technologies. I will use this ticket (and not the other dozen or so I got for other tools) for some feedback, until it's specific to other tools.
May 31 2022
May 31 2022
I think I fixed the URL for Special:OAuth, someone please try it in the wild
May 19 2022
May 19 2022
Fixed
May 18 2022
May 18 2022
Fixed
Fixed
Fixed
Fixed
Fixed
Fixed
May 17 2022
May 17 2022
Fixed
Fixed
Fixed
Fixed
Fixed
Fixed
Mar 20 2022
Mar 20 2022
Different bug though. Fixed now.
Oct 28 2021
Oct 28 2021
Thanks, I added descriptions and toolhub now picked it up.
Oct 27 2021
Oct 27 2021
So it does not look like the crawler used the JSON I provided. For example, "drawshield" is clearly in https://magnustools.toolforge.org/toolinfo_buggregator.json but it does not show up in Toolhub search.
Oct 22 2021
Oct 22 2021
Ah it looks like the crawler runs once every hour: https://toolhub.wikimedia.org/crawler-history
Jul 28 2021
Jul 28 2021
Magnus added a comment to T115650: Create an authoritative and well promoted catalog of Wikimedia tools.
Adding my own list of my tools, matched to the toolhub name where I could. Note that some of these are deactivated/broken (see notes), some are JavaScript on-wiki so not sure if that counts. The "open/closed' tickets are biased towards "open" while I go through them over time, but could become a quality score indicator down the line.
Jul 21 2021
Jul 21 2021
Magnus closed T282474: tools.topicmatcher update_items_from_sparql.php frequently running Toolforge nodes out of resources as Resolved.
I think I had a misconfiguration in the cronfile, this is fixed now. Please re-open/ping me if this still happens.
Magnus added a comment to T282474: tools.topicmatcher update_items_from_sparql.php frequently running Toolforge nodes out of resources.
First time I see this issue here, will investigate.
Jul 12 2021
Jul 12 2021
This was broken by the "toolforge subdomain migration".
Jun 30 2021
Jun 30 2021
Turns out that single catalog takes ~21GB:
The collected data (from the BaGLAMa2 tool) is quite valuable for GLAM, including the historic ones, which is why I try to keep all of it.
Jun 7 2021
Jun 7 2021
Fixed now.
May 21 2021
May 21 2021
In T282158#7100475, @Sannita wrote:I'll just put this bug here, because I'm not 100% sure I can attend the session: https://github.com/magnusmanske/listeria_rs/issues/67
This is a rather urgent bug we noticed a couple of months ago, and might at this point be related to the 90/10 issue Andrew was discussing in a previous comment.
May 13 2021
May 13 2021
A few notes:
- happy to help with any new development, as time allows; prioritized list preferred
- issue tracker at https://github.com/magnusmanske/listeria_rs but it's a bit messy, partially because no one reads the existing issues...
- the "killed" errors come from Toolforge killing the processes even though there is enough memory, but they allocate memory in large blocks which is suspicious, apparently. I have an idea how to get around that, but will require a bit of time
- the "central location" is the Commons Data: namespace. This works ~80-90%, and requires a final push, both in Rust and Lua. See http://magnusmanske.de/wordpress/?p=650
Mar 5 2021
Mar 5 2021
Magnus closed T276253: flickr2commons.toolforge.org stuck at status "Running" due to "Content Security Policy error" as Resolved.
Turns out flickr retired the secure.flickr.com domain without forwarding. Removed the "secure" but still using https, should work again.
Feb 25 2021
Feb 25 2021
Magnus added a comment to T179879: Provide a 5-minute timeout in WDQS for trusted users using OAuth.
Also, doesn't seem to work for "has a birth date"?
https://www.wikidata.org/w/index.php?search=haswbstatement%3AP21%3DQ6581072++haswbstatement%3AP569&title=Special:Search&profile=advanced&fulltext=1&advancedSearch-current=%7B%7D&ns0=1&ns120=1
Magnus added a comment to T179879: Provide a 5-minute timeout in WDQS for trusted users using OAuth.
In T179879#6859731, @So9q wrote:Both of these can be done using CirrusSearch API and can't they?
Feb 19 2021
Feb 19 2021
Magnus added a comment to T274811: "duplicity" on wikidata-todo.toolforge.org returns "503 Service Not Available" error message.
Restarted wikidata-todo.
Jan 28 2021
Jan 28 2021
It does work, however, since there is currently not a single page on euwiki where the latest revision has a wp10 score, the results will be empty.
Jan 21 2021
Jan 21 2021
Magnus updated the task description for T269609: Ensure all ToolsDB databases comply with current naming conventions.
Jan 20 2021
Jan 20 2021
Thanks, I think I fixed it now.
Magnus closed T272430: mixnmatch microsync process has a large error file, a subtask of T272247: 2021-01-17: tools NFS share cleanup, as Resolved.
Dec 18 2020
Dec 18 2020
Should restart now
On it
Nov 25 2020
Nov 25 2020
I would also like to point out https://tabernacle.toolforge.org/ which ATM is for editing existing items, but I could easily create a new blank item to edit.
Nov 23 2020
Nov 23 2020
Oct 14 2020
Oct 14 2020
Magnus added a comment to T250621: Items created through QuickStatements don't get added to Watchlist on wikidata.org.
Just saw this one. I think fixing wikibase to add to watchlist is the way to go. I could update the OAuth permissions but that would break everyone's server-based edits as they would use an old OAuth, correct?
Oct 9 2020
Oct 9 2020
Should be fixed now
Oct 7 2020
Oct 7 2020
I'm on it.
Jul 13 2020
Jul 13 2020
Magnus closed T257555: Lost connection to MySQL server while trying to import 39M rows of csv data (toolsdb) as Resolved.
Worked with 10K batches. I still think this rapid disconnect in the middle of a query is a bug.
Magnus added a comment to T257555: Lost connection to MySQL server while trying to import 39M rows of csv data (toolsdb).
Trying 1M chunks, first two worked, but then:
mysqlimport: Error: 2013, Lost connection to MySQL server during query, when using table: osopenuprn_202006
I'll try even smaller ones, but it's getting a bit ridiculous. Why disconnect the server in the middle of a query?
Jul 9 2020
Jul 9 2020
Jun 30 2020
Jun 30 2020
Magnus added a comment to T255730: Request increased quota for petscan Toolforge tool for database access.
I have switched the configuration to use the petscan db connections only.
Jun 26 2020
Jun 26 2020
Magnus added a comment to T255730: Request increased quota for petscan Toolforge tool for database access.
Just to add, if some queries take too long I can likely just change a parameter to fix that. Someone with access to the stats, let me know.
Magnus added a comment to T255730: Request increased quota for petscan Toolforge tool for database access.
The reason I use that many connections is precisely to avoid long-running ones, as I had in a previous version; they would time out or lose database connection, so I re-wrote the code to use more but shorter queries.
Jun 24 2020
Jun 24 2020
In T243848#6251382, @Aklapper wrote:@Magnus: Does that mean that https://phabricator.wikimedia.org/source/tool-quickstatements/browse/master/ will get out of sync and should be archived?
Yes.
I have "forked" it into github. Using diffusion was a mistake in the first place. Now at https://github.com/magnusmanske/quickstatements
Tried again with ssh://vcs@git-ssh.wikimedia.org/source/tool-quickstatements.git, no joy:
Permission denied (publickey,keyboard-interactive). fatal: Could not read from remote repository.
tools.quickstatements@tools-sgebastion-07:~$ git remote remove origin
tools.quickstatements@tools-sgebastion-07:~$ git remote add origin ssh://phabricator.wikimedia.org/diffusion/2010/tool-quickstatements.git/
tools.quickstatements@tools-sgebastion-07:~$ git push fatal: The current branch master has no upstream branch.
To push the current branch and set the remote as upstream, use
Jun 22 2020
Jun 22 2020
FWIW, I believe all my (active) tools now use the new canonical URL.
Jun 19 2020
Jun 19 2020
As I wrote five years ago, I added a limit to upload only two files concurrently.
No further comment has been made since, so I consider this issue to be solved.
Jun 18 2020
Jun 18 2020
Magnus added a comment to T255730: Request increased quota for petscan Toolforge tool for database access.
Thanks, that seems perfect!
Jun 8 2020
Jun 8 2020
Magnus added a comment to T254640: Default lighttpd config created by `webservice` breaks serving files starting with the same string as the tool's name under `--canonical`.
In T254640#6202698, @bd808 wrote:This config is part of the default configuration generated by webservice. That means we need to fix it upstream of the usage by this particular tool.
OK thanks
As a horrible short term fix for reasonator, I did:
$ ln -s $HOME/public_html/reasonator_types.js $HOME/public_html/_types.js
Magnus added a comment to T254640: Default lighttpd config created by `webservice` breaks serving files starting with the same string as the tool's name under `--canonical`.
In T254640#6201620, @LucasWerkmeister wrote:I don’t understand why this is an UBN when as far as I understand we know a workaround (restart without --canonical)?
In T194953#6185511, @bd808 wrote:Is there a movement towards Rust in any significant segment of the Wikimedia movement? Are there clear benefits for Toolforge tools to be written and maintained in Rust?
Jun 7 2020
Jun 7 2020
Magnus added a comment to T254640: Default lighttpd config created by `webservice` breaks serving files starting with the same string as the tool's name under `--canonical`.
I think this is a blocker to moving all tools to the canonical URL. T234617 ?
Magnus added a comment to T254640: Default lighttpd config created by `webservice` breaks serving files starting with the same string as the tool's name under `--canonical`.
I cleared the error log on reasonator and switched to the previous URL schema, then back to the canonical one. No server errors in the log (some unrelated PhP ones, now cleared again)
Jun 6 2020
Jun 6 2020
Magnus added a comment to T254640: Default lighttpd config created by `webservice` breaks serving files starting with the same string as the tool's name under `--canonical`.
@LucasWerkmeister thanks that worked, for now
Magnus raised the priority of T254640: Default lighttpd config created by `webservice` breaks serving files starting with the same string as the tool's name under `--canonical` from High to Unbreak Now!.
Same with https://geohack.toolforge.org/geohack.php . Geohack is kinda central for Wikipedia so please help!
Thanks @bd808 !
Magnus added a comment to T254640: Default lighttpd config created by `webservice` breaks serving files starting with the same string as the tool's name under `--canonical`.
Other files load fine. Haven't checked all though
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits