Forum

> > CS2D > Servers > Server Memory Leak?
Forums overviewCS2D overview Servers overviewLog in to reply

English Server Memory Leak?

1 reply
To the start Previous 1 Next To the start

old Server Memory Leak?

IWhoopedPythagoras
BANNED Off Offline

Quote
Hi,

I'm using a VPS to run my dedicated cs2d servers ( linux ).
One thing that i've noticed is that the servers use more memory the longer they are online.

I've got this one server with Multigame2 ( a lua script)
that uses over 120 MB of ram after 37 hours of uptime! This is unacceptable since cs2d is not the only process that runs on the VPS.

I first thought that this had to do with lua scripts that didnt free images, or used large tables that were not referenced anymore. But on normal cs2d servers without any lua scripts, i get the same result.

The server that has been running for over 160 hours without lua scripts use at least 50 MB ram..

old Re: Server Memory Leak?

DC
Admin Off Offline

Quote
huh.. I wonder if everyone has this leak (that would be bad) or if it is caused by certain versions of certain libraries.. ?

you could use a restart script that kills your server process and restarts it (at night / early in the morning for example when no one is playing)
To the start Previous 1 Next To the start
Log in to reply Servers overviewCS2D overviewForums overview