Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notes to L0_client_memory_growth test #5710

Merged
merged 1 commit into from
Apr 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions qa/L0_client_memory_growth/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ for PROTOCOL in http grpc; do
if [ "$LANG" == "c++" ]; then
MEMORY_GROWTH_TEST=$MEMORY_GROWTH_TEST_CPP
MAX_ALLOWED_ALLOC="10"
# NOTE: This test has risk of exhausting all available sockets in
# the ephemeral port range. Re-using the same client connection
# ("-R") can easily solve this problem. However, to cleanly separate
# the resources used by different client objects, we create new
# connections for each request and retry/sleep on failure to give
# the system time to reclaim sockets after TIME_WAIT.
# TIP: You can use the "ss -s" command to observe the socket usage.
EXTRA_ARGS="-r ${REPETITION_CPP} -i ${PROTOCOL}"
else
MEMORY_GROWTH_TEST="python $MEMORY_GROWTH_TEST_PY"
Expand Down