Skip to content

Commit 95d6ebb

Browse files
committed
fix: raise the file descriptor limit for mediawiki
- rebuildData against the SPARQLStore opens many short-lived connections to the triplestore and search backend at once - the docker default of 8192 runs out on annotation-heavy pages
1 parent ea82a2d commit 95d6ebb

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎docker-compose.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ services:
5858
context: ./mediawiki/build
5959
dockerfile: Dockerfile
6060
restart: unless-stopped
61+
# rebuildData on a SPARQLStore opens many short-lived connections to the
62+
# triplestore and the search backend at once. The docker default of 8192
63+
# is not enough for annotation-heavy pages.
64+
ulimits:
65+
nofile:
66+
soft: 65536
67+
hard: 65536
6168
depends_on:
6269
- db
6370
- elasticsearch

0 commit comments

Comments
 (0)