High network quota usage even for less than 1 min play - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access) +---- Thread: High network quota usage even for less than 1 min play (/t-high-network-quota-usage-even-for-less-than-1-min-play) |
High network quota usage even for less than 1 min play - bharathganji1@gmail.com - 2023-08-30 HI team, my VPS details - Linux 5.15.0-1040-oracle #46-Ubuntu SMP aarch64 aarch64 aarch64 GNU/Linux jellyfin details: Code: LABELS for demonstration i've restarted my jellyfin container before playing any video, below are network stats https://ibb.co/BrLrp91 https://ibb.co/jDJgYdg now after playing a video for 1min https://ibb.co/59bM2Mt https://ibb.co/1RJdJ0Z i've disabled all transcoding options https://ibb.co/W3JWgjc and details of movie i played Code: Audio and for every skip (eg : 10sec forward) again network is consuming 1-2gb of data. logs : have attached as .txt RE: High network quota usage even for less than 1 min play - bitmap - 2023-08-30 Are the numbers in the second screenshot a snapshot in time? As in the console network monitor? Because I'm not sure how you'd get 2.3+ Mbps out of a 1.3 Mbps (on a good day) file. (EDIT: I was doing quick math and 60s of 1300 kbps video without thinking about any other data would be ~10 MB total. None of the numbers match, which is why I ask this question.) The numbers don't add up and there's nothing in your logs -- including if it were to do with any additional processes like metadata scraping or plugins or anything. In the second screenshot there are multiple connections to your server, correct? Could this be the culprit? Multiple connections immediately pulling large amounts of data? I guess I might just not be familiar with the tools you've used to provide this info. I understand the aggregate and the console monitor appears to show connections + incoming/outgoing. Multiple connections to your VPS would explain high usage. If you don't expect those connections, you might investigate who's accessing your server and figure out your security situation. RE: High network quota usage even for less than 1 min play - bharathganji1@gmail.com - 2023-08-30 https://ibb.co/BrLrp91 https://ibb.co/59bM2Mt this are pics from portainer (container management platform) pls ignore other pics for now.., those pics are taken with cmd iftop (network stats monitor tool) , i dont have idea on numbers you were mentioning i can confirm no parallel connections to this vps, like only i user/client is using the application. no chance of security issue (even so every other time we should see those connections, but can see only during that 1min play period) so, if u cant see any suspicious log entries.. then as u said parallel connections might be issue.. but what are these connections, they are getting triggered every time i play a video.., and that to are single user jellyfin connections. might be the issue, why we have that many connections to single user.. RE: High network quota usage even for less than 1 min play - bitmap - 2023-08-30 Portainer I understand, I run it myself. It's the other data you provided that's slightly confusing (to me). The logs don't indicate multiple connections which is the odd thing. I've not seen the message about the default method for recording playback stats being "delete" before either... Is your plugin working okay? I'm not sure I can offer anything more of substance to you other than to point you towards a) enabling debug logging to see if you can get more verbose output out of Jellyfin and/or b) using something like Wireshark (I think that's the right tool, networking isn't my thing could you tell?) to snoop all the traffic coming and going from that VPS or at very least the container. If you use your containers the way they're supposed to be used, it's disposable so installing Wireshark on there for a bit to monitor and then recreating it after you've identified the issue shouldn't be problematic. RE: High network quota usage even for less than 1 min play - bharathganji1@gmail.com - 2023-09-01 hi @bitmap, these following findings are intresting.. i've completely deleted server and installed it again, but no use , still issue persist. i've meg (201 and pizza 3 The mummy - as mkv format and remaining movies - as mp4 format when ever i play mkv format looks like transcoding trigging and i can see data usage is optimal (in mb's as per play) but in case of when i play mp4 then network usage is high again (eg: in gb's) logs: https://icedrive.net/s/bPiBR7FiyXYD3uW3xhPutjwwWvgj simplified chatGPT analysis when i compare 1 mp4 file vs 1 mkv file Certainly, here's a comparison of the differences between Log 1 and Log 2: **Log 1:** - **Date and Time:** Log 1 is timestamped on "[2023-09-01 21:52:32.494 +05:30]" and contains entries that occurred around this time. - **Content:** Log 1 primarily relates to media playback, transcoding, and monitoring of events during the playback of "The Meg (201." - **Playback Method:** It mentions "Transcode" as the playback method due to unsupported video and audio codecs. - **Events:** Log 1 includes events related to starting and stopping playback, slow HTTP responses, and monitoring playback events. **Log 2:** - **Date and Time:** Log 2 is timestamped on "[2023-09-01 21:42:30.525 +05:30]" and contains entries that occurred around this time. - **Content:** Log 2 also relates to media playback but with a different media item, "The Super Mario Bros. Movie." It uses "DirectPlay" as the playback method, meaning there's no transcoding involved. - **Events:** Log 2 includes events related to starting and stopping playback, slow HTTP responses, and monitoring playback events, similar to Log 1. **Differences:** - **Media Content:** Log 1 involves the playback of "The Meg (201" with transcoding, while Log 2 involves "The Super Mario Bros. Movie" with direct playback. - **Playback Method:** Log 1 uses transcoding ("Transcode") to adapt media for playback, whereas Log 2 uses direct playback ("DirectPlay"), indicating that the media format is natively supported. - **Item Names:** Log 1 mentions "The Meg" as the item being played, while Log 2 mentions "The Super Mario Bros. Movie." - **Timestamps:** Log 1 and Log 2 have different timestamps, indicating that these events occurred at different times. In summary, the key differences between Log 1 and Log 2 are the media content being played, the playback method used, the item names, and the specific timestamps of the events. Both logs relate to media playback and event monitoring within the same application or server but with different media items and playback methods. |