We have the same issue but its only one of our servers that its causing lag.

The servers that is running Fedora as OS is running fine without lag and as we have munin installed on all boxes we can se that the memory is freed before it hits the "roof".
On Debian this dont work and when the memory is used it start lagging.
We have crontab to restart the machine and then start the gameservers every night.

We have tried to find out why the debian box dont free the memory as the other do..

Anyone who knows?

Peter

molnár lászló skrev 2011-07-21 10:57:
Sorry my last reply was malformed so i rewrote it send it again. So basically, it's good that Valve 
tries to decrease the CPU load but this is just one side if we are talking about server performance. The 
other big issue is the huge memory leak, which is caused by the Source TV, and it can also be see if a 
server wasn't restarted in a long time. A normal server (vanilla server), even if it has full 
players (32 bot for example), and TV off, when you start it consumes approx. 60-80Mb of ram on Windows and 
50-70Mb of ram on Linux (Windows is Windows 7, Linux is Ubuntu 11.04). The memory consumption will rise 
slowly after map changes and can climb to 200-300Mb of ram, this isn't too much but it is stil 2-3X 
times more than the server should eat. If we turn on TV (tv_autorecord 0)...well let say it like we set the 
OILFIELDS on fire. After we start the server the memory usage is around 80MB, lets Change level (we started 
on D2 and we just reload the map) usage goes up to 90Mb, now let’s add some players (31bot) the 
needed memory quickly rises up to 200-220Mb, and will continue to go upward till the server is restarted 
(it goes up almost on every round end, and it goes up on map change), and this is on a Linux based server 
On Windows it's even worse; the usage could go up to 250-270Mb just after the server start as soon 
as the TV joins in after the first map change. In some cases i had seen server that used 5-6GB !! (not Mb) 
of ram in just one day. Why is this a big problem?Most of the game server HW-s haven't got lots of 
TB ram in them mostly 32 or 64GB, and if a server machine runs out of ram they need to use the virtual 
memory (Swap memory) which is usually on a HDD, and even if we use raid the heavy load and the increasing 
usage of swap memory will result in high I/O wait times which will cause massive lag and choke on the 
server. Yes SSD could be a solution but they aren't so cost effective, and they wear out real quick 
in this kind of usage. So Valve if you want to help the serverhosters to be able to put more game servers 
on a physical box, you should solve this memory leak problem. Cheers! Szoke
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux





_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to