|
Re: windows clients slow transfering files to apache/linux server: msg#00017apache.mod-ssl.user
I think this could have to do with the size your socket send buffer is. This buffer is the number of bytes the network can support without beeing acknoledged from remote side. If your buffer is small, your software will have to wait more times untill all that (few) bytes are acknoledged from remote side. The ideal situation is to have as much bytes "flying" on the network as it can support so you must increase that buffer size. On Linux it may be larger than on Windows, so transfer will be faster. You can adjust that size in your app with the setsockopt( ) function after the socket( ) call. Hope this helps Pablo J.Royo http://spipe.sourceforge.net ----- Original Message ----- From: "kernel" <kernel@xxxxxxxxxxxx> To: <modssl-users@xxxxxxxxxx> Sent: Friday, January 14, 2005 7:26 PM Subject: windows clients slow transfering files to apache/linux server > I've run into a problem when using windows clients to transfer files to > an apache/linux server. We use an in-house windows app which calls a cgi > located on the server and transfers a file to it. The problem we're > having is the transfer speed is almost a 3rd of what it should be (1mb > file = 16 sec). We put up a simple cgi which allows the client to choose > a file and upload it to the server to determine if it was our > application or something with apache/windows . We're getting the same > slow upload results. We've run this test from multiple locations each > with a dedicated T-1 with no other traffic and the results are > consitant. If we use a Linux box, we get the full T-1 speed (1mb file = > 6sec). If we don't use https, we get 6 second times with Win98 but 16 > second times with Win 2000pro. We are able to download files from this > server with no problem. When testing from home, I'm able to get the full > 2meg download speed. > > Apache 1.3.33 > Kernel 2.4.21-4.EL > > We've tried both perl and c++ CGIs. > > Any ideas ?? > Thanks walt ! > > ______________________________________________________________________ > Apache Interface to OpenSSL (mod_ssl) www.modssl.org > User Support Mailing List modssl-users@xxxxxxxxxx > Automated List Manager majordomo@xxxxxxxxxx > ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List modssl-users@xxxxxxxxxx Automated List Manager majordomo@xxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | windows clients slow transfering files to apache/linux server: 00017, kernel |
|---|---|
| Next by Date: | mod_ssl environment variables: 00017, Jason Kaskel |
| Previous by Thread: | windows clients slow transfering files to apache/linux serveri: 00017, kernel |
| Next by Thread: | mod_ssl environment variables: 00017, Jason Kaskel |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |