Got exception on method playStream

AlanM

Member
Recently we ran into some instability with our flashphoner server. The server was running smoothly and serving a handful of streams to some WebRTC clients when suddenly it stopped accepting new connections. The admin interface also stopped responding. To resolve the issue, we stopped webcallserver, reset the manager database, and started webcallserver. Upon futher inspection of the logs we found the following errors.

Got exception on method StreamStatusEvent
Got exception on method ConnectionStatusEvent
Got exception on method StreamTranscodingGroupEven
Got exception on method connect
Got exception on method playStream

WebCallServer version: 0.5.25.2455
WebRTC API Client Version: flashphoner-api-0.5.25.2455-335da5248e43d2a81b7a3c2da10eefe34d48ff0e

Is there a known resolution to this issue?
 

Max

Administrator
Staff member
More information required
- did server process continue running after the server stopped responding
Code:
ps aux | grep java
did it display two processes – for manager and server?
- was there an error*.log in WCS_HOME/logs
- did Out of Memory issue occur (it could be recorded in /var/log/messages)
- WCS server version

WebCallServer version: 0.5.25.2455
This is client version. Server version is e.g. 5.0.2563 as in the name of the directory FlashphonerWebCallServer-5.0.2643, also recorded in WCS_HOME/conf/WCS.version.
 

AlanM

Member
More information required
- did server process continue running after the server stopped responding
Code:
ps aux | grep java
did it display two processes – for manager and server?
- was there an error*.log in WCS_HOME/logs
- did Out of Memory issue occur (it could be recorded in /var/log/messages)
- WCS server version


This is client version. Server version is e.g. 5.0.2563 as in the name of the directory FlashphonerWebCallServer-5.0.2643, also recorded in WCS_HOME/conf/WCS.version.
I have htop running and it was showing multiple processes related to flashphoner. I'm not sure if both manager and server processes were included in the process list.
Nothing in the error*.log in WCS_HOME/logs
I did not see any memory issues in messages. The instance has 16GB and there were less than 100 users connected at the time (Memory usage is usually less than 20%)
WCS_HOME/conf/WCS.version shows version 5.0.2570
 

Max

Administrator
Staff member
Hello,

There was 'out of memory' issue.
Try increasing memory for manager process using option -Xmx in WCS_HOME/conf/wcs-manager.properties.
The default value is 512M. Change it, e.g. to
Code:
-Xmx1024M
or to a greater value
Code:
-Xmx2G
 
Top