Not directly answering your question but you could tune your nginx settings 
e.g.

proxy_busy_buffers_size 512k;
proxy_buffers 4 512k;
proxy_buffer_size 256k;

or disable buffering 

proxy_buffering off;

which I wouldn't recommend for performance reasons.

BR
Maruan Sahyoun
FileAffairs GmbH

bens...@gmail.com schrieb am Freitag, 1. März 2024 um 01:43:23 UTC+1:

> In dspace 7.6.1 I had an item with 25 files in it.
>
> after an image was generated for each pdf the page would not load. 
>
> **pm2 is behind nginx and the nginx log says:
>
> 2024/02/29 16:00:50 [error] 25186#0: *3824 upstream sent too big header 
> while reading response header from upstream,
>  client: 142.104.201.218, server: dspace.library.uvic.ca, request: "GET 
> /items/b94e7193-a7dd-42ef-b551-5f31808291fb HTTP/1.1",
>  upstream: "http://[::1]:4000/items/b94e7193-a7dd-42ef-b551-5f31808291fb";, 
> host: "dspace.library.uvic.ca"
>
> when I removed all the generated images it worked again.
>
> My question: Is there a best practice to limit the number of files in an 
> item?
>
> Thanks,
> Ben
>

-- 
All messages to this mailing list should adhere to the Code of Conduct: 
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
--- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/f384b729-0206-4fa6-9609-d8982ef2ca7bn%40googlegroups.com.

Reply via email to