Server memory problem

05/24/2018 16:57 necky2#1
Hello, I'm trying to setup a metin2 server in a FreeBSD VM

when I start the server, it goes to 100% RAM usage after ~1 min

syserr:
Code:
SYSERR: May 24 17:24:06 :: pid_init:
Start of pid: 852

SYSERR: May 24 17:24:43 :: safe_create: calloc failed [12] Cannot allocate memory
SYSERR: May 24 17:24:43 :: buffer_new: calloc failed [12] Cannot allocate memory
top:
[Only registered and activated users can see links. Click Here To Register...]


When SIZE hits 3390M, the ram usage really starts going

I have tried setting kern.ipc.shmmax and kern.ipc.shmall to 2gb and 8gb - didn't work

Where did I go wrong?
05/30/2018 05:29 Ex0dia#2
Hi

your server is probably leaking memory.
From where you got that code / binaries?

Kind regards
Ex0dia