Server Help

General Questions - Server uploads and downloads

Anonymous - Fri Jan 19, 2007 10:21 pm
Post subject: Server uploads and downloads
Does anyone know if there is a server to client download cap? If the answer is yes, does anyone know what it is and whether or not it can be adjusted via a cfg somewhere?

Thanks in advance.
CypherJF - Sat Jan 20, 2007 12:09 am
Post subject:
I thought it was 4MB and not adjustable?
Mine GO BOOM - Sat Jan 20, 2007 12:49 am
Post subject:
4,000,000 bytes or 4,194,304 bytes? If someone would like to test this and report back, it would be useful to know the actual hard limits (thus, other's LVZ editors can warn users, and ASSS can give an error message).
Cerium - Sat Jan 20, 2007 1:34 am
Post subject:
I was originally going to post the limit according to the protocol, but I suppose if that were relevant, MGB would have beat me to it anyway, so...

Nevermind.
Mine GO BOOM - Sat Jan 20, 2007 2:35 am
Post subject:
Cerium wrote:
MGB would have beat me to it

You do know I'm not infallible, and I have not worked with Subspace's protocol in over a year. Go ahead and post what knowledge you have on the topic.
Samapico - Sat Jan 20, 2007 3:10 am
Post subject:
I thought that 4MB limit was for a single lvz file...

That would explain why I couldnt download that zone at once the other day, it froze at 97%, had to finish the download by re-entering. It had multiple lvz's.

Edit: nevermind that, it wasn't even a 4MB download... just noticed... my connection just screwed up I guess.

But no it's not adjustable
Animate Dreams - Sat Jan 20, 2007 3:21 am
Post subject:
That giant freak of a zone Red Planet was 9mb, and I downloaded it in one sitting. So I doubt there's a 4mb limit on the total of files. I didn't know about any limits on single lvz files, though, either, I better go adjust a couple things....
Cerium - Sat Jan 20, 2007 11:50 am
Post subject:
Mine GO BOOM wrote:
[..]


You do know I'm not infallible, and I have not worked with Subspace's protocol in over a year. Go ahead and post what knowledge you have on the topic.


True, but you probably know the protocol just as well as I do, so I kinda assumed that any specific details would have already been pointed out.




Anyhow, aside from any hardcoded client/server limitations (and obvious memory/hdd limitations on either end), it seems the maximum file size, according to the protocol, is 2^32 bytes.

Code: Show/Hide
    * Large File Transfer
    * <p/>
    * <pre>Packet Layout
    *  Field   Length  Description
    *      0        2      Core Packet IDs: 0x00, 0x0A
    *      2        4      Total File Size
    *      6      ...      File Chunk
    * </pre>



Though, considering each packet is roughly 512 bytes, large file transfers probably should be avoided anyway.
Bak - Sun Jan 21, 2007 1:05 pm
Post subject:
I disagree with your reasoning but agree with your conclusion. Using bigger packets wouldn't speed up file transfers, in fact if they cause packet fragmentation it would probably slow down the transfer. Also, a 4 gigabyte file limit (2^32 bytes) is hardly a concern.

Anyways the limit is 4,194,304 bytes, and it appears to be client side. Any files larger than this will not download (the progress stays at 0%). Currently ASSS doesn't check for this, so clients will just be stuck at 0%. I didn't actually wait for the smaller files to download... but they did tick around to 1% unlike the larger file.

3,997,510 bytes - got to 1%
4,193,790 bytes - got to 1%
4,250,734 bytes - stuck at 0%
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group