View previous topic :: View next topic |
Author |
Message |
ralawa
Joined: 12 Aug 2008 Posts: 7
|
Posted: Tue Jan 04, 2011 9:09 am Post subject: Number of icecast process is increasing |
|
|
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 |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jan 04, 2011 3:02 pm Post subject: |
|
|
do you use the reload facility (ie send HUP signal) a lot?
karl. |
|
Back to top |
|
|
ralawa
Joined: 12 Aug 2008 Posts: 7
|
Posted: Tue Jan 04, 2011 3:23 pm Post subject: |
|
|
I use SIGHUP one time per day for logs rotations and sometimes to apply new configuration. |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Jan 04, 2011 3:27 pm Post subject: |
|
|
there is a thread leak with auth over reload, maybe that is what you are seeing?
karl. |
|
Back to top |
|
|
ralawa
Joined: 12 Aug 2008 Posts: 7
|
Posted: Tue Jan 04, 2011 4:49 pm Post subject: |
|
|
Maybe, but what can I do to avoid this leak?
--
Eric |
|
Back to top |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
|
Back to top |
|
|
|