Commit d36b7b6
committed
roachtest: set ulimit for TPC-E workload runner
A recent version upgrade of docker changed the default of LimitNOFILE:
> containerd v2.1.5 now uses systemd's default LimitNOFILE for containers,
> changing the open file descriptor limit (ulimit -n) from 1048576 to 1024. This
> extends a change introduced in Docker Engine v25.0 for build containers to all
> containers.
Here, I explicitly set the `ulimit` when launcing the container.
According to the release note, an alternative here is to update our docker
configuration on install:
```
{
"default-ulimits": {
"nofile": {
"Name": "nofile",
"Soft": 1048576,
"Hard": 1048576
}
}
}
```
Fixes #158243
Release note: None1 parent d534c36 commit d36b7b6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments