Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Logs flooded with [WRN] Slow HTTP Response messages #7348

Closed
1 task done
ioogithub opened this issue Feb 21, 2022 · 6 comments · Fixed by #8826
Closed
1 task done

[Issue]: Logs flooded with [WRN] Slow HTTP Response messages #7348

ioogithub opened this issue Feb 21, 2022 · 6 comments · Fixed by #8826
Labels
bug Something isn't working

Comments

@ioogithub
Copy link

Please describe your bug

The logs are flooded with slow HTTP response messages. This is an issue because the logs are being spammed with this message making it difficult to use the logs for useful troubleshooting. There are thousands of these messages up to 10 every second.

What is this message telling me? Is this an indication of a configuration problem? Almost all of these entries are less than a second. Is this considered a slow response time?

This is a new fresh install of Jellyfin.

Jellyfin Version

10.7.7

if other:

No response

Environment

- OS: Raspberry Pi 4B
- Virtualization: No
- Clients: Browser
- Browser: Firefox 97.0
- FFmpeg Version: ?
- Playback Method: n/a
- Hardware Acceleration: none
- Plugins: none
- Reverse Proxy: Apache
- Base URL: none
- Networking: Host
- Storage: local

Jellyfin logs

[2022-02-21 12:18:51.566 -05:00] [WRN] Slow HTTP Response from "http://192.x.x.x/Items/70de05f19a446bd74d2cc8ff9b424572/Images/Primary?fillHeight=427&fillWidth=320&quality=96&tag=e966d8dc32b2e21b2d03f9a39a5e6884" to "192.x.x.x" in 0:00:00.9899466 with Status Code 200

[2022-02-21 12:18:52.031 -05:00] [WRN] Slow HTTP Response from "http://192.x.x.x/Items/e5e700a0234372084d251d6867698898/Images/Primary?fillHeight=427&fillWidth=320&quality=96&tag=34feecd611e4eb26d338ad5cd4112dc4" to "192.x.x.x" in  0:00:01.0591586 with Status Code 200

[2022-02-21 12:18:52.104 -05:00] [WRN] Slow HTTP Response from "http://192.x.x.x/Items/6f1d2db1cac50539643a4dfd999f5c4d/Images/Primary?fillHeight=427&fillWidth=320&quality=96&tag=b18163a4aa4b58c97192e901d76e3616" to "192.x.x.x" in 0:00:00.7037635 with Status Code 200

[2022-02-21 12:18:52.542 -05:00] [WRN] Slow HTTP Response from "http://192.x.x.x/Items/2c8ab7e4c62f71367e1f9a3ffcc1569b/Images/Primary?fillHeight=427&fillWidth=320&quality=96&tag=a9abbbc3f090010b05714c8777c113e1" to "192.x.x.x" in 0:00:00.6137338 with Status Code 200


### FFmpeg logs

```shell
n/a

Please attach any browser or client logs here

n/a

Please attach any screenshots here

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ioogithub ioogithub added the bug Something isn't working label Feb 21, 2022
@spannerman79
Copy link

#2455 (comment)

I edited my system.xml.

Find <EnableSlowResponseWarning> and change true to false

I restarted Jellyfin after the change (not sure if it was required or not - but a restart of the service wouldn't hurt)

What is this message telling me? Is this an indication of a configuration problem? Almost all of these entries are less than a second. Is this considered a slow response time?

Perhaps your hardware is underpowered? 🤷‍♂️

@Al4ndil
Copy link

Al4ndil commented Apr 1, 2022

Hi @spannerman79

I have the same messages on my logs with a debian machine (2 CPU, 12Go RAM). I don't think it has underpowered right ?!

@aivit

This comment was marked as off-topic.

@RubenTeixeira
Copy link
Contributor

Agreed @Al4ndil.

It seems to me (at least that seems to be my case) this might have something to do with running the instance behind a reverse proxy.

@Cebrain
Copy link

Cebrain commented Nov 29, 2022

Agreed @Al4ndil.

It seems to me (at least that seems to be my case) this might have something to do with running the instance behind a reverse proxy.

I also use jellyfin behind reverse proxy. This is spamming the log.
I disabled the entry in the Dashboard -> Logs -> "Log a warning message ..."

image

Dont know if i could tweak the proxy to make it better.

Edit:
You could also tweak this to an higher timeout. For me it looks like 1500ms is common in my setup (Xeon + 16GB Ram). I set it to 2000 and will test it

@mtekman
Copy link

mtekman commented Jul 4, 2023

Perhaps your hardware is underpowered? 🤷‍

I believe this might be the case for anyone running Jellyfin server on a Raspberry Pi 4. I consistently get this message when trying to transcode a large film.

The solution (at least for me) was to increase the GPU/RAM split in the /boot/config.txt file to:

gpu_mem_256=192
gpu_mem_512=256
gpu_mem_1024=256

Apologies that this response is hardware-specific, but I genuinely believe this was the main limiting factor (it couldn't transcode fast enough and so couldn't post the video snippets punctually?) in my case, and I would be surprised if I was the only one using Jellyfin on a Rpi4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants