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?
Jason Mansfield
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
--- >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@xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is
needed.
Unsubscribe messages sent to the list will be ignored/filtered.
I've never had a problem with memory use and ices, though your 4-5 hour
crash problem is most likely the fault of the mpg library, as it will
choke on bad frames within an MP3, or if there is a "possible id3v2"
header, causing ices to crash.  There is a handy app called mp3_check that
checks for such things.
http://freshmeat.net/projects/mp3_check/
i have written a python script to recursively look through a directory of
MP3s and find the baddies in the stack. it is attached. it uses mp3_check,
so go and get it.
to find the last file that ices attempted to play, just "tail
/tmp/ices.log.xxx" where xxx is the pid ("cat /tmp/ices.pid")
.oOo.oOo.o..o.oOo.oOo.
      Ben Wilson
admin -- thelocust.org
  ben@thelocust.org
'OoO'OoO'O''O'OoO'OoO'
On Mon, 10 Sep 2001, 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?
> 
> Jason Mansfield
> 
> __________________________________________________
> Do You Yahoo!?
> Get email alerts & NEW webcam video instant messaging with Yahoo!
Messenger
> http://im.yahoo.com
> 
> --- >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@xiph.org'
> containing only the word 'unsubscribe' in the body.  No subject is
needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
> 
<HR NOSHADE>
<UL>
<LI>TEXT/PLAIN attachment: mp3checker.py
</UL>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mp3checker.py
Type: application/octet-stream
Size: 1866 bytes
Desc: not available
Url :
http://lists.xiph.org/pipermail/icecast/attachments/20010910/7366c6ed/mp3checker.obj
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 difference. Check free and make sure it's not just the filesystem gobbling cache as it reads mp3s off your disk. -Brendan --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Okay, you got it. Sky = falling. The cache is varying inversely with free mem. I suppose the question begs to be asked, "Why must I try to tweak things when I first roll out of bed?" Thanks for the "look at what's in front of you, dummy" kick in the head. We all need it sometimes I guess. Jason> > 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 > difference. > > Check free and make sure it's not just the > filesystem gobbling cache as > it reads mp3s off your disk. > > -Brendan > > --- >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@xiph.org' > containing only the word 'unsubscribe' in the body. > No subject is needed. > Unsubscribe messages sent to the list will beignored/filtered. __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.