XFileSharing Pro - Transfer files via admin cp

Message
Author
sebko
Posts: 22
Joined: Oct 23, 2012 10:07 pm

Transfer files via admin cp

#1 Postby sebko » Dec 12, 2012 9:39 am

Hello,
I have problem with transfer files (I see not just me) via admin cp.
When I select more files (or with big size) script stop at first file.
I know that I can send files via rsync and other methods but I must transfer only selected files and other files must stay on first server.

Anybody fix problem with transfer?

EDIT:
In error log from fileserver I found this info:

Code: Select all

[Wed Dec 12 12:55:16 2012] [warn] [client xxx.xx.xxx.x] Timeout waiting for output from CGI script /home/s2/cgi-bin/api.cgi, referer: http://www.xxx.com/?mass_search=&srv_id=2&per_page=50&op=admin_files&sort_field=file_size&sort_order=down
[Wed Dec 12 12:55:16 2012] [error] [client xxx.xx.xxx.x] (70007)The timeout specified has expired: ap_content_length_filter: apr_bucket_read() failed, referer: http://www.xxx.com/?mass_search=&srv_id=2&per_page=50&op=admin_files&sort_field=file_size&sort_order=down
I tried transfer 2GB file, timeout I set on 15. What timeout do You have on your fileservers?

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

#2 Postby chrda » Dec 12, 2012 3:10 pm

Do you use nginx mod on your fileservers?

universe
Posts: 67
Joined: Mar 20, 2012 12:13 pm

#3 Postby universe » Dec 12, 2012 3:21 pm

Your timeout is far too low for transfering 2GB between servers via CGI which is used to do that. 2GB in 15 seconds would correspond to 137MB per second or 1092 Mbit/s which is more than 1 Gbit/s and probably even your your servers' theoretical connection is below that...

frostyshield
Posts: 52
Joined: Nov 26, 2012 9:58 am

#4 Postby frostyshield » Dec 12, 2012 3:32 pm

universe wrote:Your timeout is far too low for transfering 2GB between servers via CGI which is used to do that. 2GB in 15 seconds would correspond to 137MB per second or 1092 Mbit/s which is more than 1 Gbit/s and probably even your your servers' theoretical connection is below that...
I would say 1 hour timeout or use java to automatically timeout without any action.

universe
Posts: 67
Joined: Mar 20, 2012 12:13 pm

#5 Postby universe » Dec 12, 2012 3:44 pm

frostyshield wrote:I would say 1 hour timeout or use java to automatically timeout without any action.
If your servers need 1 hour to transfer a 2GB file something is wrong with your connectivity because that would be below 5 Mbit/s. I think 10 minutes or 600 seconds should be enough for any common setup ;)

frostyshield
Posts: 52
Joined: Nov 26, 2012 9:58 am

#6 Postby frostyshield » Dec 12, 2012 5:13 pm

universe wrote:
frostyshield wrote:I would say 1 hour timeout or use java to automatically timeout without any action.
If your servers need 1 hour to transfer a 2GB file something is wrong with your connectivity because that would be below 5 Mbit/s. I think 10 minutes or 600 seconds should be enough for any common setup ;)
Not everyone knows that you only upload as much as your upload and I doubt everyone has a 10mb upload speed I only have a 30/3 broadband lol so the 1 hour makes it so anyone can upload without being cut off because we think they have 1Gbps upload speed.