I can not enter my blog. Nothing works at all! What to do?
Delivering huge documents
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Apache HTTP Server > Delivering huge documents 10 March 2005 04:09:16

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Delivering huge documents

Richard Crawford 10 March 2005 04:09:16
 We're having a problem delivering very large pdf documents to our
website users. I'm not sure that this is something I can address in the
httpd configuration, but I've toyed with the TimeOut directive in
httpd.conf. Am I on the right track?

--
Richard S. Crawford
Programmer III
UC Davis Extension Distance Education Group (http://unexdlc.ucd­avis.edu)
2901 K Street, Suite 200C
Sacramento, CA 95816
(916)327-7793


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Noah 9 March 2005 21:36:41 permanent link ]
 On Wed, Mar 09, 2005 at 10:31:21AM -0800, Richard Crawford wrote:> We're having a problem delivering very large pdf documents to our > website users. I'm not sure that this is something I can address in the > httpd configuration, but I've toyed with the TimeOut directive in > httpd.conf. Am I on the right track?

What exactly is the problem and what (if any) effect is this having on
Apache? =)

--n

--
<huey> dd of=/dev/fd0 if=/dev/flippy bs=1024
<huey> ^^^ Making Flippy Floppy


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Guest 9 March 2005 21:50:12 permanent link ]
 How are they being delivered? What OS/etc...

If it is being done through PHP, there is another configuration you would
have to change, etc...

You are on the right track, however you may have to look into more stuff.
-----Original Message-----> From: rcrawford@unexmail.­ucdavis.edu> [mailto:rcrawford@unexmail.ucdavis.edu]> Sent: Wednesday, March 09, 2005 1:31 PM> To: users@httpd.apache.­org> Subject: [users@httpd] Delivering huge documents>
We're having a problem delivering very large pdf documents to our> website users. I'm not sure that this is something I can address in the> httpd configuration, but I've toyed with the TimeOut directive in> httpd.conf. Am I on the right track?>
--> Richard S. Crawford> Programmer III> UC Davis Extension Distance Education Group (http://unexdlc.ucd­avis.edu)> 2901 K Street, Suite 200C> Sacramento, CA 95816> (916)327-7793>
-------------------­--------------------­--------------------­----------> The official User-To-User support forum of the Apache HTTP Server
Project.> See <URL:http://httpd.a­pache.org/userslist.­html> for more info.> To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org> " from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg> For additional commands, e-mail: users-help@httpd.ap­ache.org


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Richard Crawford 9 March 2005 22:02:28 permanent link ]
 Noah wrote:> On Wed, Mar 09, 2005 at 10:31:21AM -0800, Richard Crawford wrote:>
We're having a problem delivering very large pdf documents to our >>website users. I'm not sure that this is something I can address in the >>httpd configuration, but I've toyed with the TimeOut directive in >>httpd.conf. Am I on the right track?>
What exactly is the problem and what (if any) effect is this having on> Apache? =)

Sorry I wasn't clear. Got interrupted and sent the earlier message off
in a hurry.

We have a document which is a 1.5MB PDF document. For some of our
visitors, the download seems to stop before the full document is
delivered. I haven't been able to identify any common issues among the
visitors who are having the problems (though I suspect they're on a
dialup connection). The PDF itself seems to be have no problems, since
it's delivered just fine over broadband connections. This issue appears
to be browser-independent­ as well. I've also confirmed that the
affected users are using the most recent version of Acrobat Reader as well.

I had wondered if the TimeOut directive in my Apache httpd configuration
might be the culprit; I knew that in earlier versions, if a document was
too large, the TimeOut directive could cause Apache to stop delivering
huge documents if it took longer than the amount of time defined in
TimeOut. However, we're using Apache 2.0.45, and our TimeOut is set to
twenty minutes. Just to be on the super-safe side, I set the TimeOut to
two hours, though doing that makes me twitch.

Since we're using Cold Fusion, I also double-checked our timeout
configuration in Cold Fusion. It is disabled, as I set it up to be; I
enabled it and set it to twenty minutes, but I don't think this will
make a difference.

So, this is annoying me and it's costing us customers. I've also set my
KeepAliveTimout setting pretty high, but I don't know if that will have
an impact.

So, any suggestions would be greatly appreciated.



--
Richard S. Crawford
Programmer III
UC Davis Extension Distance Education Group (http://unexdlc.ucd­avis.edu)
2901 K Street, Suite 200C
Sacramento, CA 95816
(916)327-7793


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Richard Crawford 9 March 2005 22:05:25 permanent link ]
 PMilanese@nypl.org wrote:> How are they being delivered? What OS/etc...

Cold Fusion MX from JRun 4 on a Solaris 9 server.

If it is being done through PHP, there is another configuration you would> have to change, etc...

There's a similar configuration in Cold Fusion. I've already checkd it. :(­

You are on the right track, however you may have to look into more stuff.

I'm looking into the KeepAlive directives now....

--
Richard S. Crawford
Programmer III
UC Davis Extension Distance Education Group (http://unexdlc.ucd­avis.edu)
2901 K Street, Suite 200C
Sacramento, CA 95816
(916)327-7793


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Noah 10 March 2005 03:56:00 permanent link ]
 On Wed, Mar 09, 2005 at 11:02:28AM -0800, Richard Crawford wrote:
We have a document which is a 1.5MB PDF document. For some of our > visitors, the download seems to stop before the full document is > delivered. I haven't been able to identify any common issues among the > visitors who are having the problems (though I suspect they're on a > dialup connection). The PDF itself seems to be have no problems, since > it's delivered just fine over broadband connections. This issue appears > to be browser-independent­ as well. I've also confirmed that the > affected users are using the most recent version of Acrobat Reader as well.

My first suggestion is to look at your network and rule out the obvious;
problems with large file transfers are often caused by duplex
mismatches. Check your upstream switch stats for collisions on the port
your host is on. Linux's 'ifconfig' will also show you collisions (if
you're on linux). I'd expect the issue to affect all downloads of the
large file, but it's still good to rule out the easy stuff. =)

Does this affect other protocols as well? For instance, transferring large
files over FTP? Trying running an FTP server on the same box and serve the
same file to a client machine that exhibits this behavior. If the same thing
happens, it's not an application issue, so you get to start poking at things
from a network perspective. Does the transfer just stop dead, or does it slow
down over time and /then/ stop? In either case, you may should consider finding
a client that exhibits this behavior, sniffing the packets with tcpdump. Something
like:

tcpdump -s 1500 -w sniff.pcap port 80 and host $remote_ip

...where $remote_ip is the IP of the client.

Poke at the resulting file in ethereal (with TCP sequence analysis
on; Edit->Preferences->­Protocols->TCP) and see if you're
restransmitting packets. You may also want to check out TCPTrace
(http://www.tcptrac­e.org/).

--n

--
<huey> dd of=/dev/fd0 if=/dev/flippy bs=1024
<huey> ^^^ Making Flippy Floppy


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
Stuart Low 10 March 2005 04:09:16 permanent link ]
 
We have a document which is a 1.5MB PDF document. For some of our > > visitors, the download seems to stop before the full document is > > delivered. I haven't been able to identify any common issues among the > > visitors who are having the problems (though I suspect they're on a > > dialup connection). The PDF itself seems to be have no problems, since > > it's delivered just fine over broadband connections. This issue appears > > to be browser-independent­ as well. I've also confirmed that the > > affected users are using the most recent version of Acrobat Reader as well.

Just a random suggestion. Do you have mod_gzip compression enabled on
your Apache install? We had the same problem and ended up having to add
a manual whitelist so that .pdf wasn't gzip compressed.

Stuart


-------------------­--------------------­--------------------­----------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.a­pache.org/userslist.­html> for more info.
To unsubscribe, e-mail: users-unsubscribe@h­ttpd.apache.org
" from the digest: users-digest-unsubs­cribe@httpd.apache.o­rg
For additional commands, e-mail: users-help@httpd.ap­ache.org


Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Apache HTTP Server > Delivering huge documents 10 March 2005 04:09:16

see also:
CF AJAX implementations
cfqueryparam breaking query
Aftershock Forum BETA Invitation
пройди тесты:
see also:
Vendor unveils USB Serial-ATA dongle
Elecom Offers Advanced 3D Laser Mouse
NEC Electronics ships dual-format DVD…

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .