Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   Increasing connections while server is running? (http://forums.winamp.com/showthread.php?t=258789)

Greg_E 2nd November 2006 17:51

Increasing connections while server is running?
 
I tried a quick search, but either didn't find what I'm looking for, or I used a poor choice of keywords.

Here's what I need help with...

At school we have a connection that is mostly tapped out during the day, and mostly empty at night. So I would like to be able to run with only a few connections (200?) during the day, and then increase to 1000 or more at night, and then go back to only a few connections the next day. I could do this with a scheduled task by killing the first server, and starting the second, and the opposite in the morning, but that would require disconnecting any current listeners.

What I would like to be able to do is simply increase the number of permitted connections at the correct time, and then decrease that at another time. Is there an easy way to do this? Do I need to set up a relay server to handle this, and can I use the same computer to run both the primary and relay servers?

I'm running on win2000 server with sp4 installed and I have the incoming stream on one NIC, and the outgoing stream on a second NIC with a different IP (this bridges the intranet to the internet and helps prevent anyone from hijacking my shoutcast server). I am using the AAC+ codec from Orban's Opticodec. The computer is a Via Epia EK10000 with a 1Ghz C7 processor(Luke core) and 512MB ram and misc. hard disk. Live content is all this machine will be doing. Encoding is handled on a different machine.

Thanks, Greg.

NJK 2nd November 2006 18:04

why not start up a relay server at a certain time, this requires alsmost nothing of resources and won't disconnect the current listeners.

i run a relay server and if i connect or disconnect it won't do anything to the main server.

Greg_E 2nd November 2006 18:11

Can I run the relay on the same computer, or does it need to be a separate computer?

NJK 2nd November 2006 18:15

that's up to you
i run it on a separate computer
within the same network

Greg_E 2nd November 2006 18:41

OK thanks, that gives me a direction to go in. I'll do some reading on setting up a relay server and see if I can get this to work. Some of the reasons to run it on the same box have to do with the politics of dealing with our IT department. In other words, it would be easier to open a few extra ports than it would be to connect a second computer.


All times are GMT. The time now is 13:53.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.