golang command works like a forkbomb

0

When i run go run someapp or go version and all other go commands, it works like a forkbomb. It reproduces itself, until my RAM and SWAP is full.

Example

How to prevent it?

Please note, that i changed the dir /usr/lib/node_modules/ as below:

root:nodecli rwxrwxr-x.

Anyway, i am calling go without superuser rights.

MSauer

Posted 2019-08-25T15:50:06.630

Reputation: 1

Simply fixed it by uninstalling the nodejs package and installing go via debian repositories. – MSauer – 2019-08-25T19:42:11.463

1

Please do not edit your original question to include an answer. Instead, fix your post so it can be reopened, then post an answer on your question.

– I say Reinstate Monica – 2019-08-25T20:55:23.657

No answers