Re: [hlds_linux] Memory Leak - Part III - *No Metamod*

2004-08-27 Thread m0gely
Alfred Reynolds wrote:
Try different GLIBC versions to see how that effects the speed of the
leak.
Unless someone would like to correct me (kama?) this isn't something
that can easily be done.  The linux_base-8 is the only Linux compat that
comes with glibc 2.3 (mine is 2.3.2).  The other linux base options
(debian, base 6 & 7 come with 2.2 or 2.1) are too old to support some of
the mods I run.  There are not different version of 2.3.x.
--
- m0gely
http://quake2.telestream.com/
Q2 | Q3A | Counter-strike
___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


RE: [hlds_linux] Memory Leak - Part III - *No Metamod*

2004-08-27 Thread Alfred Reynolds
Try different GLIBC versions to see how that effects the speed of the
leak.

- Alfred

Original Message
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of m0gely
Sent: Friday, August 27, 2004 5:19 PM To:
[EMAIL PROTECTED] Subject: Re: [hlds_linux] Memory Leak
- Part III - *No Metamod*

> kama wrote:
>
> > m0gley, as you probably know I run all my servers on FreeBSD as you
> > are...
> >
> > When running a no metamod server I do not get any memory leak.
> >
> > I run linux_base-8 on all servers... FreeBSD 4.X-STABLE... it can
> > run
> > for month without it eating memory... it sits at aprox 80-90MB after
> > aprox two weeks of uptime...
>
> Same as me.  I don't know what to say.  Since my last email (5 1/2
> hours
> ago) my server has consumed another 32M of memory.  This has been a
> problem for me from the beginning w/ the 1.1.2.x binary.  Other
> people have it.  People that don't seem to be the exception.
>
> In my own testing with AMX enabled or disabled there was no
> difference in the memory usage.  It rose regardless.  This time it
> possibly seems a little slower without Metamod, but it's there.  This
> just sucks.  How about it Alfred or someone?  Do you even care to
> comment?  I'm not the only one here with this problem.  I am willing
> to do more to try and solve this if someone would just give me some
> direction.
>
> > I will soon move to amxx 0.2... I just have to rewrite my plugins
> > first...
>
> According to their chart, this shouldn't be be necessary.  Oops, did
> I say that out loud?

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


Re: [hlds_linux] Memory Leak - Part III - *No Metamod*

2004-08-27 Thread m0gely
kama wrote:
m0gley, as you probably know I run all my servers on FreeBSD as you are...
When running a no metamod server I do not get any memory leak.
I run linux_base-8 on all servers... FreeBSD 4.X-STABLE... it can run for
month without it eating memory... it sits at aprox 80-90MB after aprox two
weeks of uptime...
Same as me.  I don't know what to say.  Since my last email (5 1/2 hours
ago) my server has consumed another 32M of memory.  This has been a
problem for me from the beginning w/ the 1.1.2.x binary.  Other people
have it.  People that don't seem to be the exception.
In my own testing with AMX enabled or disabled there was no difference
in the memory usage.  It rose regardless.  This time it possibly seems a
little slower without Metamod, but it's there.  This just sucks.  How
about it Alfred or someone?  Do you even care to comment?  I'm not the
only one here with this problem.  I am willing to do more to try and
solve this if someone would just give me some direction.
I will soon move to amxx 0.2... I just have to rewrite my plugins first...
According to their chart, this shouldn't be be necessary.  Oops, did I
say that out loud?
--
- m0gely
http://quake2.telestream.com/
Q2 | Q3A | Counter-strike
___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


[hlds_linux] Half-Life 2 Master Area

