Skip to content

Limit inflight coordination service session requests - #9168

Merged
snaury merged 1 commit into
ydb-platform:mainfrom
snaury:KIKIMR-15286-kesus-limiter
Sep 13, 2024
Merged

snaury merged 1 commit into
ydb-platform:mainfrom
snaury:KIKIMR-15286-kesus-limiter

Conversation

@snaury

@snaury snaury commented Sep 12, 2024 •

Copy link
Copy Markdown
Member

Changelog entry

Limit inflight coordination service session requests

Changelog category

  • Bugfix

Additional information

Coordination service session requests have been historically unlimited, which has caused issues when a buggy client opened more and more sessions, eventually causing out-of-memory. A large number (many thousands) of inflight sessions could be expected, but limit them to 100k for now.

Fixes KIKIMR-15286.

@github-actions github-actions Bot added bugfix and removed bugfix labels Sep 12, 2024
@github-actions

github-actions Bot commented Sep 12, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-09-12 15:39:18 UTC Pre-commit check linux-x86_64-release-asan for a2f9896 has started.
⚪ 2024-09-12 15:39:57 UTC Artifacts will be uploaded here
⚪ 2024-09-12 15:43:18 UTC ya make is running...
🔴 2024-09-12 15:52:51 UTC Build failed, see the logs.

@github-actions

github-actions Bot commented Sep 12, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-09-12 15:39:24 UTC Pre-commit check linux-x86_64-release-clang14 for a2f9896 has started.
⚪ 2024-09-12 15:40:29 UTC Artifacts will be uploaded here
⚪ 2024-09-12 15:43:48 UTC ya make is running...
🔴 2024-09-12 15:48:08 UTC Build failed, see the logs.

@github-actions

github-actions Bot commented Sep 12, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-09-12 15:40:50 UTC Pre-commit check linux-x86_64-relwithdebinfo for a2f9896 has started.
⚪ 2024-09-12 15:40:55 UTC Artifacts will be uploaded here
⚪ 2024-09-12 15:43:55 UTC ya make is running...
🔴 2024-09-12 15:50:45 UTC Build failed, see the logs.

@snaury
snaury force-pushed the KIKIMR-15286-kesus-limiter branch from d5f898f to e146557 Compare September 12, 2024 15:54
@github-actions

github-actions Bot commented Sep 12, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-09-12 15:57:18 UTC Pre-commit check linux-x86_64-release-clang14 for c5b5967 has started.
⚪ 2024-09-12 15:57:27 UTC Artifacts will be uploaded here
⚪ 2024-09-12 16:00:18 UTC ya make is running...
🟢 2024-09-12 16:07:27 UTC Build successful.

@github-actions

github-actions Bot commented Sep 12, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-09-12 15:57:31 UTC Pre-commit check linux-x86_64-relwithdebinfo for c5b5967 has started.
⚪ 2024-09-12 15:57:42 UTC Artifacts will be uploaded here
⚪ 2024-09-12 16:00:24 UTC ya make is running...
🟡 2024-09-12 16:56:50 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
16236 14602 0 5 1597 32

⚪ 2024-09-12 16:58:17 UTC ya make is running... (failed tests rerun, try 2)
🟡 2024-09-12 17:38:05 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
272 (only retried tests) 12 0 1 235 24

⚪ 2024-09-12 17:38:15 UTC ya make is running... (failed tests rerun, try 3)
🟢 2024-09-12 17:45:10 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
264 (only retried tests) 172 0 0 7 85

🟢 2024-09-12 17:45:18 UTC Build successful.
🟢 2024-09-12 17:45:54 UTC ydbd size 8.4 GiB changed* by -6.9 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: e8c9cca merge: c5b5967 diff diff %
ydbd size 9 041 231 248 Bytes 9 041 224 176 Bytes -6.9 KiB -0.000%
ydbd stripped size 488 551 080 Bytes 488 552 360 Bytes +1.2 KiB +0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@github-actions

github-actions Bot commented Sep 12, 2024 •

Copy link
Copy Markdown
Contributor

⚪ 2024-09-12 15:57:48 UTC Pre-commit check linux-x86_64-release-asan for c5b5967 has started.
⚪ 2024-09-12 15:57:58 UTC Artifacts will be uploaded here
⚪ 2024-09-12 16:00:48 UTC ya make is running...
🔴 2024-09-12 17:49:46 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11627 11245 0 57 286 39

🟢 2024-09-12 17:50:46 UTC Build successful.
🟢 2024-09-12 17:51:21 UTC ydbd size 5.6 GiB changed* by +2.9 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: e8c9cca merge: c5b5967 diff diff %
ydbd size 6 050 925 888 Bytes 6 050 928 904 Bytes +2.9 KiB +0.000%
ydbd stripped size 1 514 151 088 Bytes 1 514 156 400 Bytes +5.2 KiB +0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@snaury
snaury requested a review from CyberROFL September 13, 2024 07:03
@snaury
snaury marked this pull request as ready for review September 13, 2024 07:03
@snaury
snaury merged commit 7277322 into ydb-platform:main Sep 13, 2024
@snaury
snaury deleted the KIKIMR-15286-kesus-limiter branch September 13, 2024 09:42
@snaury snaury self-assigned this Sep 13, 2024
@shnikd shnikd mentioned this pull request Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants