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

Improve pool memory management #50

Merged
merged 2 commits into from
Sep 26, 2023
Merged

Conversation

lstipakov
Copy link
Member

  • Handle case when IoAllocateMdl() and ExAllocatePool2() return NULL

  • Set max pool size (in-flight packets) to 100'000.

This might help with #47

By playing with Quick Edit in console window (which makes execution stop) where iPerf3 was running I was able to get pool size growing to unreasonable values (over 50k). My understanding is that normally it should be <10k, but let's be on a safe side and cap it to 100k - in kernel dump it was over 1mil and system ran out of memory.

Bump to 0.9.4.

 - Handle case when IoAllocateMdl() and ExAllocatePool2()
 return NULL

 - Set max pool size (in-flight packets) to 100'000.

This might help with OpenVPN#47

By playing with Quick Edit in console window (which makes execution
stop) where iPerf3 was running I was able to get pool size growing
to unreasonable values (over 50k). My understanding is that normally it
should be <10k, but let's be on a safe side and cap it to 100k - in
kernel dump it was over 1mil and system ran out of memory.

Bump to 0.9.4.

Signed-off-by: Lev Stipakov <[email protected]>
This is the SDK which is the part of EWDK for Windows Server 2022.

The latest EWDK for Windows 11 doesn't support x86 so we cannot
move to it yet.

Signed-off-by: Lev Stipakov <[email protected]>
@lstipakov lstipakov merged commit 4cca1af into OpenVPN:master Sep 26, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant