Hi, all.
I am using lighttpd 1.4.12 + mod_proxy in front of apache
2.2.3 on
FreeBSD 6.1 and I have problems with large files download.
Apparently lighttpd caches the whole requested file in
memory and only
then serves it to the client.
If the file is like 250MB that means like 30s of waiting
before client
can click "Save to" in browser (because of that a
lot of impatient
people click more times on the file and kill the server).
I've been reading blog and wiki, but writev and
freebsd-sendfile don't help.
Is there any chance to avoid that?
Maybe for the refference...this does not occur with squid
proxy, but my
intention is to use lightty.
Thank you for help.
Regards,
Tomas
|