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

400 players test crash #10

Closed
kangarko opened this issue Jan 5, 2022 · 2 comments
Closed

400 players test crash #10

kangarko opened this issue Jan 5, 2022 · 2 comments

Comments

@kangarko
Copy link

kangarko commented Jan 5, 2022

I'd like to simulate 400 concurrent players on my test server for an issue with my plugin: kangarko/ChatControl-Red#1566 (comment)

I am using the following startup flag for bots to connect to BungeeCord:

java -jar -Xms8G -Xmx8G mc-bots-1.1.0.jar -s localhost:25577 -d 10 11 -r -x -c 400

Which results to around 100 bots connecting to the proxy before dropping off and stabilizing at around 20:

a

Why is that? Too little memory? I have a machine with 64gb at my disposal, how much RAM do you think I need to set?

But I do think that the dropoff is a bug, can you please have a look?

Thanks!
Matej

@crpmax
Copy link
Owner

crpmax commented Jan 8, 2022

Hello,
I think the amount of memory is sufficient, because if it would'nt be, the whole app would crash with a out of memory error.

Please provide more information of what type of proxy are you using (Bungeecord?) and what server is behind the proxy, so I can test it.

Please test it with higher delay, try 100ms, 500 ms, than 1000 ms or more.
I think the problem could be the server or my app can't process so much connections so fast. (10 ms delay means ~100 bots a second)

@kangarko
Copy link
Author

Ďakujem (rozumiem že si Čech?).

Už to funguje. Avšak z nejakých príčin sa to zastaví tesne pred max. počtom hráčov. Vyriešil som to tak, že sa má pripojiť 500 botov. Teda zastaví sa to niečo po 400. "Zamrzne" to v tomto stave: https://i.imgur.com/YbgT34u.png

Ale všetko funguje, je to len drobnosť. Ďakujem za pomoc.

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

2 participants