Unexpected server crashes

Azhar Ali

Member
Hi,
Recently, we have been experiencing issues where flashphoner service stops running and demo site stops responding too.
When i run this
service webcallserver stop
i get the message no such process found.
Running service webcallserver start resolves the issue.

Anyway I can check why it stops? there is hardly any load on the server, we are just testing our app.
 

Max

Administrator
Staff member
Good day.
What version of WCS and Linux distribution do you use?
If this is not the latest version of WCS (5.2.158), please update to the newest version of the WCS to continue testing.

Please prepare this files and send to support@flashphoner.com, we will check:
1. Server system messages: /var/log/messages or /var/log/syslog
2. Crash log file: WCS_HOME/logs/error [PID].log
2. WCS log files: WCS_HOME/logs/server_log/
3. WCS configuration files: WCS_HOME/conf/
 
Last edited:
Hi, i have same problem. I've installed the FlashPhoner on a WHM Server with CPanel.

I've set all open ports in firewall as described here: https://flashphoner.com/what-firewall-and-nat-rules-should-be-used-with-wcs/

I succeed in seeing the login page - after i login i can surf the page for 1min (even less) and then process is killed (demo panel stops working).
When i run: ./shutdown.sh it says:
./webcallserver: line 249: kill: (7097) - No such process

so i start it over and over again but it crashes.

Attached are logs (under logs.zip):
1. gc-core-2021-01-28_13-15.log
2. startup.log
2. flashphoner-client-logs.log
3. flashphoner.log

I've noticed this log:
14:18:05,960 INFO AudioResamplerBuffer - AudioDistributor-opus-d84d83a0-6162-11eb-b10b-0d7dd4d5f052 Increase capacity of buffer to 23040
14:18:31,763 INFO WCS4CallbackHandler - VideoProcessor-d84d83a0-6162-11eb-b10b-0d7dd4d5f052 notifyVideoFormat format: VideoFormat{playerVideoWidth=null, playerVideoHeight=null, streamerVideoHeight=240, streamerVideoWidth=320, playerMinBitrate=0, playerMaxBitrate=0, streamerBitrate=0, quality=0}; user - m00q7sm13umdlaovj915qbkhck@null
14:18:32,077 INFO Dumper - Thread-41 Jstack execution..
14:18:35,122 INFO Dumper - Thread-41 Jstack is done with exit code 127. Location:/usr/local/FlashphonerWebCallServer/logs/DistributorDump_0.jstack
14:18:35,149 INFO Dumper - Thread-41 Destroying process java.lang.UNIXProcess@146a3b08

somthing with "Jstack execution".

I'd like to understand why it's crashing.

Thank you,
Eyal Klein
 

Attachments

Last edited:

Max

Administrator
Staff member
Hello

Check

Code:
tail -n 1000 /var/log/messages
Server process can be killed by Out Of Memory error if not enough physical RAM on the server.
In such a case server will be terminated by Linux system without any crash logs.
 
Hey, you mean something like this?

Jan 28 16:00:56 91-202-169-54 kernel: Out of memory: Kill process 23640 (java) score 147 or sacrifice child
Jan 28 16:00:56 91-202-169-54 kernel: Killed process 23640 (java), UID 992, total-vm:3333592kB, anon-rss:149192kB, file-rss:0kB, shmem-rss:0kB

what are the min. RAM and CPU needed for FlashPhoner to run ?
 
Top