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 

Number of icecast process is increasing

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
ralawa



Joined: 12 Aug 2008
Posts: 7

PostPosted: Tue Jan 04, 2011 9:09 am    Post subject: Number of icecast process is increasing Reply with quote

Hi,

I am using Icecast 2.3.2 with URL authentication. I can accept or reject clients based on the player user agent but I have found that with URL authentication the number of icecast process is increasing. "ps aux | grep icecast | wc -l" tells me that I have 600 of icecast process. When I deactivate URL authentication the number of process does not increase.

I add these lines to the mountpoints to enable URL authentication:

Code:

<authentication type="url">
<option name="listener_add" value="http://xxx/auth.php"/>
<option name="auth_header" value="icecast-auth-user: 1"/>
</authentication>


Is it a known bug?

Regards,
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 04, 2011 3:02 pm    Post subject: Reply with quote

do you use the reload facility (ie send HUP signal) a lot?

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ralawa



Joined: 12 Aug 2008
Posts: 7

PostPosted: Tue Jan 04, 2011 3:23 pm    Post subject: Reply with quote

I use SIGHUP one time per day for logs rotations and sometimes to apply new configuration.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 04, 2011 3:27 pm    Post subject: Reply with quote

there is a thread leak with auth over reload, maybe that is what you are seeing?

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ralawa



Joined: 12 Aug 2008
Posts: 7

PostPosted: Tue Jan 04, 2011 4:49 pm    Post subject: Reply with quote

Maybe, but what can I do to avoid this leak?

--
Eric
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Jan 04, 2011 6:27 pm    Post subject: Reply with quote

I've uploaded a tarball from the current trunk code, that should resolve the issue. Let me know of any issues, basically 2.3.2 with a few fixes.

www.xiphicecast.webspace.virginmedia.com/icecast-trunk.tar.gz

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Bug Reports 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