[icecast] Ices memory leak?

Brendan Cully brendan at icecast.org
Mon Sep 10 20:00:26 UTC 2001

On Monday, 10 September 2001 at 12:45, Jason Mansfield wrote:
> Is anyone else experiencing what seems to be a memory
> leak with Ices? I can have icecast up and running with
> WinAmp streaming to it from my '98 box for days at a
> time with no problem. As soon as I start Ices I'll
> launch top to watch and my free mem starts dropping
> -fast-. Starting from about 160MB free, in 4-5 hours I
> have 2MB free with Ices crashed and the memory
> unrecovered which sends me to the wonderful world of
> init 6.
>    I thought this was maybe that I was just running
> ices 0.2.2 so I switched to ices 0.1.0 and have the
> same symptom.
>    I'm using:
>     -PII 233MHz 224MB RAM ~400MB Swap
>     -RedHat 7.1
>     -lame 3.89b from source
>     -icecast 1.3.1 from source
>     -ices 0.1.0/0.2.2 from source
>    Because this only seems to happen when I used Ices,
> I can only figure that it's caused by Ices, lame, or
> one of their required libraries. Any ideas?

I've run ices on debian sid, kernel 2.4.9, reencoding two streams,
running for weeks. Right now it's only been up for about 3 days (changed
my playlist config), but top reports ices using 4 MB total, and free
says this:

             total       used       free     shared    buffers     cached
Mem:        191320     188236       3084          0 	  1200     168720
-/+ buffers/cache:      18316     173004
Swap:       184708      13164     171544

this is with 0.2.2, but I've never had any memory-leak problems. I'm
running against shoutcast at the moment, but I doubt that would make a

Check free and make sure it's not just the filesystem gobbling cache as
it reads mp3s off your disk.


--- >8 ----
List archives:  http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Icecast mailing list