Page 1 of 1

Incorrect # of servers started.

Posted: 10 Jul 2014 23:06
by hdradio
Is that normal to show 3 streaming servers started, when I have only two configured ?
2014-07-10 23_58_28.jpg
2014-07-10 23_58_28.jpg (19.03 KiB) Viewed 5905 times

Re: Incorrect # of servers started.

Posted: 10 Jul 2014 23:36
by radio42
What does it show, if you call 'Stop All Servers' and user 'Start All Servers' again?!

However, that is not normal and indicates, that you might have previously tried to stop and restart a server, but that there is still a 'living dead' server instance existing somewhere in the background.
This can only happen, if the server connection (to your ICEcast server) was closed/terminated successfully; but the underlying encoder process is still running and could not be terminated propperly.
ProppFrexx uses external encoders (3rd party tools) for encoding data, which are being started as a separate process. Unfortunately those tools typically are unable to tell why they couldn't be stopped correctly.
It might also only be a 'positive false', meaning I tried to terminate the encoder process, which indicated that it is still running; but in fact it terminated itself somewhere later.

To inspect the real reason you might open the task manager and see, how many encoder processes there are 'still' running. Not sure which encoders you are using/have configured. Probably lame.exe and fhgaacenc.exe. So take a look if any of these exist twice in your process list.
If they only exist once; then the number displayed is incorrect. In that case it is the 'false positive' I talked about, as I just decrease the number with a successful return value of the encoder process.

So please monitor this case. Normally this should not happen!
And so far I have rarely seen it. And where I have seen it, it has all been 'false positives' which sometimes occurred.
What I assume is, that sometimes either lame.exe and fhgaacenc.exe kind of 'crash' when you try to gracefully shut them down. As such they do not report their graceful termination and as such I do not decrease the number. However I have decided to not further investigate the case, as they are rare and harmless and in the end I can not do much about it. I still decided to keep that number of started servers as a good indicator for such cases.

Re: Incorrect # of servers started.

Posted: 10 Jul 2014 23:47
by hdradio
In task manager I saw two instances of fhgaacenc.exe which is normal because I automatically record also my whole program.
Maybe this is the reason why there is +1 number of servers started.

Re: Incorrect # of servers started.

Posted: 11 Jul 2014 00:06
by radio42
No, the server number does count encoder instances.
The server number is increased with a successful start of a server (encoder and server connection) and decreased with a successful termination (of server connection and encoder).

As such if there aren't left over encoder processes in the task manager it is a 'false positive' and the encoder returned to me 'not terminated' - but in fact it did somewhere after, but unattended by me...