mediasoup-client:Transport connection state changed to disconnected

Hi,

With version 3.9.7 of mediasoup server I have got systematic disconnections after 30sec-1min (“state changed to disconnected” in browser console). Not reproduced with version 3.5.7 mediasoup server.

I activated debug and all logTags on mediasoup server but nothing is printed when the disconnection occured.

After disconnection websocket and coturn sessions seem pending.

Bellow chrome console logs:
10:15:10.054 client.js:3100 protoo-client:WebSocketTransport constructor() [url:wss://198.18.71.112:443/websocket/mediasoup/?roomId=a757eba3-2787-473d-a761-abf799d2856f&peerId=ibek04fk, options:undefined] +0ms
10:15:10.055 client.js:3100 protoo-client:WebSocketTransport _runWebSocket() [currentAttempt:1] +3ms
10:15:10.056 client.js:3100 protoo-client:Peer constructor() +0ms
10:15:10.273 client.js:3100 protoo-client:Peer emit “open” +217ms
10:15:10.274 client.js:3100 mediasoup-client:Device constructor() +0ms
10:15:10.276 client.js:3100 mediasoup-client:Device constructor() | detected handler: Chrome74 +2ms
10:15:10.276 client.js:3100 mediasoup-client:Chrome74 close() +0ms
10:15:10.276 client.js:3100 protoo-client:Peer request() [method:getRouterRtpCapabilities, id:1384200] +3ms
10:15:10.328 client.js:3100 mediasoup-client:Device load() [routerRtpCapabilities:Object] +52ms
10:15:10.329 client.js:3100 mediasoup-client:Chrome74 getNativeRtpCapabilities() +53ms
10:15:10.343 client.js:3100 mediasoup-client:Device load() | got native RTP capabilities:Object +15ms
10:15:10.344 client.js:3100 mediasoup-client:Device load() | got extended RTP capabilities:Object +1ms
10:15:10.345 client.js:3100 mediasoup-client:Device load() | got receiving RTP capabilities:Object +1ms
10:15:10.345 client.js:3100 mediasoup-client:Chrome74 getNativeSctpCapabilities() +16ms
10:15:10.345 client.js:3100 mediasoup-client:Device load() | got native SCTP capabilities:Object +0ms
10:15:10.345 client.js:3100 mediasoup-client:Device load() succeeded +0ms
10:15:10.345 client.js:3100 mediasoup-client:Chrome74 close() +0ms
10:15:10.345 client.js:3100 protoo-client:Peer request() [method:createWebRtcTransport, id:697376] +69ms
10:15:10.391 client.js:3100 mediasoup-client:Device createRecvTransport() +46ms
10:15:10.391 client.js:3100 mediasoup-client:Transport constructor() [id:56b1ad6c-d76d-4075-84da-1ade5c2ba6ed, direction:recv] +0ms
10:15:10.391 client.js:3100 mediasoup-client:Chrome74 run() +46ms
10:15:10.393 client.js:3100 protoo-client:Peer request() [method:join, id:6804789] +48ms
10:15:10.543 client.js:3100 mediasoup-client:Transport consume() +152ms
10:15:10.544 client.js:3100 mediasoup-client:Chrome74 receive() [trackId:e76b26fd-d038-401e-b2a9-3ef57f7def45, kind:video] +153ms
10:15:10.545 client.js:3100 mediasoup-client:Chrome74 receive() | calling pc.setRemoteDescription() [offer:Object] +1ms
10:15:10.550 client.js:3100 mediasoup-client:RemoteSdp updateDtlsRole() [role:server] +0ms
10:15:10.550 client.js:3100 protoo-client:Peer request() [method:connectWebRtcTransport, id:9519077] +157ms
10:15:10.588 client.js:3100 mediasoup-client:Chrome74 receive() | calling pc.setLocalDescription() [answer:Object] +43ms
10:15:10.590 client.js:3100 mediasoup-client:Consumer constructor() +0ms
10:15:10.590 client.js:3100 mediasoup-client:Chrome74 receive() [trackId:probator, kind:video] +2ms
10:15:10.591 client.js:3100 mediasoup-client:Chrome74 receive() | calling pc.setRemoteDescription() [offer:Object] +1ms
10:15:10.594 client.js:3100 mediasoup-client:Transport connection state changed to connecting +51ms
10:15:10.596 client.js:3100 mediasoup-client:Chrome74 receive() | calling pc.setLocalDescription() [answer:Object] +5ms
10:15:10.599 client.js:3100 mediasoup-client:Transport consume() | Consumer for RTP probation created +5ms
10:15:10.774 client.js:3100 mediasoup-client:Transport connection state changed to connected +175ms
10:16:58.199 client.js:3100 mediasoup-client:Transport connection state changed to disconnected +2m

Screenshot form chrome://webrtc-internals/:

1 Like

The issue appeared between 3.8.4 and 3.9.1 (3.9.0 doesn’t work no connection at all).
Same issue on chrome, firefox, windows, linux using mediasoup-client 3.6.50.
Both on a 10Mbit/s internet connection and on a 1Gbit/s local connection.
All the browsers are disconnected at the same time and stop on the same picture.
Let me know if you need more information.
Best regards.

But all these versions work pretty well. At least, nobody has reported that kind of problems to this day. Since the disconnections occur between the server and multiple clients, it worth to investigate the server logs.

I always used mediasoup behind a coturn server (no direct access available from browser to mediasoup server except https port). Is it an unusual use case?

I don’t see anything special in log when the issue occurs (all logTags and logLevel=debug).

2022-02-28T09:16:52.522Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.522Z mediasoup:Channel request() [method:worker.getResourceUsage, id:121]

2022-02-28T09:16:52.522Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:121]