2004-08-27 Thread bbrcs
This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Well, I got tired of wondering how our new Counter-Strike Source servers were 
doing compared to the rest of the servers out there. I took some time today to see if 
I could do something about it. I ended up getting what I wanted, though I'm sure there 
is still some tweaking that can be done. I formatted the data and pushed it into our 
GameStats area in a new section called HL2 Master. Since the only HL2 mod being played 
right now is cstrike you will see that it has 100% of the pie. The only map that is 
suppose to be played at this time is de_dust, but you will see that it only has 95% of 
the pie. I also list information on all the servers that I can find and all the 
players on those servers. I even decided to graph total player and server trends which 
you can get to by going to the main GameStats area and scrolling down to the HL2 
section. In this section you will also see the current number of players, the number 
of server spots available to players, the number of full servers, the number of empty 
server, as well as some summary information on the most popular map and mod. There is 
still some work to be done on the individual server query, but that shouldn't take me 
too long.

Take a look and as always your input is welcome.

http://gaming.broadbandreports.com/hl2master/
http://gaming.broadbandreports.com/gamestats/

---
Game Server Admin
http://www.broadbandgaming.net

Moderator
http://www.broadbandreports.com
--


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


Re: [hlds_linux] Memory Leak - Part III - *No Metamod*

2004-08-27 Thread kama
On Fri, 27 Aug 2004, m0gely wrote:

> kkith wrote:
> > I would suggest, running hlds without metamod until you run out of main
> > memory and see what happens.
>
> What would be the purpose in this?  It's eating memory it should not.
>
> > IF the case is that the allocated memory is being used for caching
> > purposes (like map information)
>
> First of all its a 1 map server.
> Second when this same server was 1.5 this did not occur.
>
> >> CS 1.6 server Iceworld 24/7 - 12 player
> >> Mods: NONE. No metamod, NOTHING
> >> Mem usage: 164M after *24 hours* (from 65M at startup)
> >> Player connections: 1075
>
> Now using 222M of memory.  Remember, only 1 map!
>
> stats
> CPU   InOut   Uptime  Users   FPSPlayers
>   0.00 12.98 14.802774  1778  100.01   5
>
> This *same* server running 1.5 did *not* do this.

m0gley, as you probably know I run all my servers on FreeBSD as you are...

When running a no metamod server I do not get any memory leak.

I run linux_base-8 on all servers... FreeBSD 4.X-STABLE... it can run for
month without it eating memory... it sits at aprox 80-90MB after aprox two
weeks of uptime...

On the servers that run metamod and amx I get memoryleaks... I used to run
out of memory within 2-3 days and hlds crashes. sometimes it takes sshd
with it. Those system runs 5.2.1-RELEASE... today it has eaten aprox
300MB. I now restart hlds 05.00 every day.

I dont know if its hlds or if it has something todo with 5.2.1... or if it
is metamod...

I however guess it has something todo with how metamod and hlds operate
together... I did not see the memory leak before february... and I still
use the same metamod and amx version since aprox a year back...

I will soon move to amxx 0.2... I just have to rewrite my plugins first...

/Bjorn

--
There is a cow on my lawn...
brb.


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


Re: [hlds_linux] Memory Leak - Part III - *No Metamod*

2004-08-27 Thread Michael McKoy
Both CS 1.6 and CZ exhibit this behavior. I've seen a CZ server,
completely stock, use over 300megs in under 24 hours. It doesn't always
happen so quickly, but the more active a server is, the quicker it occurs.

It has nothing to do with how many maps in the cycle or even which maps,
it always occurs overtime. I would suspect that the server is either, A,
not deallocating player slots correctly when players disconnect, or B, not
deallocating maps correctly when mapchange occurs. Since it seems to occur
more often when a server is active, I'd suspect A.

> richy wrote:
>
>> Cron restart your server every morning.
>> Doesn't fix it but it is a fix for it. (If you get my meaning)
>
> You think i don't do this now?  C'mon think a little harder than this.
> The purpose of this email is so I *don't* have to do this anymore.
>
> --
> - m0gely
> http://quake2.telestream.com/
> Q2 | Q3A | Counter-strike
>
> ___
> 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


Re: [hlds_linux] Memory Leak - Part III - *No Metamod*

2004-08-27 Thread m0gely
kkith wrote:
I would suggest, running hlds without metamod until you run out of main
memory and see what happens.
What would be the purpose in this?  It's eating memory it should not.
IF the case is that the allocated memory is being used for caching
purposes (like map information)
First of all its a 1 map server.
Second when this same server was 1.5 this did not occur.
CS 1.6 server Iceworld 24/7 - 12 player
Mods: NONE. No metamod, NOTHING
Mem usage: 164M after *24 hours* (from 65M at startup)
Player connections: 1075
Now using 222M of memory.  Remember, only 1 map!
stats
CPU   InOut   Uptime  Users   FPSPlayers
 0.00 12.98 14.802774  1778  100.01   5
This *same* server running 1.5 did *not* do this.
--
- m0gely
http://quake2.telestream.com/
Q2 | Q3A | Counter-strike
___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] problem starting source

2004-08-27 Thread John
Thanks I have been afraid to update my glibc



On Fri, 27 Aug 2004 07:36:30 -0400, D. Batastini <[EMAIL PROTECTED]> wrote:
> I had this same problem, I ended up updating my glibc to the newest version,
> deleting the entire Source Content, and using an up to date steam binary to
> grab it again. I'm not sure what one of those things fixed the problem but,
> give 'em a try.
>
> DAB
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of John
> Sent: Thursday, August 26, 2004 7:13 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [hlds_linux] problem starting source
>
> ../steam -command update -game "Counter-Strike Source" -dir
> /usr/local/games/source -username [EMAIL PROTECTED] -password xxx
>
> On Thu, 26 Aug 2004 18:48:20 -0400, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > How did you dl the source files?
> >
> > --John
> >
> >
> >
> > - Original Message -
> > From: "John" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 26, 2004 4:45 PM
> > Subject: Re: [hlds_linux] problem starting source
> >
> > > I do not see srcds_run and when I try to execute it I get No such file
> > > or directory
> > >
> > >
> > >
> > > On Thu, 26 Aug 2004 16:22:28 -0400, [EMAIL PROTECTED]
> > > <[EMAIL PROTECTED]> wrote:
> > > > That line isn't to run source. That is to run cs 1.6
> > > >
> > > > To run source you have to execute ./srcds_run -game cstrike (then all
> > your
> > > > options)
> > > >
> > > > Hope that helps.
> > > >
> > > > --John
> > > >
> > > >
> > > >
> > > > - Original Message -
> > > > From: "John" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Thursday, August 26, 2004 3:49 PM
> > > > Subject: [hlds_linux] problem starting source
> > > >
> > > > > Sorry im not to bright I dont no what this error means
> > > > >
> > > > > I downloaded source but when I try to run the server i get this
> error
> > > > >
> > > > > ./hlds_run -game cstrike +port 27017
> > > > >
> > > > > [EMAIL PROTECTED] source]$ ./hlds_run -game cstrike +port 27017
> > > > >
> > > > > Auto detecting CPU
> > > > > Using Pentium II Optimised binary.
> > > > > Auto-restarting the server on crash
> > > > >
> > > > > Console initialized
> > > > > scandir failed:/usr/local/games/source/./valve/SAVE
> > > > > scandir failed:/usr/local/games/source/./platform/SAVE
> > > > > Protocol version 47
> > > > > Exe version 1.0.0.5/stdio (cstrike)
> > > > > Exe build: 02:38:31 jul   7 2004  (2738)
> > > > > STEAM Auth Server
> > > > > couldn't exec language.cfg
> > > > > Server IP address xxx.xxx.xxx:27017
> > > > > LoadLibrary failed on ./cstrike/dlls/hl_i386.so:
> > > > > ./cstrike/dlls/hl_i386.so:  cannot open shared object file: No such
> > > > > file or directory
> > > > > Host_Error: Couldn't get DLL API from ./cstrike/dlls/hl_i386.so!
> > > > > FATAL ERROR (shutting down): Host_Error:  Couldn't get DLL API from
> > > > > ./cstrike/dlls/hl_i386.so!
> > > > >
> > > > > ___
> > > > > To unsubscribe, edit your list preferences, or view the list
> archives,
> > > > please visit:
> > > > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> > > > >
> > > > >
> > > > >
> > > > > __ NOD32 1.850 (20040825) Information __
> > > > >
> > > > > This message was checked by NOD32 antivirus system.
> > > > > http://www.nod32.com
> > > > >
> > > > >
> > > >
> > > > ___
> > > > 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
> > >
> > >
> > >
> > > __ NOD32 1.850 (20040825) Information __
> > >
> > > This message was checked by NOD32 antivirus system.
> > > http://www.nod32.com
> > >
> > >
> >
> > ___
> > 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
>
> ___
> 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


Re: [hlds_linux] Memory Leak - Part III - *No Metamod*

2004-08-27 Thread m0gely
richy wrote:
Cron restart your server every morning.
Doesn't fix it but it is a fix for it. (If you get my meaning)
You think i don't do this now?  C'mon think a little harder than this.
The purpose of this email is so I *don't* have to do this anymore.
--
- m0gely
http://quake2.telestream.com/
Q2 | Q3A | Counter-strike
___
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Memory Leak - Part III - *No Metamod*

2004-08-27 Thread kkith
I have the same problems with my 1.6 servers.  However, I have not ran
the server without metamod.
Are we sure it is a memory leak?  Is it possible that hlds does allocate
memory and uses it as some sort of cache?
I would suggest, running hlds without metamod until you run out of main
memory and see what happens.
IF the case is that the allocated memory is being used for caching
purposes (like map information), it shouldn't be a problem IF the coders
of hlds ensure that the game engine code stays in main memory.  A way to
confirm this would be to allow hlds to use up all your memory and let it
start hitting swap.  Once you know it is hitting swap, check to see what
the latency becomes for all players in the server, if the server keeps
the same latency, then it isn't a problem (until you run out of swap)
for game play.  But, if everyone's ping skyrockets once your hitting the
swap partition, then that means the the net code/engine code and/or the
engine/net code data is being swapped, which is definitely a memory leak
and should be fixed.
Currently the machine running my servers have:
   total   used   free shared
buffers cached
Mem:  514784 51164031440   8256  95732
-/+ buffers/cache: 407652107132
Swap: 987988 170836817152
with an uptime of...
[EMAIL PROTECTED]:~$ uptime
12:33:34 up 4 days,  3:55,  1 user,  load average: 0.68, 0.70, 0.64
I have a 26 and 21 player server.  And the only users processes on the
machine are hlds.
I played last night on a full server with memory at that usage level and
experienced no problems.
I am using metamod, amx 0.9.9, hlguard, and headshot mod
m0gely wrote:
CS 1.6 server Iceworld 24/7 - 12 player
Mods: NONE. No metamod, NOTHING
Mem usage: 164M after *24 hours* (from 65M at startup)
Player connections: 1075

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


RE: [hlds_linux] Memory Leak - Part III - *No Metamod*

2004-08-27 Thread richy
Cron restart your server every morning.
Doesn't fix it but it is a fix for it. (If you get my meaning)

Regards

Richy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of m0gely
Sent: 26 August 2004 22:18
To: [EMAIL PROTECTED]
Subject: [hlds_linux] Memory Leak - Part III - *No Metamod*

It's been a couple months since I last posted and now I have ran my
server without even Metamod. While the memory usage appears to be a
little better it's still not right.  To recap:

CS 1.5 server Iceworld 24/7 - 12 player
Mods: MM 1.17, AMX 0.9.8a, WebMod .47, HLG 1.52
Mem usage: 310M after *90+ days* of uptime (from 65M at startup)
Player connections: 85k+

The new info:

CS 1.6 server Iceworld 24/7 - 12 player
Mods: NONE. No metamod, NOTHING
Mem usage: 164M after *24 hours* (from 65M at startup)
Player connections: 1075

My server:
AMD MP 2800+ (2)
FreeBSD 4.9

