Page MenuHomePhabricator

Codesearch down/unreachable (2025-08-30)
Closed, ResolvedPublic

Description

https://codesearch.wmcloud.org/ is currently unreachable for @Amire80 and myself. Might be the same issue as T401513: Codesearch down/unreachable (2025-08-09) again.

Previous task: T402583

Event Timeline

Huh. The tab just loaded for me… after waiting for something like ten minutes. Did anyone do something?

Edit: It’s still mostly being unresponsive though.

Ladsgroup subscribed.

It's back online now. On its own. I didn't do anything.
Mayyybe related (kern.log):

2025-08-30T17:49:03.566472+00:00 codesearch9 kernel: [1141187.607890] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=init.scope,mems_allowed=0,global_oom,task_memcg=/system.slice/docker-5655957fe9caacf609277a6b1a80bf9c175ccfc3b472c387d8eb29c0bf7c953a.scope,task=houndd,pid=3471860,uid=0
2025-08-30T17:49:03.566473+00:00 codesearch9 kernel: [1141187.608651] Out of memory: Killed process 3471860 (houndd) total-vm:14900360kB, anon-rss:4853108kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:18468kB oom_score_adj:0

I do see a lot of garbage views in logs done by bots which could be the reason it's ooming so we probably have to live with this? If someone is willing to build an anti-AI front for it, by all means.

If someone is willing to build an anti-AI front for it, by all means.

random idea, maybe Codesearch could use https://github.com/techarohq/anubis? @MusikAnimal added it to XTools recently and did a write-up in the task description for T400229: Add Anubis to XTools.

IMHO it would make more sense to gate it behind an OAuth login, just like Global Search. This way we don’t waste CPU time on people’s devices.

If someone is willing to build an anti-AI front for it, by all means.

random idea, maybe Codesearch could use https://github.com/techarohq/anubis? @MusikAnimal added it to XTools recently and did a write-up in the task description for T400229: Add Anubis to XTools.

IMHO it would make more sense to gate it behind an OAuth login, just like Global Search. This way we don’t waste CPU time on people’s devices.

[discussion continues in T403474]