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

malloc: Cannot allocate memory #881

Open
IvanVas opened this issue Dec 5, 2022 · 0 comments
Open

malloc: Cannot allocate memory #881

IvanVas opened this issue Dec 5, 2022 · 0 comments

Comments

@IvanVas
Copy link

IvanVas commented Dec 5, 2022

Hi folks,

I'm trying to load test a high response time API (~15s) so need to keep a lot of connections.
When phantom instances: are 30k and higher, tank starts to fail with a lot of malloc errors:

2022-12-05 17:47:26.057 +0000 [error] [benchmark_io 32714] mprotect: Cannot allocate memory
2022-12-05 17:47:26.058 +0000 [error] [benchmark_io 32715] mmap: Cannot allocate memory
2022-12-05 17:47:26.058 +0000 [error] [benchmark_io 32716] mmap: Cannot allocate memory
2022-12-05 17:47:26.058 +0000 [error] [benchmark_io 32717] mmap: Cannot allocate memory
2022-12-05 17:47:26.058 +0000 [error] [benchmark_io 32718] mmap: Cannot allocate memory

Running the latest master version with docker.
The machine has a lot of available memory.

Are there any limitations to number of instances?
Can this me remedied?

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

No branches or pull requests

1 participant