I would like to know why a default hlds/1.6 has gained half the memory
usage of a modded hlds/1.5 in roughly 1/90th of the time.  Also, no the
memory usage keeps rising it doesn't stop.  So, as I said before, it's
*not* AMX, and it's *not* Metamod.  My 1.5 server after a week would be
up to 75M *maybe*. This tells me there is a memory leak.

--
- m0gely
http://quake2.telestream.com/
Q2 | Q3A | Counter-strike

___
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


RE: [hlds_linux] problem starting source

2004-08-27 Thread D. Batastini
I had this same problem, I ended up updating my glibc to the newest version,
deleting the entire Source Content, and using an up to date steam binary to
grab it again. I'm not sure what one of those things fixed the problem but,
give 'em a try.


DAB

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John
Sent: Thursday, August 26, 2004 7:13 PM
To: [EMAIL PROTECTED]
Subject: Re: [hlds_linux] problem starting source

./steam -command update -game "Counter-Strike Source" -dir
/usr/local/games/source -username [EMAIL PROTECTED] -password xxx

On Thu, 26 Aug 2004 18:48:20 -0400, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> How did you dl the source files?
>
> --John
>
>
>
> - Original Message -
> From: "John" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 26, 2004 4:45 PM
> Subject: Re: [hlds_linux] problem starting source
>
> > I do not see srcds_run and when I try to execute it I get No such file
> > or directory
> >
> >
> >
> > On Thu, 26 Aug 2004 16:22:28 -0400, [EMAIL PROTECTED]
> > <[EMAIL PROTECTED]> wrote:
> > > That line isn't to run source. That is to run cs 1.6
> > >
> > > To run source you have to execute ./srcds_run -game cstrike (then all
> your
> > > options)
> > >
> > > Hope that helps.
> > >
> > > --John
> > >
> > >
> > >
> > > - Original Message -
> > > From: "John" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, August 26, 2004 3:49 PM
> > > Subject: [hlds_linux] problem starting source
> > >
> > > > Sorry im not to bright I dont no what this error means
> > > >
> > > > I downloaded source but when I try to run the server i get this
error
> > > >
> > > > ./hlds_run -game cstrike +port 27017
> > > >
> > > > [EMAIL PROTECTED] source]$ ./hlds_run -game cstrike +port 27017
> > > >
> > > > Auto detecting CPU
> > > > Using Pentium II Optimised binary.
> > > > Auto-restarting the server on crash
> > > >
> > > > Console initialized
> > > > scandir failed:/usr/local/games/source/./valve/SAVE
> > > > scandir failed:/usr/local/games/source/./platform/SAVE
> > > > Protocol version 47
> > > > Exe version 1.0.0.5/stdio (cstrike)
> > > > Exe build: 02:38:31 jul   7 2004  (2738)
> > > > STEAM Auth Server
> > > > couldn't exec language.cfg
> > > > Server IP address xxx.xxx.xxx:27017
> > > > LoadLibrary failed on ./cstrike/dlls/hl_i386.so:
> > > > ./cstrike/dlls/hl_i386.so:  cannot open shared object file: No such
> > > > file or directory
> > > > Host_Error: Couldn't get DLL API from ./cstrike/dlls/hl_i386.so!
> > > > FATAL ERROR (shutting down): Host_Error:  Couldn't get DLL API from
> > > > ./cstrike/dlls/hl_i386.so!
> > > >
> > > > ___
> > > > To unsubscribe, edit your list preferences, or view the list
archives,
> > > please visit:
> > > > http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> > > >
> > > >
> > > >
> > > > __ NOD32 1.850 (20040825) Information __
> > > >
> > > > This message was checked by NOD32 antivirus system.
> > > > http://www.nod32.com
> > > >
> > > >
> > >
> > > ___
> > > 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
> >
> >
> >
> > __ NOD32 1.850 (20040825) Information __
> >
> > This message was checked by NOD32 antivirus system.
> > http://www.nod32.com
> >
> >
>
> ___
> 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


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