EMS automatic restarts em change processes and logs files

Support ForumCategory: Usage and FeaturesEMS automatic restarts em change processes and logs files
cesar1o Member asked 2 months ago

Dear,
I have a problema with restarts of evostreamms process that aways happen on six to six hours exactly. I try reduce level of the logs and try make greats files of logs with 2Gb, thinking that was prevent this comportament.
I put this parameters, in config.lua and webconfig.lua:
logAppenders={

level=2
fileLength=2*1024*1024*1024 (2Gb)
…}
Question:
It is possible the control of this time of restart automatic, on parameters of the config files?
I’m using RHEL 7.4 en EMS 1.7.1 build 4491 as back-end and Nginx Web-server as HLS front-end.
I’m making audio and video stream from FMEL 3.2 and Matrox, and this restart (change pid and file log) exactly of six hour recursively is the cause of dropping the streamings HLS on front-end Nginx.
The error on Nginx is like this, on these moments:
2018/10/18 04:00:02 [error] 21157#21157: *50239391 connect() failed (111: Connection refused) while connecting to upstream, client: ::1, server: stream1.sgr.
globo.com, request: “GET /hls/aCBNSP/aCBNSP.m3u8 HTTP/1.1”, upstream: “http://10.129.16.26:80/autoHLS/aCBNSP/aCBNSP.m3u8”, host: “backend”
When the nginx dont get the files of EvoStream from back-end.