XFileSharing Pro - Upload stuck with big files

Powerfull XFileSharing version

Moderator: admin

Message
Author
Guneyd
Posts: 67
Joined: Mar 11, 2011 4:30 pm

Upload stuck with big files

#1 Postby Guneyd » Mar 29, 2011 5:48 am

Hello,

I've recently changed my server settings to a frontend/backend system of nginx and apache (nginx admin with cache). Right now, I'm still testing my filesharing site, but the upload for big files doesn't work anymore. See for yourselves @ www.bitupload.com

With big files the screen is stuck at the 'Upload Initializing...' part, but small files do work.

I've changed the client_max_body_size to 2000M from 10M, but that doesn't do the trick either.

user nobody;
# no need for more workers in the proxy mode
worker_processes 4;
error_log /var/log/nginx/error.log info;
worker_rlimit_nofile 20480;
events {
worker_connections 5120; # increase for busier servers
use epoll; # you should use epoll here for Linux kernels 2.6.x
}
http {
server_name_in_redirect off;
server_names_hash_max_size 2048;
server_names_hash_bucket_size 256;
include mime.types;
default_type application/octet-stream;
server_tokens off;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 60;
gzip on;
gzip_vary on;
gzip_disable "MSIE [1-6]\.";
gzip_proxied any;
gzip_http_version 1.1;
gzip_min_length 0;
gzip_comp_level 6;
gzip_buffers 16 8k;
# gzip_types text/plain application/x-javascript text/xml text/css;
gzip_types text/plain text/xml text/css application/x-javascript application/xml application/xml+rss text/javascript application/atom+xml;
ignore_invalid_headers on;
client_header_timeout 3m;
client_body_timeout 3m;
send_timeout 3m;
reset_timedout_connection on;
connection_pool_size 256;
client_header_buffer_size 256k;
large_client_header_buffers 4 256k;
request_pool_size 32k;
output_buffers 4 32k;
postpone_output 1460;
proxy_cache_path /var/cache/nginx/cached levels=2:2 keys_zone=global:10m inactive=10m max_size=1000M;
proxy_temp_path /dev/shm/nginx_proxy/;
client_body_in_file_only on;
client_max_body_size 2000M;
client_body_buffer_size 128k;
log_format bytes_log "$msec $bytes_sent .";
include "/etc/nginx/vhosts/*";
}


Can someone please help me out with this?

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm
Contact:

#2 Postby chrda » Mar 29, 2011 7:37 am

This doesnt look like a sibsoft nginx conf.

You got 2 ip/hosts per server setting.

the first one should be pure apache..
second can be apache or nginx.

My guess is that you put nginx on ipbox 1.

Guneyd
Posts: 67
Joined: Mar 11, 2011 4:30 pm

#3 Postby Guneyd » Mar 29, 2011 8:55 am

Thank you for the reply. You're right about it not being the sibsoft nginx. I couldn't make use of just nginx alone (I'm also hosting other sites on the same server that need apache) http://nginxcp.com/ is the one I make use of.

But to let me get this straight. It is not a standard nginx thing? In apache it is all about changing the max upload size settings and such, isn't there something like that for nginx that perhaps could work?


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests