Question / Help OBS disconnects from NGINX on Ubuntu 16.04 after a few seconds

sneaky4oe

Member
I've reinstalled my server - it used to be on a slow hard drive, now it's on a fast but small ssd.
This is basically the only thing that changed, my whole config is recorded and was working fine in the past, yet now I can't stream to this server for longer than 10 seconds (bitrate is 95000 kbit, ethtools shows it's on 1000Mb/s with Full Duplex).
Are there any ideas why this may be happening?
 

sneaky4oe

Member
OBS log:
https://hastebin.com/juripucoke

Same happens on x264.

Nginx logs:
sneakyjoe@restreamer:/usr/local/nginx/logs$ cat error.log
2018/05/17 03:20:57 [error] 11430#0: *1 open() "/usr/local/nginx/html/favicon.ico" failed (2: No such file or directory), client: 192.168.0.33, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "192.168.0.55", referrer: "http://192.168.0.55/"
2018/05/17 03:32:33 [notice] 1324#0: signal process started
2018/05/17 03:34:47 [error] 1329#0: *1 live: drop idle publisher, client: 192.168.0.33, server: 0.0.0.0:1935
2018/05/17 03:34:47 [error] 1329#0: *3 live: drop idle publisher, client: 127.0.0.1, server: 0.0.0.0:1935
2018/05/17 03:34:47 [alert] 1329#0: unknown process 1662 exited on signal 9
2018/05/17 03:34:47 [alert] 1329#0: unknown process 1661 exited on signal 9
2018/05/17 03:48:04 [notice] 3352#0: signal process started
2018/05/17 03:48:45 [error] 3357#0: *1 live: drop idle publisher, client: 192.168.0.33, server: 0.0.0.0:1935
2018/05/17 03:48:45 [alert] 3357#0: unknown process 3359 exited on signal 9
2018/05/17 03:50:19 [notice] 1313#0: signal process started
2018/05/17 03:50:22 [notice] 1321#0: signal process started
2018/05/17 03:50:51 [alert] 1325#0: unknown process 1460 exited on signal 9
2018/05/17 03:51:15 [notice] 1466#0: signal process started
2018/05/17 03:51:40 [error] 1470#0: *1 live: drop idle publisher, client: 192.168.0.33, server: 0.0.0.0:1935
2018/05/17 03:51:40 [alert] 1470#0: unknown process 1604 exited on signal 9
2018/05/17 03:51:46 [notice] 1607#0: signal process started
2018/05/17 03:53:55 [notice] 1619#0: signal process started
2018/05/17 03:54:19 [error] 1623#0: *1 live: drop idle publisher, client: 192.168.0.33, server: 0.0.0.0:1935
2018/05/17 03:58:32 [error] 1623#0: *3 live: drop idle publisher, client: 192.168.0.33, server: 0.0.0.0:1935
2018/05/17 04:00:43 [error] 1623#0: *4 live: drop idle publisher, client: 192.168.0.33, server: 0.0.0.0:1935
2018/05/17 04:00:56 [notice] 1646#0: signal process started
2018/05/17 04:01:41 [notice] 1656#0: signal process started
2018/05/17 04:08:55 [error] 1660#0: *2 live: drop idle publisher, client: 192.168.0.33, server: 0.0.0.0:1935
2018/05/17 04:17:11 [notice] 1679#0: signal process started
2018/05/17 04:17:40 [notice] 1687#0: signal process started
2018/05/17 04:21:24 [notice] 1698#0: signal process started
sneakyjoe@restreamer:/usr/local/nginx/logs$ cat access.log
192.168.0.33 - - [17/May/2018:03:20:56 +0300] "GET / HTTP/1.1" 200 612 "-" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.36"
192.168.0.33 - - [17/May/2018:03:20:57 +0300] "GET /favicon.ico HTTP/1.1" 404 571 "http://192.168.0.55/" "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.183 Safari/537.36 Vivaldi/1.96.1147.36"
192.168.0.33 [17/May/2018:03:34:47 +0300] PUBLISH "receiver" "" "" - 172978395 513 "" "FMLE/3.0 (compatible; FMSc/1.0)" (45s)
127.0.0.1 [17/May/2018:03:34:47 +0300] PUBLISH "transcoder" "" "" - 172983357 953 "" "LNX.11,1,102,55" (45s)
127.0.0.1 [17/May/2018:03:34:47 +0300] PUBLISH "transcoded-560" "" "" - 1070575 513 "" "" (44s)
127.0.0.1 [17/May/2018:03:34:47 +0300] PLAY "transcoder" "" "" - 2036 172908279 "" "" (45s)
127.0.0.1 [17/May/2018:03:34:47 +0300] PUBLISH "transcoded-1080" "" "" - 9642183 513 "" "" (44s)
127.0.0.1 [17/May/2018:03:34:47 +0300] PLAY "transcoder" "" "" - 2036 172908279 "" "" (45s)
192.168.0.33 [17/May/2018:03:48:45 +0300] PUBLISH "testerT" "" "" - 124365146 513 "" "FMLE/3.0 (compatible; FMSc/1.0)" (21s)
127.0.0.1 [17/May/2018:03:48:45 +0300] PUBLISH "transcoderT" "" "" - 124263939 793 "" "LNX.11,1,102,55" (21s)
127.0.0.1 [17/May/2018:03:48:45 +0300] PUBLISH "tester" "" "" - 7781091 513 "" "" (20s)
127.0.0.1 [17/May/2018:03:48:45 +0300] PLAY "transcoderT" "" "" - 1553 124263667 "" "" (20s)
127.0.0.1 [17/May/2018:03:50:31 +0300] PUBLISH "tester" "" "" - 316 623 "" "" (0s)
127.0.0.1 [17/May/2018:03:50:31 +0300] PLAY "transcoderT" "" "" - 380 3400379 "" "" (0s)
127.0.0.1 [17/May/2018:03:50:36 +0300] PUBLISH "tester" "" "" - 316 623 "" "" (0s)
127.0.0.1 [17/May/2018:03:50:36 +0300] PLAY "transcoderT" "" "" - 410 6534615 "" "" (0s)
192.168.0.33 [17/May/2018:03:50:51 +0300] PUBLISH "testerT" "" "" - 122880043 743 "" "FMLE/3.0 (compatible; FMSc/1.0)" (21s)
127.0.0.1 [17/May/2018:03:50:51 +0300] PUBLISH "transcoderT" "" "" - 122882203 793 "" "LNX.11,1,102,55" (20s)
127.0.0.1 [17/May/2018:03:50:51 +0300] PLAY "transcoderT" "" "" - 311 797076 "" "" (9s)
127.0.0.1 [17/May/2018:03:51:19 +0300] PUBLISH "tester" "" "" - 316 623 "" "" (0s)
127.0.0.1 [17/May/2018:03:51:19 +0300] PLAY "transcoderT" "" "" - 353 915770 "" "" (0s)
127.0.0.1 [17/May/2018:03:51:24 +0300] PUBLISH "tester" "" "" - 316 623 "" "" (0s)
127.0.0.1 [17/May/2018:03:51:24 +0300] PLAY "transcoderT" "" "" - 410 6534617 "" "" (0s)
192.168.0.33 [17/May/2018:03:51:40 +0300] PUBLISH "testerT" "" "" - 132690359 513 "" "FMLE/3.0 (compatible; FMSc/1.0)" (22s)
127.0.0.1 [17/May/2018:03:51:40 +0300] PUBLISH "transcoderT" "" "" - 132579557 825 "" "LNX.11,1,102,55" (21s)
127.0.0.1 [17/May/2018:03:51:40 +0300] PLAY "transcoderT" "" "" - 363 4752729 "" "" (10s)
192.168.0.33 [17/May/2018:03:54:19 +0300] PUBLISH "testerT" "" "" - 136536713 513 "" "FMLE/3.0 (compatible; FMSc/1.0)" (22s)
192.168.0.33 [17/May/2018:03:54:45 +0300] PUBLISH "testerT" "" "" - 136934092 743 "" "FMLE/3.0 (compatible; FMSc/1.0)" (21s)
192.168.0.33 [17/May/2018:03:58:32 +0300] PUBLISH "testerT" "" "" - 136338718 513 "" "FMLE/3.0 (compatible; FMSc/1.0)" (22s)
192.168.0.33 [17/May/2018:04:00:43 +0300] PUBLISH "testerT" "" "" - 210541404 513 "" "FMLE/3.0 (compatible; FMSc/1.0)" (43s)
192.168.0.33 [17/May/2018:04:08:33 +0300] PUBLISH "testerT" "" "" - 15170955 743 "" "FMLE/3.0 (compatible; FMSc/1.0)" (2s)
192.168.0.33 [17/May/2018:04:08:55 +0300] PUBLISH "testerT" "" "" - 119217454 513 "" "FMLE/3.0 (compatible; FMSc/1.0)" (20s)
192.168.0.33 [17/May/2018:04:18:02 +0300] PUBLISH "testerT" "" "" - 126047707 743 "" "FMLE/3.0 (compatible; FMSc/1.0)" (19s)
192.168.0.33 [17/May/2018:04:20:36 +0300] PUBLISH "testerT" "" "" - 160671264 743 "" "FMLE/3.0 (compatible; FMSc/1.0)" (32s)
 

pkv

Developer
odd, are you sure nginx.conf is setup with a single worker ? it is buggy with more workers. But if it used to work for you, it's likely another issue.
 
Top