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 

Clients Settings in xml file

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



Joined: 11 Mar 2006
Posts: 56

PostPosted: Thu May 15, 2008 10:37 pm    Post subject: Clients Settings in xml file Reply with quote

I've been running the Windows version of 2.3.1 for a while now.
Just recently the server has been crashing quite a bit.

Today, it crashed on me 4 times - which is probably what it does in an entire month at most..

I've recently added my 15th stream to my server. All streams are 16kpbs with 16000 sample rate.

Before, I had my "clients" setting in the xml file set to 200.
Last time it crashed, I noticed in the debug that it was maxed out, so I set my clients to 500.
Six hours later, I've crashed again, because I'm trying to add client 501.

What is causing my clients to skyrocket?? What exactly IS a client?

If I have 15 streams - 10 max users a piece, that would really only leave me 15streams*10users = 150 .... 150 + 15 connect streams = 165 total clients.

Why Am I going up and above 500??

Now I've set it to 1000 to see how long that keeps things alive... I guess I need to know what I SHOULD be setting that value to.

Also, jsut to try - I've changed my threadpool from 5 to 10 to see if that makes a difference.

Below is a snap of my error.log file


Code:

[2008-05-15  18:22:21] DBUG fserve/fserve.c Adding client to file serving engine
[2008-05-15  18:22:22] DBUG stats/stats.c update node clients (501)
[2008-05-15  18:22:22] DBUG stats/stats.c update node clients (500)
[2008-05-15  18:22:23] DBUG stats/stats.c update node total_bytes_read (44489024)
[2008-05-15  18:22:23] DBUG stats/stats.c update node total_bytes_sent (34347362)
[2008-05-15  18:22:23] WARN client/client.c server client limit reached (500/501)
[2008-05-15  18:22:23] DBUG fserve/fserve.c Adding client to file serving engine
[2008-05-15  18:22:23] WARN client/client.c server client limit reached (500/502)
[2008-05-15  18:22:23] DBUG fserve/fserve.c Adding client to file serving engine
[2008-05-15  18:22:23] DBUG stats/stats.c update node clients (501)
[2008-05-15  18:22:23] DBUG stats/stats.c update node clients (502)
[2008-05-15  18:22:24] DBUG stats/stats.c update node clients (501)
[2008-05-15  18:22:24] DBUG stats/stats.c update node clients (500)
[2008-05-15  18:22:24] DBUG stats/stats.c update node total_bytes_read (44392600)
[2008-05-15  18:22:24] DBUG stats/stats.c update node total_bytes_sent (713846)
[2008-05-15  18:22:24] DBUG stats/stats.c update node total_bytes_read (44475120)
[2008-05-15  18:22:24] DBUG stats/stats.c update node total_bytes_sent (0)
[2008-05-15  18:22:24] WARN client/client.c server client limit reached (500/501)
[2008-05-15  18:22:24] DBUG fserve/fserve.c Adding client to file serving engine
[2008-05-15  18:22:24] DBUG stats/stats.c update node total_bytes_read (44499528)
[2008-05-15  18:22:24] DBUG stats/stats.c update node total_bytes_sent (98717)
[2008-05-15  18:22:24] DBUG stats/stats.c update node clients (501)
[2008-05-15  18:22:24] DBUG stats/stats.c update node clients (500)
[2008-05-15  18:22:25] DBUG stats/stats.c update node total_bytes_read (111392400)
[2008-05-15  18:22:25] DBUG stats/stats.c update node total_bytes_sent (104392519)
[2008-05-15  18:22:25] DBUG stats/stats.c update node total_bytes_read (44469144)
[2008-05-15  18:22:25] DBUG stats/stats.c update node total_bytes_sent (15449096)
[2008-05-15  18:22:25] DBUG stats/stats.c update node total_bytes_read (44469288)
[2008-05-15  18:22:25] DBUG stats/stats.c update node total_bytes_sent (95903953)
[2008-05-15  18:22:26] DBUG stats/stats.c update node total_bytes_read (44499000)
[2008-05-15  18:22:26] DBUG stats/stats.c update node total_bytes_sent (266707252)
[2008-05-15  18:22:26] DBUG stats/stats.c update node total_bytes_read (107706218)
[2008-05-15  18:22:26] DBUG stats/stats.c update node total_bytes_sent (76407058)
[2008-05-15  18:22:27] WARN client/client.c server client limit reached (500/501)
[2008-05-15  18:22:27] DBUG fserve/fserve.c Adding client to file serving engine
[2008-05-15  18:22:27] WARN client/client.c server client limit reached (500/502)
[2008-05-15  18:22:27] DBUG fserve/fserve.c Adding client to file serving engine
[2008-05-15  18:22:27] DBUG stats/stats.c update node clients (501)
[2008-05-15  18:22:27] DBUG stats/stats.c update node clients (502)
[2008-05-15  18:22:27] DBUG stats/stats.c update node clients (501)
[2008-05-15  18:22:27] DBUG stats/stats.c update node clients (500)
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri May 16, 2008 12:13 am    Post subject: Reply with quote

The client is an external application trying to connect in (eg listener, source, relay, web etc), as to why you have more than you expect I don't know, does the access log show anything unusual.

Seeing that you have a fair number of streams I'd suggest trying out the trunk/kh code as a buffer overrun could be affecting the windows build. You can get either windows build from my web site.

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



Joined: 11 Mar 2006
Posts: 56

PostPosted: Fri May 16, 2008 1:35 am    Post subject: Reply with quote

Thanks Karl.
I've updated. Any docs on some of the new file tags in the xml?
I noticed a small amount of changes.

Ex, admin e-mail, location, and server description.

Hopefully we'll find out with in the next two hours how the server holds up.

Thanks again for the help..
Back to top
View user's profile Send private message
Liquid_Squelch



Joined: 11 Mar 2006
Posts: 56

PostPosted: Fri May 16, 2008 2:24 am    Post subject: Reply with quote

Also -
Does it matter that Icecast isn't running as a windows service?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri May 16, 2008 11:46 am    Post subject: Reply with quote

No, personally I'm not a fan of the GUI app (mind you the windows service is not that flexible) as it is next to useless but there were some fixed limits since 2.3.1 which could of been breached. Also the latest build includes more updated versions of the dependent libs (libxml2 etc) so that should help.

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 -> Icecast Server 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