Issue 123 in lusca-cache: large files fail to download on LUSCA_HEAD-r14756

93 views
Skip to first unread message

codesite...@google.com

unread,
Sep 16, 2010, 9:45:14 AM9/16/10
to lusc...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Version-1.0

New issue 123 by unsecretarygeneral: large files fail to download on
LUSCA_HEAD-r14756
http://code.google.com/p/lusca-cache/issues/detail?id=123

What steps will reproduce the problem?
1. Generate a file larger than 4gb
2. Try to download via cache .


What is the expected output? What do you see instead?

Expect file to download

see instead in browser :

While trying to process the request:

GET /cpmove-xxxxxxxxxxx.tar.gz HTTP/1.1
Host: xxxxxxxxxxxxx.xxxxxxx
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9)
Gecko/20100825 Ubuntu/9.10 (karmic) Firefox/3.6.9
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en,en-us;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Connection: keep-alive

The following error was encountered:

Invalid Response

The HTTP Response message received from the contacted server could not be
understood or was otherwise malformed. Please contact the site operator.
Your cache administrator may be able to provide you with more details about
the exact nature of the problem if needed.

In the squid cache log I see :

2010/09/16 08:35:10| WARNING: Unparseable content-length '4790023270'


What version of the product are you using? On what operating system?

LUSCA_HEAD-r14756
Centos 5.5

codesite...@google.com

unread,
Sep 16, 2010, 9:59:31 AM9/16/10
to lusc...@googlegroups.com

Comment #1 on issue 123 by unsecretarygeneral: large files fail to download
on LUSCA_HEAD-r14756
http://code.google.com/p/lusca-cache/issues/detail?id=123

sorry

2. Try to download via cache . should be

2. Try to download via cache (in reverse proxy setup)

codesite...@google.com

unread,
Oct 18, 2010, 10:43:56 PM10/18/10
to lusc...@googlegroups.com

Comment #2 on issue 123 by adrian.chadd: large files fail to download on
LUSCA_HEAD-r14756
http://code.google.com/p/lusca-cache/issues/detail?id=123

Add --with-large-files --enable-large-cache-files to ./configure ?


codesite...@google.com

unread,
Oct 18, 2010, 11:30:16 PM10/18/10
to lusc...@googlegroups.com
Updates:
Status: Started
Labels: -Priority-Medium -Version-1.0 Priority-High Version-Head

Comment #3 on issue 123 by adrian.chadd: large files fail to download on
LUSCA_HEAD-r14756
http://code.google.com/p/lusca-cache/issues/detail?id=123

Ah! strtol() on my ibook is actually limited to 2^^31-1 as LONG_MAX. This
is likely why it isn't accepting > 2gbyte files.

Let me add some test cases and then start investigating it further.

Thanks!

codesite...@google.com

unread,
Oct 21, 2010, 9:36:04 PM10/21/10
to lusc...@googlegroups.com

Comment #4 on issue 123 by hendsump: large files fail to download on
LUSCA_HEAD-r14756
http://code.google.com/p/lusca-cache/issues/detail?id=123

report the same problem here when try to download large file.

LUSCA_HEAD-r14809 @32bit

cache.log :

2010/10/22 08:01:46| ctx: enter level
0: 'http://www.gameqq.net/component/jdownloads/?task=finish&cid=84&catid=46&m=0'
2010/10/22 08:01:46| WARNING: Unparseable content-length '3132539748'


codesite...@google.com

unread,
Oct 22, 2010, 12:09:28 AM10/22/10
to lusc...@googlegroups.com

Comment #5 on issue 123 by adrian.chadd: large files fail to download on
LUSCA_HEAD-r14756
http://code.google.com/p/lusca-cache/issues/detail?id=123

Hi,

I haven't fixed this problem yet; I've just found where it is. I'll post an
update when I've committed something that fixes it.

Thanks!

codesite...@google.com

unread,
Nov 1, 2010, 10:40:46 AM11/1/10
to lusc...@googlegroups.com

Comment #6 on issue 123 by billy.sompotan: large files fail to download on
LUSCA_HEAD-r14756
http://code.google.com/p/lusca-cache/issues/detail?id=123

Hi,

Can you give me the best configuration of lusca?

because I really liked this lusca

thank's

codesite...@google.com

unread,
Nov 22, 2010, 12:08:28 PM11/22/10
to lusc...@googlegroups.com

Comment #7 on issue 123 by duppeh: large files fail to download on
LUSCA_HEAD-r14756
http://code.google.com/p/lusca-cache/issues/detail?id=123

hi adrian, any update about this issue ?

codesite...@google.com

unread,
Feb 11, 2011, 7:08:39 PM2/11/11
to lusc...@googlegroups.com

Comment #8 on issue 123 by nuclear...@gmail.com: large files fail to

Here is my proposal to fix the problem.
Also it works more correct on 64bit/32bit platforms, IMHO strtol definition
is not very correct in this case, because long type is different on each of
them.


Attachments:
longfiles.patch 1.6 KB

codesite...@google.com

unread,
Jul 25, 2013, 5:59:49 AM7/25/13
to lusc...@googlegroups.com

Comment #9 on issue 123 by rusakpar...@gmail.com: large files fail to
hi, im newbie here, can i get step by step for this problem?.. i have same
problem T_T Please..


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages