Skip to content

Commit 044939f

Browse files
authored
fix(ci): Increase ulimits in compose for integrationg tests (matter-labs#4081)
## What ❔ Increasing ulimit for docker compose spawned containers, used in itegration tests ## Why ❔ On new faster runners we recieve error `Too many open files (os error 24)` ## Is this a breaking change? - [ ] Yes - [x] No ## Operational changes <!-- Any config changes? Any new flags? Any changes to any scripts? --> <!-- Please add anything that non-Matter Labs entities running their own ZK Chain may need to know --> ## Checklist <!-- Check your PR fulfills the following items. --> <!-- For draft PRs check the boxes as you complete them. --> - [x] PR title corresponds to the body of PR (we generate changelog entries from PRs). - [x] Tests for the changes have been added / updated. - [x] Documentation comments have been added / updated. - [x] Code has been formatted via `zkstack dev fmt` and `zkstack dev lint`.
1 parent dac2d32 commit 044939f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docker-compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ services:
22
reth:
33
restart: always
44
image: "ghcr.io/paradigmxyz/reth:v1.3.7"
5+
ulimits:
6+
nofile:
7+
soft: 1048576
8+
hard: 1048576
59
ports:
610
- 127.0.0.1:8545:8545
711
volumes:
@@ -17,6 +21,10 @@ services:
1721
postgres:
1822
image: "postgres:14"
1923
command: postgres -c 'max_connections=1000'
24+
ulimits:
25+
nofile:
26+
soft: 1048576
27+
hard: 1048576
2028
ports:
2129
- 127.0.0.1:5432:5432
2230
volumes:
@@ -33,6 +41,10 @@ services:
3341
security_opt:
3442
- seccomp:unconfined
3543
command: tail -f /dev/null
44+
ulimits:
45+
nofile:
46+
soft: 1048576
47+
hard: 1048576
3648
volumes:
3749
- .:/usr/src/zksync
3850
- /usr/src/cache:/usr/src/cache

0 commit comments

Comments
 (0)