Eric (Deacon) writed (at Tue, Jul 23, 2002 at 11:42:52PM -0500):
> > Anyone else having this problem? If you are running linux, perhaps you
> > should check top(1) and see if ``memory used'' is slowly creeping up.
>
> It does.  BUT, swap usage stays at 0MB.  It seems like the old
> information is just never tossed out till something new elbows its way
> to the forefront :)

hlds has no say in what gets swapped; that's entirely up to the
kernel.

  PID  NI  SIZE  RSS SWAP %CPU COMMAND
17713  -2  101M 101M   24  0.0 ./hlds -game cstrike -port 27016 -pingboost 2
14566  -1 82280  77M 3340  8.6 ./hlds -game cstrike -port 27017 -pingboost 2

I've only been saying this since hmm.. around the time of CS 1.0?
Maybe 1.1?  Hell, maybe earlier?  hlds processes before that used
about 35-40M and stayed that way forever.  Somewhere around there,
something was changed, and now there's definitely some leak, because
they just *keep growing* .. 200M, 250M, etc..

Some people on this list have said that their hlds processes still
stay around 40M.  I don't know what to say to that; I just can't see
it.  One in particular told me exactly what version of glibc (the
only lib that hlds links to), and I downloaded the RPM (I don't even
use redhat), unpacked it, built a chroot environment, and ran hlds in
that, and it *still* chewed up the memory.

I was, prior to this past Saturday, always running on Debian (potato
long ago, woody recently), but have since then switched to gentoo, and
the memory usage has remained the same.  This is not healthy.. I don't
have other programs eating up memory in the same fashion..

I've yet to ever get a response from Valve about this, though..  I
don't know if they just don't care or if they just don't realize how
much effort some of us out here are willing to put in to help find and
squash the bug(s).

--
-- Casey Zacek (Zippo)
   Beer for Breakfast servers        <http://bfb.bogleg.org/>
   209.41.98.2:27016 (CS multi-map)   209.41.98.2:27015 (DoD)
   209.41.98.2:27017 (CS militia/dust2)            Dallas, TX
_______________________________________________
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