2022-02-28T09:16:52.522Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:48]: { ru_idrss: 0, ru_inblock: 10920, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 44, ru_maxrss: 59000, ru_minflt: 14319, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 770382, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 247114, ru_oublock: 0, ru_stime: 661337, ru_utime: 2410189 }

2022-02-28T09:16:52.527Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.527Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.527Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.528Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:50]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59020, ru_minflt: 599, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 6, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 4, ru_utime: 4 }

2022-02-28T09:16:52.539Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.539Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.539Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.540Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:52]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59072, ru_minflt: 603, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 3, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 8 }

2022-02-28T09:16:52.577Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.577Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.578Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.578Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:54]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59092, ru_minflt: 600, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 2, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 9, ru_utime: 0 }

2022-02-28T09:16:52.597Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.597Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.597Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.597Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:56]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59100, ru_minflt: 600, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 2, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 9 }

2022-02-28T09:16:52.606Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.606Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.606Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.606Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:58]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59132, ru_minflt: 604, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 2, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 9 }

2022-02-28T09:16:52.655Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.655Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.655Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.655Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:60]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59176, ru_minflt: 600, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 2, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 10 }

2022-02-28T09:16:52.676Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.676Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.676Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.676Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:62]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59412, ru_minflt: 604, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 2, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 9 }

2022-02-28T09:16:52.676Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.676Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.676Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.676Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:64]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59224, ru_minflt: 602, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 1, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 5, ru_utime: 5 }

2022-02-28T09:16:52.689Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.689Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.689Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.689Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:66]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59244, ru_minflt: 604, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 10 }

2022-02-28T09:16:52.712Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.712Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.712Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.712Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:68]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59256, ru_minflt: 601, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 3, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 42, ru_oublock: 0, ru_stime: 5, ru_utime: 5 }

2022-02-28T09:16:52.724Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.724Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.724Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.724Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:70]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59260, ru_minflt: 600, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 3, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 43, ru_oublock: 0, ru_stime: 9, ru_utime: 1 }

2022-02-28T09:16:52.791Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.791Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.791Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.792Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:72]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59268, ru_minflt: 603, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 10, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 42, ru_oublock: 0, ru_stime: 4, ru_utime: 6 }

2022-02-28T09:16:52.799Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.799Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.799Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.799Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:74]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59708, ru_minflt: 604, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 5, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 3, ru_utime: 7 }

2022-02-28T09:16:52.812Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.812Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.812Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.812Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:76]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59256, ru_minflt: 602, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 5, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 42, ru_oublock: 0, ru_stime: 3, ru_utime: 6 }

2022-02-28T09:16:52.829Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.830Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.830Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.830Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:78]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59256, ru_minflt: 600, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 2, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 44, ru_oublock: 0, ru_stime: 5, ru_utime: 5 }

2022-02-28T09:16:52.868Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.868Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.869Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.869Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:80]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59260, ru_minflt: 603, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 8, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 10, ru_utime: 0 }

2022-02-28T09:16:52.882Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.882Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.882Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.882Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:82]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59268, ru_minflt: 603, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 3, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 10 }

2022-02-28T09:16:52.895Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.895Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.895Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.895Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:84]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59284, ru_minflt: 604, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 10 }

2022-02-28T09:16:52.916Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.916Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.918Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.918Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:86]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59284, ru_minflt: 602, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 21, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 11 }

2022-02-28T09:16:52.934Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.934Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.935Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.935Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:88]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59288, ru_minflt: 598, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 5, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 4, ru_utime: 6 }

2022-02-28T09:16:52.950Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.950Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.950Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.950Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:90]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59292, ru_minflt: 603, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 2, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 10, ru_utime: 0 }

2022-02-28T09:16:52.960Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.960Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.960Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.960Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:92]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59364, ru_minflt: 606, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 7, ru_utime: 3 }

2022-02-28T09:16:52.979Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.979Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.979Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.979Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:94]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59364, ru_minflt: 603, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 5, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 9 }

2022-02-28T09:16:52.986Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:52.987Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.987Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:52.987Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:96]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59368, ru_minflt: 599, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 5, ru_utime: 5 }

2022-02-28T09:16:53.002Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.002Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.002Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.003Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:98]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59376, ru_minflt: 602, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 1, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 10 }

2022-02-28T09:16:53.014Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.014Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.014Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.014Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:100]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59380, ru_minflt: 605, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 2, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 9 }

2022-02-28T09:16:53.030Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.030Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.030Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.031Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:102]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59380, ru_minflt: 597, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 5, ru_utime: 5 }

2022-02-28T09:16:53.044Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.044Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.044Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.044Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:104]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59384, ru_minflt: 598, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 3, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 9 }

2022-02-28T09:16:53.059Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.059Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.059Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.060Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:106]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 59388, ru_minflt: 599, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 5, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 1, ru_utime: 8 }

2022-02-28T09:16:53.079Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.079Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.079Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.079Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:108]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 60164, ru_minflt: 603, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 13, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 42, ru_oublock: 0, ru_stime: 10, ru_utime: 0 }

2022-02-28T09:16:53.094Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.094Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.095Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.095Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:110]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 60176, ru_minflt: 600, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 5, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 10 }

2022-02-28T09:16:53.112Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.112Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.112Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.112Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:112]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 60232, ru_minflt: 601, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 1, ru_utime: 9 }

2022-02-28T09:16:53.123Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.123Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.123Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.123Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:114]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 60188, ru_minflt: 603, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 6, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 10 }

2022-02-28T09:16:53.134Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.134Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.134Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.134Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:116]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 60196, ru_minflt: 596, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 1, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 43, ru_oublock: 0, ru_stime: 0, ru_utime: 9 }

2022-02-28T09:16:53.150Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.151Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.151Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.151Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:118]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 60200, ru_minflt: 603, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 3, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 10 }

2022-02-28T09:16:53.167Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.167Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.167Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.167Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:120]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 60208, ru_minflt: 600, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 42, ru_oublock: 0, ru_stime: 7, ru_utime: 2 }

2022-02-28T09:16:53.189Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.189Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.189Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.189Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:122]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 60216, ru_minflt: 600, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 8, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 3, ru_utime: 6 }

2022-02-28T09:16:53.243Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.243Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.244Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.244Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:124]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 61040, ru_minflt: 602, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 3, ru_utime: 7 }

2022-02-28T09:16:53.257Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.257Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.257Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.257Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:126]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 61052, ru_minflt: 600, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 6, ru_utime: 6 }

2022-02-28T09:16:53.276Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.277Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.277Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.278Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:128]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 61060, ru_minflt: 607, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 5, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 11, ru_utime: 0 }

2022-02-28T09:16:53.290Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.290Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.290Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.290Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:130]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 61068, ru_minflt: 604, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 4, ru_utime: 6 }

2022-02-28T09:16:53.300Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.300Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.301Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.301Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:132]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 61076, ru_minflt: 598, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 0, ru_utime: 10 }

2022-02-28T09:16:53.315Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.315Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.315Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.315Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:134]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 61080, ru_minflt: 602, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 6, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 4, ru_utime: 5 }

2022-02-28T09:16:53.329Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.329Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.329Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.329Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:136]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 61088, ru_minflt: 606, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 6, ru_utime: 2 }

2022-02-28T09:16:53.340Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.340Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.340Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.340Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:138]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 61096, ru_minflt: 603, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 9, ru_utime: 0 }

2022-02-28T09:16:53.357Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.357Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.358Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.358Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:140]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 62020, ru_minflt: 602, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 5, ru_utime: 5 }

2022-02-28T09:16:53.382Z mediasoup:Worker getResourceUsage()

2022-02-28T09:16:53.382Z mediasoup:Channel request() [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.382Z mediasoup:Channel request succeeded [method:worker.getResourceUsage, id:40]

2022-02-28T09:16:53.382Z mediasoup-demo-server:INFO mediasoup Worker resource usage [pid:142]: { ru_idrss: 0, ru_inblock: 0, ru_isrss: 0, ru_ixrss: 0, ru_majflt: 0, ru_maxrss: 62024, ru_minflt: 601, ru_msgrcv: 0, ru_msgsnd: 0, ru_nivcsw: 4, ru_nsignals: 0, ru_nswap: 0, ru_nvcsw: 41, ru_oublock: 0, ru_stime: 5, ru_utime: 5 }

2022-02-28T09:16:54.012Z mediasoup:WARN:Channel [pid:48] RTC::RtpStreamRecv::OnTimer() | RTP inactivity detected, resetting score to 0 [ssrc:2222]

2022-02-28T09:17:06.589Z mediasoup-demo-server:INFO key:a757eba3-2787-473d-a761-abf799d2856f

2022-02-28T09:17:06.589Z mediasoup-demo-server:INFO rooms size:1

2022-02-28T09:17:16.598Z mediasoup-demo-server:INFO key:a757eba3-2787-473d-a761-abf799d2856f

2022-02-28T09:17:16.598Z mediasoup-demo-server:INFO rooms size:1

Since you know the versions have you checked github to see which changes exactly cause it? I was using private library at one point to find it deprecated and broke my code; are you doing similar and just not catching private library changes??