[07:10:13] this is funny: Fetching Elasticsearch version...7.17.7...partially supported \ You use a version of elasticsearch that is partially supported, you should upgrade to 7.10.x [08:50:53] I feel like CirrusSearch jpbs leak PHP memory somehow but unsure hmm [08:52:21] if I `php runJobs.php --procs 1 --wait` and start a full reindex, php eventually force-stops it with the usual memory exceeded error [08:53:44] Remilia: try running it several times with --maxjobs 100 perhaps? [08:54:55] dcausse: already doing that [08:54:57] if your backlog is huge not sure that runJobs on the whole backlog is going to work well [08:55:15] while true; do php maintenance/runJobs.php --procs 1 --maxjobs 10; sleep 1; done [08:55:45] it is 1k+ jobs for the first part [08:56:19] PHP is only allowed to use 128 MB so it makes sense [08:59:03] also prior to that I spent an hour trying to understand why doesn't ES get updated at all [08:59:43] and for *some* reason, I have no idea what it is, stopping the job runner shell script and running runjobs manually seems to have helped [09:00:11] and the shell script simply does a 10 second sleep loop of runjobs with maxjobs set [09:00:40] strange indeed, some clues might still be visible in the logs? [09:00:45] yet somehow PHP as started by it was unable to write to Elasticsearch [09:01:19] nope, nothing sensible [09:01:41] I hope it will work when I restart the script lol [09:01:49] the jobs must have been failing somehow... [09:02:24] they definitely were, the job table had job_attempts for LIKE 'cirrus%' >0 [09:03:27] if there was failures then I'd suggest to investigate into why you did not see anything sensible in the logs [09:08:48] ohh [09:09:05] dcausse: I think I uhhh figured it out except it does not make much sense [09:09:55] my conclusion is I do not understand how PHP works [09:10:38] I checked runjobs log and it was a flood of database errors, postgres yelling about page_restrictions not existing and This Makes Zero Sense [09:11:16] because that column was removed in 1.39 and I am running this on 1.39 [09:11:33] …OH [09:11:39] perhaps cirrus started to index things before the wiki was fully upgraded? [09:11:56] no, it was upgraded like a week ago, it is much funnier than this [09:12:19] the cwd (facepalm here) [09:13:17] dcausse: my script starts with "cd ${WIKIPATH}/w" before the loop and since I `mv w w.old` during the upgrade… [09:14:01] I think I will change this to cd ${WIKIPATH} and add w to the script path instead [09:17:18] oh I see, glad to see you figured this out! :) [09:26:53] it is hard being an idiot, wastes so much time [09:28:49] but at least I am no longer running ES6 \o/ [10:59:01] hi, is there some theme complete with menu, that automatically makes menu items out of [Category] on pages? [16:33:28] DJ-ArcAngel: I'm not sure what exactly you are trying to do, but the CategoryTree extension can generate a kind of menu from categories.