mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valery Kharseko
8 hours ago ee4d71362d092943da3d38bbff5956d785c6b758
refs
author Valery Kharseko <vharseko@3a-systems.ru>
Thursday, October 1, 2026 15:42 +0200
committer GitHub <noreply@github.com>
Thursday, October 1, 2026 15:42 +0200
commitee4d71362d092943da3d38bbff5956d785c6b758
tree 69b7f61f70b67ba02ee0f8e8fb6b76a52c42f9eb tree | zip | gz
parent e521b43bf59c5e7e09224507b9457d397c3811ac view | diff
[#1144] Widen the ephemeral port range before the benchmark runs (#1145)

BIND opens a new connection per iteration, and docker-proxy relays each one to
the container over a second connection from an ephemeral port. At ~500 binds/s
and 60 s of TIME_WAIT that leg outgrows the default range (32768-60999) within a
minute; the proxy then drops new connections and BIND fails with "LDAP
connection has been closed".

Before the benchmarks of compare-opendj.sh and of the OpenLDAP vs OpenDJ
workflow run, set net.ipv4.ip_local_port_range to 1024-65535 and enable
net.ipv4.tcp_tw_reuse.

Fixes #1144
2 files modified
17 ■■■■■ changed files
.github/benchmark/compare-opendj.sh 8 ●●●●● diff | view | raw | blame | history
.github/workflows/benchmark.yml 9 ●●●●● diff | view | raw | blame | history