Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ezstream spawns into several processes

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
Anonymous
Guest





PostPosted: Wed Aug 22, 2007 3:46 pm    Post subject: ezstream spawns into several processes Reply with quote

I pipe a stream from stdout to lame to ezstream and run that from a start script derived from skeleton.

It all runs fine for a while, but then the ezstream process seems to multiply into several instances, all of them appearing in top.

Why does ezstream multiply like that?

How can I prevent it from doing so?

Thanks and cheers,
Konrad
Back to top
Anonymous
Guest





PostPosted: Fri Aug 31, 2007 6:56 pm    Post subject: Reply with quote

That's how ezstream works -- it creates new processes that run the external utilities that have been configured in the <encdec/> sections.

Once the external utility is finished doing its job, like decoding a file, the extra process should terminate and be "collected" by ezstream ... the result is that there are (should!) never be more than 3 (5, when playlist and metadata programs are being used) simultaneous processes belonging to a single instance of ezstream.

If you're observing ezstream spawning more and more processes over time until it crashes, because the OS won't allow it to spawn any more, then there's a problem. Not sure what it might be, I'm pretty certain I would've noticed that myself ... maybe a broken popen()/pclose() implementation? Anyways, if that is the case, a lot more information is required -- please read http://www.icecast.org/ezstream.php#ez_support for details. I'd need to understand/reproduce the issue.


Moritz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber