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 

Icecast 2.3.2-kh28 - wrong client count?

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



Joined: 08 Dec 2010
Posts: 15
Location: France

PostPosted: Fri Dec 17, 2010 3:41 pm    Post subject: Icecast 2.3.2-kh28 - wrong client count? Reply with quote

Hello,

It seems that I'm running out of luck this month Sad
It seems there is a problem with the way client are counted by icecast:
- I set up my icecast limits like this:
Code:
<clients>32768</clients>
<sources>512</sources>

- my sysctl allows up to 786432 opened files
- I also have this in my /etc/security/limits.conf:
Code:
*   -   nofile   786432


There were about 1700 TCP connection on my server, but icecast was refusing new connections:
Code:
[2010-12-15  07:52:18] WARN connection/_handle_get_request server client limit reached (32768/32769)


Another time, there were around 37000 TCP connections on my servers, but from the icecast point of view, there were 52000 connections on my servers.

Strange isn'it?
_________________
Guillaume
Back to top
View user's profile Send private message MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Dec 17, 2010 4:14 pm    Post subject: Reply with quote

I do log the actual limit in the error log but you can verify the actual process limits with cat /proc/<pid>/limits.

It is certainly possible that I have caused a client leak in the build you are using which is why getting as much information as possible helps. To reach 32k though does require something repeating a lot if it is a client leak so what occurs that frequently in your setup?

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



Joined: 08 Dec 2010
Posts: 15
Location: France

PostPosted: Fri Dec 17, 2010 4:38 pm    Post subject: Reply with quote

Process limits are OK in the /proc/<pid>/limits...
This problems occurs every 2 or 3 days, always at night or in the morning, when the traffic is low...
_________________
Guillaume
Back to top
View user's profile Send private message MSN Messenger
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