item with many files not working.

86 views
Skip to first unread message

bens...@gmail.com

unread,
Feb 29, 2024, 7:43:23 PM2/29/24
to DSpace Technical Support
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

Maruan Sahyoun

unread,
Mar 1, 2024, 3:24:32 AM3/1/24
to DSpace Technical Support
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
Reply all
Reply to author
Forward
0 new messages