arriven / db1000n

MIT License
1.18k stars 208 forks source link

Killed. on 400MB ram machine #532

Closed deputinizer closed 2 years ago

deputinizer commented 2 years ago

So, how to scale the RAM usage down?

Actual Behavior

azureuser@azurevm:~/db$ ./db1000n
[...]
attacking       {"target": "https://fresh.1bitcloud.ru/"}
Killed
azureuser@azurevm:~/db$ 

Steps to Reproduce the Problem

  1. Get an Azure account (maybe free 100$ one)
  2. Set up cheapest VM on Azure
  3. Run ./db1000n

Specifications

deputinizer commented 2 years ago

Swap helps a lot :)

image

From: https://linuxize.com/post/create-a-linux-swap-file/

deputinizer commented 2 years ago
systemctl stop walinuxagent
systemctl stop multipathd
systemctl stop snapd