| View previous topic :: View next topic |
| Author |
Message |
Liquid_Squelch
Joined: 11 Mar 2006 Posts: 56
|
Posted: Thu May 15, 2008 10:37 pm Post subject: Clients Settings in xml file |
|
|
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 |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri May 16, 2008 12:13 am Post subject: |
|
|
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 |
|
 |
Liquid_Squelch
Joined: 11 Mar 2006 Posts: 56
|
Posted: Fri May 16, 2008 1:35 am Post subject: |
|
|
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 |
|
 |
Liquid_Squelch
Joined: 11 Mar 2006 Posts: 56
|
Posted: Fri May 16, 2008 2:24 am Post subject: |
|
|
Also -
Does it matter that Icecast isn't running as a windows service? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri May 16, 2008 11:46 am Post subject: |
|
|
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 |
|
 |
|