I am kinda at my wits end here not sure what else to try. I have the latest docker install, on a threadripper server, on a disk array that can read/write at multiple GB/s (yes GB not Gb) even 4krand is mesured in hundreds of MB/s. the network is 2.5Gbps FTTH and i have used iperf3 to confirm the connection between the server and the remote side is pushing over 1Gbps. I am using nginx reverse proxy and have optimized the hell out of it as best as i can. I use this same config for immich, same machine, same network path, same Nginx reverse proxy. And i can max out my friends line at 28MB/s when i share a large video for them to download. Meanwhile Seafile struggles to push 1MB/s. Same video even just for sanity.
Here is the nginx config.
server {
listen 443 ssl;
listen 443 quic;
listen [::]:443 ssl;
listen [::]:443 quic;http2 on; http3 on; server_name redacted ssl_certificate redact ssl_certificate_key redact ssl_protocols TLSv1.2 TLSv1.3; add_header Alt-Svc 'h3=":443"; ma=86400'; # Required for Seafile to generate correct internal links proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; # 1. Main UI and API location / { proxy_pass http://10.159.4.4:8090; proxy_read_timeout 1200s; client_max_body_size 0; } # 2. Optimized File Server (buffer) location /seafhttp { proxy_pass http://10.159.4.4:8090; client_max_body_size 0; proxy_buffering off; proxy_request_buffering off; proxy_max_temp_file_size 0; # Keep connection open for Range requests/seeking proxy_http_version 1.1; proxy_set_header Connection ""; proxy_connect_timeout 3600s; proxy_read_timeout 3600s; proxy_send_timeout 3600s; sendfile off; tcp_nopush on; tcp_nodelay on; access_log /var/log/nginx/seahub.access.log; error_log /var/log/nginx/seahub.error.log; }}
Ive spent hours on this trying anything i can think of and performance in seafile is just abysmal. There is no hardware or network along the chain that is a bottleneck, the server has 128GB of ram that it hardly touches, and as stated both iperf3 and other software like immich show no issues getting full bandwidth.