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

Nginx error "proxy_max_temp_file_size #131

Open
Yogi85 opened this issue Nov 20, 2018 · 1 comment
Open

Nginx error "proxy_max_temp_file_size #131

Yogi85 opened this issue Nov 20, 2018 · 1 comment

Comments

@Yogi85
Copy link

Yogi85 commented Nov 20, 2018

Hello
I want to make the lancache server on a raspberry. but I get this error. I know that it is not optimal. It should only be a test. can someone explain me what the problem is? Is there a solution that is possible?

Thank you

Greeting Yogi

@imac9999
Copy link
Collaborator

In nginx.conf file there is a parameters set as:
proxy_max_temp_file_size 16384m;

And on nginx manual it’s giving the following info on what this means:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_max_temp_file_size

„When buffering of responses from the proxied server is enabled, and the whole response does not fit into the buffers set by the proxy_buffer_size and proxy_buffers directives, a part of the response can be saved to a temporary file. This directive sets the maximum size of the temporary file.“

So, for whatever reason, your Pi cannot store the responses properly in this defined 16gb file, maybe due to lack of storage or other hardware related limitations on the Pi. Try to set the value so a more smaller amount.

And nope, I don’t know how much performance will suffer from this :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants